You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Licensed under the Apache License, Version 2.0 (the "License");
4
+
# you may not use this file except in compliance with the License.
5
+
# You may obtain a copy of the License at
6
+
#
7
+
# http://www.apache.org/licenses/LICENSE-2.0
8
+
#
9
+
# Unless required by applicable law or agreed to in writing, software
10
+
# distributed under the License is distributed on an "AS IS" BASIS,
11
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+
# See the License for the specific language governing permissions and
13
+
# limitations under the License.
14
+
15
+
# generated by datamodel-codegen
16
+
# pylint: disable=all
17
+
# pyformat: disable
18
+
19
+
from __future__ importannotations
20
+
21
+
fromtypingimportAnnotated
22
+
23
+
frompydanticimportField
24
+
fromtyping_extensionsimportTypeAliasType
25
+
26
+
ErrorCodeCreateRequest=TypeAliasType(
27
+
"ErrorCodeCreateRequest",
28
+
Annotated[
29
+
str,
30
+
Field(
31
+
...,
32
+
examples=[
33
+
"not_found",
34
+
"out_of_stock",
35
+
"item_unavailable",
36
+
"address_undeliverable",
37
+
"payment_failed",
38
+
"eligibility_invalid",
39
+
"identity_required",
40
+
"insufficient_scope",
41
+
],
42
+
title="Error Code Create Request",
43
+
),
44
+
],
45
+
)
46
+
"""
47
+
Error code identifying the type of error. Standard errors are defined in specification (see examples), and have standardized semantics; freeform codes are permitted.
# Licensed under the Apache License, Version 2.0 (the "License");
4
+
# you may not use this file except in compliance with the License.
5
+
# You may obtain a copy of the License at
6
+
#
7
+
# http://www.apache.org/licenses/LICENSE-2.0
8
+
#
9
+
# Unless required by applicable law or agreed to in writing, software
10
+
# distributed under the License is distributed on an "AS IS" BASIS,
11
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+
# See the License for the specific language governing permissions and
13
+
# limitations under the License.
14
+
15
+
# generated by datamodel-codegen
16
+
# pylint: disable=all
17
+
# pyformat: disable
18
+
19
+
from __future__ importannotations
20
+
21
+
fromtypingimportAnnotated
22
+
23
+
frompydanticimportField
24
+
fromtyping_extensionsimportTypeAliasType
25
+
26
+
ErrorCodeUpdateRequest=TypeAliasType(
27
+
"ErrorCodeUpdateRequest",
28
+
Annotated[
29
+
str,
30
+
Field(
31
+
...,
32
+
examples=[
33
+
"not_found",
34
+
"out_of_stock",
35
+
"item_unavailable",
36
+
"address_undeliverable",
37
+
"payment_failed",
38
+
"eligibility_invalid",
39
+
"identity_required",
40
+
"insufficient_scope",
41
+
],
42
+
title="Error Code Update Request",
43
+
),
44
+
],
45
+
)
46
+
"""
47
+
Error code identifying the type of error. Standard errors are defined in specification (see examples), and have standardized semantics; freeform codes are permitted.
# Licensed under the Apache License, Version 2.0 (the "License");
4
+
# you may not use this file except in compliance with the License.
5
+
# You may obtain a copy of the License at
6
+
#
7
+
# http://www.apache.org/licenses/LICENSE-2.0
8
+
#
9
+
# Unless required by applicable law or agreed to in writing, software
10
+
# distributed under the License is distributed on an "AS IS" BASIS,
11
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+
# See the License for the specific language governing permissions and
13
+
# limitations under the License.
14
+
15
+
# generated by datamodel-codegen
16
+
# pylint: disable=all
17
+
# pyformat: disable
18
+
19
+
from __future__ importannotations
20
+
21
+
fromtypingimportAnnotated
22
+
23
+
frompydanticimportField
24
+
fromtyping_extensionsimportTypeAliasType
25
+
26
+
InfoCodeCreateRequest=TypeAliasType(
27
+
"InfoCodeCreateRequest",
28
+
Annotated[
29
+
str,
30
+
Field(
31
+
...,
32
+
examples=[
33
+
"identity_optional",
34
+
"signal",
35
+
"free_shipping",
36
+
"not_found",
37
+
],
38
+
title="Info Code Create Request",
39
+
),
40
+
],
41
+
)
42
+
"""
43
+
Info code identifying the type of informational message. Standard codes are defined in capability specs (see examples), and have standardized semantics; freeform codes are permitted.
0 commit comments