@channel.io/app-sdk-core 0.23.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions/commerce.d.ts +2268 -411
- package/dist/extensions/commerce.d.ts.map +1 -1
- package/dist/extensions/commerce.js +103 -4
- package/dist/extensions/commerce.js.map +1 -1
- package/dist/extensions/hook.d.ts +197 -2
- package/dist/extensions/hook.d.ts.map +1 -1
- package/dist/extensions/hook.js +60 -0
- package/dist/extensions/hook.js.map +1 -1
- package/dist/extensions/index.d.ts +3 -3
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +3 -3
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/messaging.d.ts +9 -0
- package/dist/extensions/messaging.d.ts.map +1 -1
- package/dist/extensions/messaging.js +1 -0
- package/dist/extensions/messaging.js.map +1 -1
- package/dist/extensions/order.d.ts +442 -149
- package/dist/extensions/order.d.ts.map +1 -1
- package/dist/extensions/order.js +82 -9
- package/dist/extensions/order.js.map +1 -1
- package/dist/extensions/wms.d.ts +5 -0
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +4 -4
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +260 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +2573 -150
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +149 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
|
@@ -14838,8 +14838,10 @@ export declare const OrderAddressProtoSchema: z.ZodObject<{
|
|
|
14838
14838
|
country: z.ZodOptional<z.ZodString>;
|
|
14839
14839
|
city: z.ZodOptional<z.ZodString>;
|
|
14840
14840
|
province: z.ZodOptional<z.ZodString>;
|
|
14841
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
14841
14842
|
}, "strip", z.ZodTypeAny, {
|
|
14842
14843
|
email?: string | undefined;
|
|
14844
|
+
countryCode?: string | undefined;
|
|
14843
14845
|
address1?: string | undefined;
|
|
14844
14846
|
address2?: string | undefined;
|
|
14845
14847
|
firstName?: string | undefined;
|
|
@@ -14853,6 +14855,7 @@ export declare const OrderAddressProtoSchema: z.ZodObject<{
|
|
|
14853
14855
|
province?: string | undefined;
|
|
14854
14856
|
}, {
|
|
14855
14857
|
email?: string | undefined;
|
|
14858
|
+
countryCode?: string | undefined;
|
|
14856
14859
|
address1?: string | undefined;
|
|
14857
14860
|
address2?: string | undefined;
|
|
14858
14861
|
firstName?: string | undefined;
|
|
@@ -14907,16 +14910,28 @@ export declare const OrderClaimabilityProtoSchema: z.ZodObject<{
|
|
|
14907
14910
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
14908
14911
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
14909
14912
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
14913
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
14914
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
14915
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
14916
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
14910
14917
|
}, "strip", z.ZodTypeAny, {
|
|
14911
14918
|
cancelable?: boolean | undefined;
|
|
14912
14919
|
returnable?: boolean | undefined;
|
|
14913
14920
|
exchangeable?: boolean | undefined;
|
|
14914
14921
|
shippingAddressChangeable?: boolean | undefined;
|
|
14922
|
+
nonCancelableReason?: string | undefined;
|
|
14923
|
+
nonReturnableReason?: string | undefined;
|
|
14924
|
+
nonExchangeableReason?: string | undefined;
|
|
14925
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
14915
14926
|
}, {
|
|
14916
14927
|
cancelable?: boolean | undefined;
|
|
14917
14928
|
returnable?: boolean | undefined;
|
|
14918
14929
|
exchangeable?: boolean | undefined;
|
|
14919
14930
|
shippingAddressChangeable?: boolean | undefined;
|
|
14931
|
+
nonCancelableReason?: string | undefined;
|
|
14932
|
+
nonReturnableReason?: string | undefined;
|
|
14933
|
+
nonExchangeableReason?: string | undefined;
|
|
14934
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
14920
14935
|
}>;
|
|
14921
14936
|
export type OrderClaimabilityProto = z.infer<typeof OrderClaimabilityProtoSchema>;
|
|
14922
14937
|
export declare const OrderClaimProtoSchema: z.ZodObject<{
|
|
@@ -14960,16 +14975,28 @@ export declare const OrderItemProtoSchema: z.ZodObject<{
|
|
|
14960
14975
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
14961
14976
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
14962
14977
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
14978
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
14979
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
14980
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
14981
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
14963
14982
|
}, "strip", z.ZodTypeAny, {
|
|
14964
14983
|
cancelable?: boolean | undefined;
|
|
14965
14984
|
returnable?: boolean | undefined;
|
|
14966
14985
|
exchangeable?: boolean | undefined;
|
|
14967
14986
|
shippingAddressChangeable?: boolean | undefined;
|
|
14987
|
+
nonCancelableReason?: string | undefined;
|
|
14988
|
+
nonReturnableReason?: string | undefined;
|
|
14989
|
+
nonExchangeableReason?: string | undefined;
|
|
14990
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
14968
14991
|
}, {
|
|
14969
14992
|
cancelable?: boolean | undefined;
|
|
14970
14993
|
returnable?: boolean | undefined;
|
|
14971
14994
|
exchangeable?: boolean | undefined;
|
|
14972
14995
|
shippingAddressChangeable?: boolean | undefined;
|
|
14996
|
+
nonCancelableReason?: string | undefined;
|
|
14997
|
+
nonReturnableReason?: string | undefined;
|
|
14998
|
+
nonExchangeableReason?: string | undefined;
|
|
14999
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
14973
15000
|
}>>>;
|
|
14974
15001
|
}, "strip", z.ZodTypeAny, {
|
|
14975
15002
|
name?: string | undefined;
|
|
@@ -14989,6 +15016,10 @@ export declare const OrderItemProtoSchema: z.ZodObject<{
|
|
|
14989
15016
|
returnable?: boolean | undefined;
|
|
14990
15017
|
exchangeable?: boolean | undefined;
|
|
14991
15018
|
shippingAddressChangeable?: boolean | undefined;
|
|
15019
|
+
nonCancelableReason?: string | undefined;
|
|
15020
|
+
nonReturnableReason?: string | undefined;
|
|
15021
|
+
nonExchangeableReason?: string | undefined;
|
|
15022
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
14992
15023
|
} | undefined;
|
|
14993
15024
|
}, {
|
|
14994
15025
|
name?: string | undefined;
|
|
@@ -15008,6 +15039,10 @@ export declare const OrderItemProtoSchema: z.ZodObject<{
|
|
|
15008
15039
|
returnable?: boolean | undefined;
|
|
15009
15040
|
exchangeable?: boolean | undefined;
|
|
15010
15041
|
shippingAddressChangeable?: boolean | undefined;
|
|
15042
|
+
nonCancelableReason?: string | undefined;
|
|
15043
|
+
nonReturnableReason?: string | undefined;
|
|
15044
|
+
nonExchangeableReason?: string | undefined;
|
|
15045
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15011
15046
|
} | undefined;
|
|
15012
15047
|
}>;
|
|
15013
15048
|
export type OrderItemProto = z.infer<typeof OrderItemProtoSchema>;
|
|
@@ -15020,6 +15055,11 @@ export declare const OrderPaymentProtoSchema: z.ZodObject<{
|
|
|
15020
15055
|
discountAmount: z.ZodOptional<z.ZodNumber>;
|
|
15021
15056
|
methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15022
15057
|
requireRefundBankAccount: z.ZodOptional<z.ZodBoolean>;
|
|
15058
|
+
taxAmount: z.ZodOptional<z.ZodNumber>;
|
|
15059
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
15060
|
+
creditAmount: z.ZodOptional<z.ZodNumber>;
|
|
15061
|
+
couponDiscountAmount: z.ZodOptional<z.ZodNumber>;
|
|
15062
|
+
dueAmount: z.ZodOptional<z.ZodNumber>;
|
|
15023
15063
|
}, "strip", z.ZodTypeAny, {
|
|
15024
15064
|
state?: string | undefined;
|
|
15025
15065
|
currency?: string | undefined;
|
|
@@ -15029,6 +15069,11 @@ export declare const OrderPaymentProtoSchema: z.ZodObject<{
|
|
|
15029
15069
|
discountAmount?: number | undefined;
|
|
15030
15070
|
methods?: string[] | undefined;
|
|
15031
15071
|
requireRefundBankAccount?: boolean | undefined;
|
|
15072
|
+
taxAmount?: number | undefined;
|
|
15073
|
+
pointAmount?: number | undefined;
|
|
15074
|
+
creditAmount?: number | undefined;
|
|
15075
|
+
couponDiscountAmount?: number | undefined;
|
|
15076
|
+
dueAmount?: number | undefined;
|
|
15032
15077
|
}, {
|
|
15033
15078
|
state?: string | undefined;
|
|
15034
15079
|
currency?: string | undefined;
|
|
@@ -15038,6 +15083,11 @@ export declare const OrderPaymentProtoSchema: z.ZodObject<{
|
|
|
15038
15083
|
discountAmount?: number | undefined;
|
|
15039
15084
|
methods?: string[] | undefined;
|
|
15040
15085
|
requireRefundBankAccount?: boolean | undefined;
|
|
15086
|
+
taxAmount?: number | undefined;
|
|
15087
|
+
pointAmount?: number | undefined;
|
|
15088
|
+
creditAmount?: number | undefined;
|
|
15089
|
+
couponDiscountAmount?: number | undefined;
|
|
15090
|
+
dueAmount?: number | undefined;
|
|
15041
15091
|
}>;
|
|
15042
15092
|
export type OrderPaymentProto = z.infer<typeof OrderPaymentProtoSchema>;
|
|
15043
15093
|
export declare const OrderFulfillmentProtoSchema: z.ZodObject<{
|
|
@@ -15048,24 +15098,178 @@ export declare const OrderFulfillmentProtoSchema: z.ZodObject<{
|
|
|
15048
15098
|
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
15049
15099
|
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
15050
15100
|
estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
|
|
15101
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
15102
|
+
items: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
15103
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
15104
|
+
state: z.ZodOptional<z.ZodString>;
|
|
15105
|
+
}, "strip", z.ZodTypeAny, {
|
|
15106
|
+
state?: string | undefined;
|
|
15107
|
+
itemId?: string | undefined;
|
|
15108
|
+
}, {
|
|
15109
|
+
state?: string | undefined;
|
|
15110
|
+
itemId?: string | undefined;
|
|
15111
|
+
}>>, "many">>;
|
|
15051
15112
|
}, "strip", z.ZodTypeAny, {
|
|
15052
15113
|
id?: string | undefined;
|
|
15114
|
+
items?: {
|
|
15115
|
+
state?: string | undefined;
|
|
15116
|
+
itemId?: string | undefined;
|
|
15117
|
+
}[] | undefined;
|
|
15053
15118
|
state?: string | undefined;
|
|
15054
15119
|
itemIds?: string[] | undefined;
|
|
15055
15120
|
trackingNumber?: string | undefined;
|
|
15056
15121
|
trackingCompany?: string | undefined;
|
|
15057
15122
|
trackingUrl?: string | undefined;
|
|
15058
15123
|
estimatedDeliveryDate?: number | undefined;
|
|
15124
|
+
trackingCompanyName?: string | undefined;
|
|
15059
15125
|
}, {
|
|
15060
15126
|
id?: string | undefined;
|
|
15127
|
+
items?: {
|
|
15128
|
+
state?: string | undefined;
|
|
15129
|
+
itemId?: string | undefined;
|
|
15130
|
+
}[] | undefined;
|
|
15061
15131
|
state?: string | undefined;
|
|
15062
15132
|
itemIds?: string[] | undefined;
|
|
15063
15133
|
trackingNumber?: string | undefined;
|
|
15064
15134
|
trackingCompany?: string | undefined;
|
|
15065
15135
|
trackingUrl?: string | undefined;
|
|
15066
15136
|
estimatedDeliveryDate?: number | undefined;
|
|
15137
|
+
trackingCompanyName?: string | undefined;
|
|
15067
15138
|
}>;
|
|
15068
15139
|
export type OrderFulfillmentProto = z.infer<typeof OrderFulfillmentProtoSchema>;
|
|
15140
|
+
export declare const OrderFulfillmentItemProtoSchema: z.ZodObject<{
|
|
15141
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
15142
|
+
state: z.ZodOptional<z.ZodString>;
|
|
15143
|
+
}, "strip", z.ZodTypeAny, {
|
|
15144
|
+
state?: string | undefined;
|
|
15145
|
+
itemId?: string | undefined;
|
|
15146
|
+
}, {
|
|
15147
|
+
state?: string | undefined;
|
|
15148
|
+
itemId?: string | undefined;
|
|
15149
|
+
}>;
|
|
15150
|
+
export type OrderFulfillmentItemProto = z.infer<typeof OrderFulfillmentItemProtoSchema>;
|
|
15151
|
+
export declare const OrderTaxLineProtoSchema: z.ZodObject<{
|
|
15152
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
15153
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
15154
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15155
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
15156
|
+
}, "strip", z.ZodTypeAny, {
|
|
15157
|
+
title?: string | undefined;
|
|
15158
|
+
amount?: number | undefined;
|
|
15159
|
+
rate?: number | undefined;
|
|
15160
|
+
ratePercentage?: number | undefined;
|
|
15161
|
+
}, {
|
|
15162
|
+
title?: string | undefined;
|
|
15163
|
+
amount?: number | undefined;
|
|
15164
|
+
rate?: number | undefined;
|
|
15165
|
+
ratePercentage?: number | undefined;
|
|
15166
|
+
}>;
|
|
15167
|
+
export type OrderTaxLineProto = z.infer<typeof OrderTaxLineProtoSchema>;
|
|
15168
|
+
export declare const OrderAttributeProtoSchema: z.ZodObject<{
|
|
15169
|
+
key: z.ZodOptional<z.ZodString>;
|
|
15170
|
+
value: z.ZodOptional<z.ZodString>;
|
|
15171
|
+
}, "strip", z.ZodTypeAny, {
|
|
15172
|
+
value?: string | undefined;
|
|
15173
|
+
key?: string | undefined;
|
|
15174
|
+
}, {
|
|
15175
|
+
value?: string | undefined;
|
|
15176
|
+
key?: string | undefined;
|
|
15177
|
+
}>;
|
|
15178
|
+
export type OrderAttributeProto = z.infer<typeof OrderAttributeProtoSchema>;
|
|
15179
|
+
export declare const OrderShippingLineProtoSchema: z.ZodObject<{
|
|
15180
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15181
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15182
|
+
code: z.ZodOptional<z.ZodString>;
|
|
15183
|
+
carrierIdentifier: z.ZodOptional<z.ZodString>;
|
|
15184
|
+
taxLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
15185
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
15186
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
15187
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15188
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
15189
|
+
}, "strip", z.ZodTypeAny, {
|
|
15190
|
+
title?: string | undefined;
|
|
15191
|
+
amount?: number | undefined;
|
|
15192
|
+
rate?: number | undefined;
|
|
15193
|
+
ratePercentage?: number | undefined;
|
|
15194
|
+
}, {
|
|
15195
|
+
title?: string | undefined;
|
|
15196
|
+
amount?: number | undefined;
|
|
15197
|
+
rate?: number | undefined;
|
|
15198
|
+
ratePercentage?: number | undefined;
|
|
15199
|
+
}>>, "many">>;
|
|
15200
|
+
}, "strip", z.ZodTypeAny, {
|
|
15201
|
+
code?: string | undefined;
|
|
15202
|
+
id?: string | undefined;
|
|
15203
|
+
title?: string | undefined;
|
|
15204
|
+
carrierIdentifier?: string | undefined;
|
|
15205
|
+
taxLines?: {
|
|
15206
|
+
title?: string | undefined;
|
|
15207
|
+
amount?: number | undefined;
|
|
15208
|
+
rate?: number | undefined;
|
|
15209
|
+
ratePercentage?: number | undefined;
|
|
15210
|
+
}[] | undefined;
|
|
15211
|
+
}, {
|
|
15212
|
+
code?: string | undefined;
|
|
15213
|
+
id?: string | undefined;
|
|
15214
|
+
title?: string | undefined;
|
|
15215
|
+
carrierIdentifier?: string | undefined;
|
|
15216
|
+
taxLines?: {
|
|
15217
|
+
title?: string | undefined;
|
|
15218
|
+
amount?: number | undefined;
|
|
15219
|
+
rate?: number | undefined;
|
|
15220
|
+
ratePercentage?: number | undefined;
|
|
15221
|
+
}[] | undefined;
|
|
15222
|
+
}>;
|
|
15223
|
+
export type OrderShippingLineProto = z.infer<typeof OrderShippingLineProtoSchema>;
|
|
15224
|
+
export declare const OrderTransactionProtoSchema: z.ZodObject<{
|
|
15225
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15226
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
15227
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
15228
|
+
status: z.ZodOptional<z.ZodString>;
|
|
15229
|
+
gateway: z.ZodOptional<z.ZodString>;
|
|
15230
|
+
manualPaymentGateway: z.ZodOptional<z.ZodBoolean>;
|
|
15231
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
15232
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
15233
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
15234
|
+
}, "strip", z.ZodTypeAny, {
|
|
15235
|
+
status?: string | undefined;
|
|
15236
|
+
id?: string | undefined;
|
|
15237
|
+
kind?: string | undefined;
|
|
15238
|
+
createdAt?: number | undefined;
|
|
15239
|
+
amount?: number | undefined;
|
|
15240
|
+
currency?: string | undefined;
|
|
15241
|
+
parentId?: string | undefined;
|
|
15242
|
+
gateway?: string | undefined;
|
|
15243
|
+
manualPaymentGateway?: boolean | undefined;
|
|
15244
|
+
}, {
|
|
15245
|
+
status?: string | undefined;
|
|
15246
|
+
id?: string | undefined;
|
|
15247
|
+
kind?: string | undefined;
|
|
15248
|
+
createdAt?: number | undefined;
|
|
15249
|
+
amount?: number | undefined;
|
|
15250
|
+
currency?: string | undefined;
|
|
15251
|
+
parentId?: string | undefined;
|
|
15252
|
+
gateway?: string | undefined;
|
|
15253
|
+
manualPaymentGateway?: boolean | undefined;
|
|
15254
|
+
}>;
|
|
15255
|
+
export type OrderTransactionProto = z.infer<typeof OrderTransactionProtoSchema>;
|
|
15256
|
+
export declare const OrderMetafieldProtoSchema: z.ZodObject<{
|
|
15257
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
15258
|
+
key: z.ZodOptional<z.ZodString>;
|
|
15259
|
+
value: z.ZodOptional<z.ZodString>;
|
|
15260
|
+
type: z.ZodOptional<z.ZodString>;
|
|
15261
|
+
}, "strip", z.ZodTypeAny, {
|
|
15262
|
+
type?: string | undefined;
|
|
15263
|
+
value?: string | undefined;
|
|
15264
|
+
key?: string | undefined;
|
|
15265
|
+
namespace?: string | undefined;
|
|
15266
|
+
}, {
|
|
15267
|
+
type?: string | undefined;
|
|
15268
|
+
value?: string | undefined;
|
|
15269
|
+
key?: string | undefined;
|
|
15270
|
+
namespace?: string | undefined;
|
|
15271
|
+
}>;
|
|
15272
|
+
export type OrderMetafieldProto = z.infer<typeof OrderMetafieldProtoSchema>;
|
|
15069
15273
|
export declare const OrderProtoSchema: z.ZodObject<{
|
|
15070
15274
|
id: z.ZodOptional<z.ZodString>;
|
|
15071
15275
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -15088,16 +15292,28 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15088
15292
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
15089
15293
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
15090
15294
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
15295
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
15296
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
15297
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
15298
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
15091
15299
|
}, "strip", z.ZodTypeAny, {
|
|
15092
15300
|
cancelable?: boolean | undefined;
|
|
15093
15301
|
returnable?: boolean | undefined;
|
|
15094
15302
|
exchangeable?: boolean | undefined;
|
|
15095
15303
|
shippingAddressChangeable?: boolean | undefined;
|
|
15304
|
+
nonCancelableReason?: string | undefined;
|
|
15305
|
+
nonReturnableReason?: string | undefined;
|
|
15306
|
+
nonExchangeableReason?: string | undefined;
|
|
15307
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15096
15308
|
}, {
|
|
15097
15309
|
cancelable?: boolean | undefined;
|
|
15098
15310
|
returnable?: boolean | undefined;
|
|
15099
15311
|
exchangeable?: boolean | undefined;
|
|
15100
15312
|
shippingAddressChangeable?: boolean | undefined;
|
|
15313
|
+
nonCancelableReason?: string | undefined;
|
|
15314
|
+
nonReturnableReason?: string | undefined;
|
|
15315
|
+
nonExchangeableReason?: string | undefined;
|
|
15316
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15101
15317
|
}>>>;
|
|
15102
15318
|
}, "strip", z.ZodTypeAny, {
|
|
15103
15319
|
name?: string | undefined;
|
|
@@ -15117,6 +15333,10 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15117
15333
|
returnable?: boolean | undefined;
|
|
15118
15334
|
exchangeable?: boolean | undefined;
|
|
15119
15335
|
shippingAddressChangeable?: boolean | undefined;
|
|
15336
|
+
nonCancelableReason?: string | undefined;
|
|
15337
|
+
nonReturnableReason?: string | undefined;
|
|
15338
|
+
nonExchangeableReason?: string | undefined;
|
|
15339
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15120
15340
|
} | undefined;
|
|
15121
15341
|
}, {
|
|
15122
15342
|
name?: string | undefined;
|
|
@@ -15136,6 +15356,10 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15136
15356
|
returnable?: boolean | undefined;
|
|
15137
15357
|
exchangeable?: boolean | undefined;
|
|
15138
15358
|
shippingAddressChangeable?: boolean | undefined;
|
|
15359
|
+
nonCancelableReason?: string | undefined;
|
|
15360
|
+
nonReturnableReason?: string | undefined;
|
|
15361
|
+
nonExchangeableReason?: string | undefined;
|
|
15362
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15139
15363
|
} | undefined;
|
|
15140
15364
|
}>>, "many">>;
|
|
15141
15365
|
payment: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
@@ -15147,6 +15371,11 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15147
15371
|
discountAmount: z.ZodOptional<z.ZodNumber>;
|
|
15148
15372
|
methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15149
15373
|
requireRefundBankAccount: z.ZodOptional<z.ZodBoolean>;
|
|
15374
|
+
taxAmount: z.ZodOptional<z.ZodNumber>;
|
|
15375
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
15376
|
+
creditAmount: z.ZodOptional<z.ZodNumber>;
|
|
15377
|
+
couponDiscountAmount: z.ZodOptional<z.ZodNumber>;
|
|
15378
|
+
dueAmount: z.ZodOptional<z.ZodNumber>;
|
|
15150
15379
|
}, "strip", z.ZodTypeAny, {
|
|
15151
15380
|
state?: string | undefined;
|
|
15152
15381
|
currency?: string | undefined;
|
|
@@ -15156,6 +15385,11 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15156
15385
|
discountAmount?: number | undefined;
|
|
15157
15386
|
methods?: string[] | undefined;
|
|
15158
15387
|
requireRefundBankAccount?: boolean | undefined;
|
|
15388
|
+
taxAmount?: number | undefined;
|
|
15389
|
+
pointAmount?: number | undefined;
|
|
15390
|
+
creditAmount?: number | undefined;
|
|
15391
|
+
couponDiscountAmount?: number | undefined;
|
|
15392
|
+
dueAmount?: number | undefined;
|
|
15159
15393
|
}, {
|
|
15160
15394
|
state?: string | undefined;
|
|
15161
15395
|
currency?: string | undefined;
|
|
@@ -15165,6 +15399,11 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15165
15399
|
discountAmount?: number | undefined;
|
|
15166
15400
|
methods?: string[] | undefined;
|
|
15167
15401
|
requireRefundBankAccount?: boolean | undefined;
|
|
15402
|
+
taxAmount?: number | undefined;
|
|
15403
|
+
pointAmount?: number | undefined;
|
|
15404
|
+
creditAmount?: number | undefined;
|
|
15405
|
+
couponDiscountAmount?: number | undefined;
|
|
15406
|
+
dueAmount?: number | undefined;
|
|
15168
15407
|
}>>>;
|
|
15169
15408
|
fulfillments: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
15170
15409
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -15174,22 +15413,43 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15174
15413
|
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
15175
15414
|
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
15176
15415
|
estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
|
|
15416
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
15417
|
+
items: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
15418
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
15419
|
+
state: z.ZodOptional<z.ZodString>;
|
|
15420
|
+
}, "strip", z.ZodTypeAny, {
|
|
15421
|
+
state?: string | undefined;
|
|
15422
|
+
itemId?: string | undefined;
|
|
15423
|
+
}, {
|
|
15424
|
+
state?: string | undefined;
|
|
15425
|
+
itemId?: string | undefined;
|
|
15426
|
+
}>>, "many">>;
|
|
15177
15427
|
}, "strip", z.ZodTypeAny, {
|
|
15178
15428
|
id?: string | undefined;
|
|
15429
|
+
items?: {
|
|
15430
|
+
state?: string | undefined;
|
|
15431
|
+
itemId?: string | undefined;
|
|
15432
|
+
}[] | undefined;
|
|
15179
15433
|
state?: string | undefined;
|
|
15180
15434
|
itemIds?: string[] | undefined;
|
|
15181
15435
|
trackingNumber?: string | undefined;
|
|
15182
15436
|
trackingCompany?: string | undefined;
|
|
15183
15437
|
trackingUrl?: string | undefined;
|
|
15184
15438
|
estimatedDeliveryDate?: number | undefined;
|
|
15439
|
+
trackingCompanyName?: string | undefined;
|
|
15185
15440
|
}, {
|
|
15186
15441
|
id?: string | undefined;
|
|
15442
|
+
items?: {
|
|
15443
|
+
state?: string | undefined;
|
|
15444
|
+
itemId?: string | undefined;
|
|
15445
|
+
}[] | undefined;
|
|
15187
15446
|
state?: string | undefined;
|
|
15188
15447
|
itemIds?: string[] | undefined;
|
|
15189
15448
|
trackingNumber?: string | undefined;
|
|
15190
15449
|
trackingCompany?: string | undefined;
|
|
15191
15450
|
trackingUrl?: string | undefined;
|
|
15192
15451
|
estimatedDeliveryDate?: number | undefined;
|
|
15452
|
+
trackingCompanyName?: string | undefined;
|
|
15193
15453
|
}>>, "many">>;
|
|
15194
15454
|
shippingAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
15195
15455
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -15204,8 +15464,10 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15204
15464
|
country: z.ZodOptional<z.ZodString>;
|
|
15205
15465
|
city: z.ZodOptional<z.ZodString>;
|
|
15206
15466
|
province: z.ZodOptional<z.ZodString>;
|
|
15467
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
15207
15468
|
}, "strip", z.ZodTypeAny, {
|
|
15208
15469
|
email?: string | undefined;
|
|
15470
|
+
countryCode?: string | undefined;
|
|
15209
15471
|
address1?: string | undefined;
|
|
15210
15472
|
address2?: string | undefined;
|
|
15211
15473
|
firstName?: string | undefined;
|
|
@@ -15219,6 +15481,7 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15219
15481
|
province?: string | undefined;
|
|
15220
15482
|
}, {
|
|
15221
15483
|
email?: string | undefined;
|
|
15484
|
+
countryCode?: string | undefined;
|
|
15222
15485
|
address1?: string | undefined;
|
|
15223
15486
|
address2?: string | undefined;
|
|
15224
15487
|
firstName?: string | undefined;
|
|
@@ -15274,6 +15537,10 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15274
15537
|
returnable?: boolean | undefined;
|
|
15275
15538
|
exchangeable?: boolean | undefined;
|
|
15276
15539
|
shippingAddressChangeable?: boolean | undefined;
|
|
15540
|
+
nonCancelableReason?: string | undefined;
|
|
15541
|
+
nonReturnableReason?: string | undefined;
|
|
15542
|
+
nonExchangeableReason?: string | undefined;
|
|
15543
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15277
15544
|
} | undefined;
|
|
15278
15545
|
}[] | undefined;
|
|
15279
15546
|
createdAt?: number | undefined;
|
|
@@ -15286,18 +15553,29 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15286
15553
|
discountAmount?: number | undefined;
|
|
15287
15554
|
methods?: string[] | undefined;
|
|
15288
15555
|
requireRefundBankAccount?: boolean | undefined;
|
|
15556
|
+
taxAmount?: number | undefined;
|
|
15557
|
+
pointAmount?: number | undefined;
|
|
15558
|
+
creditAmount?: number | undefined;
|
|
15559
|
+
couponDiscountAmount?: number | undefined;
|
|
15560
|
+
dueAmount?: number | undefined;
|
|
15289
15561
|
} | undefined;
|
|
15290
15562
|
fulfillments?: {
|
|
15291
15563
|
id?: string | undefined;
|
|
15564
|
+
items?: {
|
|
15565
|
+
state?: string | undefined;
|
|
15566
|
+
itemId?: string | undefined;
|
|
15567
|
+
}[] | undefined;
|
|
15292
15568
|
state?: string | undefined;
|
|
15293
15569
|
itemIds?: string[] | undefined;
|
|
15294
15570
|
trackingNumber?: string | undefined;
|
|
15295
15571
|
trackingCompany?: string | undefined;
|
|
15296
15572
|
trackingUrl?: string | undefined;
|
|
15297
15573
|
estimatedDeliveryDate?: number | undefined;
|
|
15574
|
+
trackingCompanyName?: string | undefined;
|
|
15298
15575
|
}[] | undefined;
|
|
15299
15576
|
shippingAddress?: {
|
|
15300
15577
|
email?: string | undefined;
|
|
15578
|
+
countryCode?: string | undefined;
|
|
15301
15579
|
address1?: string | undefined;
|
|
15302
15580
|
address2?: string | undefined;
|
|
15303
15581
|
firstName?: string | undefined;
|
|
@@ -15339,6 +15617,10 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15339
15617
|
returnable?: boolean | undefined;
|
|
15340
15618
|
exchangeable?: boolean | undefined;
|
|
15341
15619
|
shippingAddressChangeable?: boolean | undefined;
|
|
15620
|
+
nonCancelableReason?: string | undefined;
|
|
15621
|
+
nonReturnableReason?: string | undefined;
|
|
15622
|
+
nonExchangeableReason?: string | undefined;
|
|
15623
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15342
15624
|
} | undefined;
|
|
15343
15625
|
}[] | undefined;
|
|
15344
15626
|
createdAt?: number | undefined;
|
|
@@ -15351,18 +15633,29 @@ export declare const OrderProtoSchema: z.ZodObject<{
|
|
|
15351
15633
|
discountAmount?: number | undefined;
|
|
15352
15634
|
methods?: string[] | undefined;
|
|
15353
15635
|
requireRefundBankAccount?: boolean | undefined;
|
|
15636
|
+
taxAmount?: number | undefined;
|
|
15637
|
+
pointAmount?: number | undefined;
|
|
15638
|
+
creditAmount?: number | undefined;
|
|
15639
|
+
couponDiscountAmount?: number | undefined;
|
|
15640
|
+
dueAmount?: number | undefined;
|
|
15354
15641
|
} | undefined;
|
|
15355
15642
|
fulfillments?: {
|
|
15356
15643
|
id?: string | undefined;
|
|
15644
|
+
items?: {
|
|
15645
|
+
state?: string | undefined;
|
|
15646
|
+
itemId?: string | undefined;
|
|
15647
|
+
}[] | undefined;
|
|
15357
15648
|
state?: string | undefined;
|
|
15358
15649
|
itemIds?: string[] | undefined;
|
|
15359
15650
|
trackingNumber?: string | undefined;
|
|
15360
15651
|
trackingCompany?: string | undefined;
|
|
15361
15652
|
trackingUrl?: string | undefined;
|
|
15362
15653
|
estimatedDeliveryDate?: number | undefined;
|
|
15654
|
+
trackingCompanyName?: string | undefined;
|
|
15363
15655
|
}[] | undefined;
|
|
15364
15656
|
shippingAddress?: {
|
|
15365
15657
|
email?: string | undefined;
|
|
15658
|
+
countryCode?: string | undefined;
|
|
15366
15659
|
address1?: string | undefined;
|
|
15367
15660
|
address2?: string | undefined;
|
|
15368
15661
|
firstName?: string | undefined;
|
|
@@ -15909,16 +16202,28 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15909
16202
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
15910
16203
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
15911
16204
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
16205
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
16206
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
16207
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
16208
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
15912
16209
|
}, "strip", z.ZodTypeAny, {
|
|
15913
16210
|
cancelable?: boolean | undefined;
|
|
15914
16211
|
returnable?: boolean | undefined;
|
|
15915
16212
|
exchangeable?: boolean | undefined;
|
|
15916
16213
|
shippingAddressChangeable?: boolean | undefined;
|
|
16214
|
+
nonCancelableReason?: string | undefined;
|
|
16215
|
+
nonReturnableReason?: string | undefined;
|
|
16216
|
+
nonExchangeableReason?: string | undefined;
|
|
16217
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15917
16218
|
}, {
|
|
15918
16219
|
cancelable?: boolean | undefined;
|
|
15919
16220
|
returnable?: boolean | undefined;
|
|
15920
16221
|
exchangeable?: boolean | undefined;
|
|
15921
16222
|
shippingAddressChangeable?: boolean | undefined;
|
|
16223
|
+
nonCancelableReason?: string | undefined;
|
|
16224
|
+
nonReturnableReason?: string | undefined;
|
|
16225
|
+
nonExchangeableReason?: string | undefined;
|
|
16226
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15922
16227
|
}>>>;
|
|
15923
16228
|
}, "strip", z.ZodTypeAny, {
|
|
15924
16229
|
name?: string | undefined;
|
|
@@ -15938,6 +16243,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15938
16243
|
returnable?: boolean | undefined;
|
|
15939
16244
|
exchangeable?: boolean | undefined;
|
|
15940
16245
|
shippingAddressChangeable?: boolean | undefined;
|
|
16246
|
+
nonCancelableReason?: string | undefined;
|
|
16247
|
+
nonReturnableReason?: string | undefined;
|
|
16248
|
+
nonExchangeableReason?: string | undefined;
|
|
16249
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15941
16250
|
} | undefined;
|
|
15942
16251
|
}, {
|
|
15943
16252
|
name?: string | undefined;
|
|
@@ -15957,6 +16266,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15957
16266
|
returnable?: boolean | undefined;
|
|
15958
16267
|
exchangeable?: boolean | undefined;
|
|
15959
16268
|
shippingAddressChangeable?: boolean | undefined;
|
|
16269
|
+
nonCancelableReason?: string | undefined;
|
|
16270
|
+
nonReturnableReason?: string | undefined;
|
|
16271
|
+
nonExchangeableReason?: string | undefined;
|
|
16272
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
15960
16273
|
} | undefined;
|
|
15961
16274
|
}>>, "many">>;
|
|
15962
16275
|
payment: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
@@ -15968,6 +16281,11 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15968
16281
|
discountAmount: z.ZodOptional<z.ZodNumber>;
|
|
15969
16282
|
methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15970
16283
|
requireRefundBankAccount: z.ZodOptional<z.ZodBoolean>;
|
|
16284
|
+
taxAmount: z.ZodOptional<z.ZodNumber>;
|
|
16285
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
16286
|
+
creditAmount: z.ZodOptional<z.ZodNumber>;
|
|
16287
|
+
couponDiscountAmount: z.ZodOptional<z.ZodNumber>;
|
|
16288
|
+
dueAmount: z.ZodOptional<z.ZodNumber>;
|
|
15971
16289
|
}, "strip", z.ZodTypeAny, {
|
|
15972
16290
|
state?: string | undefined;
|
|
15973
16291
|
currency?: string | undefined;
|
|
@@ -15977,6 +16295,11 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15977
16295
|
discountAmount?: number | undefined;
|
|
15978
16296
|
methods?: string[] | undefined;
|
|
15979
16297
|
requireRefundBankAccount?: boolean | undefined;
|
|
16298
|
+
taxAmount?: number | undefined;
|
|
16299
|
+
pointAmount?: number | undefined;
|
|
16300
|
+
creditAmount?: number | undefined;
|
|
16301
|
+
couponDiscountAmount?: number | undefined;
|
|
16302
|
+
dueAmount?: number | undefined;
|
|
15980
16303
|
}, {
|
|
15981
16304
|
state?: string | undefined;
|
|
15982
16305
|
currency?: string | undefined;
|
|
@@ -15986,6 +16309,11 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15986
16309
|
discountAmount?: number | undefined;
|
|
15987
16310
|
methods?: string[] | undefined;
|
|
15988
16311
|
requireRefundBankAccount?: boolean | undefined;
|
|
16312
|
+
taxAmount?: number | undefined;
|
|
16313
|
+
pointAmount?: number | undefined;
|
|
16314
|
+
creditAmount?: number | undefined;
|
|
16315
|
+
couponDiscountAmount?: number | undefined;
|
|
16316
|
+
dueAmount?: number | undefined;
|
|
15989
16317
|
}>>>;
|
|
15990
16318
|
fulfillments: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
15991
16319
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -15995,22 +16323,43 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
15995
16323
|
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
15996
16324
|
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
15997
16325
|
estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
|
|
16326
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
16327
|
+
items: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
16328
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
16329
|
+
state: z.ZodOptional<z.ZodString>;
|
|
16330
|
+
}, "strip", z.ZodTypeAny, {
|
|
16331
|
+
state?: string | undefined;
|
|
16332
|
+
itemId?: string | undefined;
|
|
16333
|
+
}, {
|
|
16334
|
+
state?: string | undefined;
|
|
16335
|
+
itemId?: string | undefined;
|
|
16336
|
+
}>>, "many">>;
|
|
15998
16337
|
}, "strip", z.ZodTypeAny, {
|
|
15999
16338
|
id?: string | undefined;
|
|
16339
|
+
items?: {
|
|
16340
|
+
state?: string | undefined;
|
|
16341
|
+
itemId?: string | undefined;
|
|
16342
|
+
}[] | undefined;
|
|
16000
16343
|
state?: string | undefined;
|
|
16001
16344
|
itemIds?: string[] | undefined;
|
|
16002
16345
|
trackingNumber?: string | undefined;
|
|
16003
16346
|
trackingCompany?: string | undefined;
|
|
16004
16347
|
trackingUrl?: string | undefined;
|
|
16005
16348
|
estimatedDeliveryDate?: number | undefined;
|
|
16349
|
+
trackingCompanyName?: string | undefined;
|
|
16006
16350
|
}, {
|
|
16007
16351
|
id?: string | undefined;
|
|
16352
|
+
items?: {
|
|
16353
|
+
state?: string | undefined;
|
|
16354
|
+
itemId?: string | undefined;
|
|
16355
|
+
}[] | undefined;
|
|
16008
16356
|
state?: string | undefined;
|
|
16009
16357
|
itemIds?: string[] | undefined;
|
|
16010
16358
|
trackingNumber?: string | undefined;
|
|
16011
16359
|
trackingCompany?: string | undefined;
|
|
16012
16360
|
trackingUrl?: string | undefined;
|
|
16013
16361
|
estimatedDeliveryDate?: number | undefined;
|
|
16362
|
+
trackingCompanyName?: string | undefined;
|
|
16014
16363
|
}>>, "many">>;
|
|
16015
16364
|
shippingAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
16016
16365
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -16025,8 +16374,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16025
16374
|
country: z.ZodOptional<z.ZodString>;
|
|
16026
16375
|
city: z.ZodOptional<z.ZodString>;
|
|
16027
16376
|
province: z.ZodOptional<z.ZodString>;
|
|
16377
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
16028
16378
|
}, "strip", z.ZodTypeAny, {
|
|
16029
16379
|
email?: string | undefined;
|
|
16380
|
+
countryCode?: string | undefined;
|
|
16030
16381
|
address1?: string | undefined;
|
|
16031
16382
|
address2?: string | undefined;
|
|
16032
16383
|
firstName?: string | undefined;
|
|
@@ -16040,6 +16391,7 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16040
16391
|
province?: string | undefined;
|
|
16041
16392
|
}, {
|
|
16042
16393
|
email?: string | undefined;
|
|
16394
|
+
countryCode?: string | undefined;
|
|
16043
16395
|
address1?: string | undefined;
|
|
16044
16396
|
address2?: string | undefined;
|
|
16045
16397
|
firstName?: string | undefined;
|
|
@@ -16095,6 +16447,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16095
16447
|
returnable?: boolean | undefined;
|
|
16096
16448
|
exchangeable?: boolean | undefined;
|
|
16097
16449
|
shippingAddressChangeable?: boolean | undefined;
|
|
16450
|
+
nonCancelableReason?: string | undefined;
|
|
16451
|
+
nonReturnableReason?: string | undefined;
|
|
16452
|
+
nonExchangeableReason?: string | undefined;
|
|
16453
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
16098
16454
|
} | undefined;
|
|
16099
16455
|
}[] | undefined;
|
|
16100
16456
|
createdAt?: number | undefined;
|
|
@@ -16107,18 +16463,29 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16107
16463
|
discountAmount?: number | undefined;
|
|
16108
16464
|
methods?: string[] | undefined;
|
|
16109
16465
|
requireRefundBankAccount?: boolean | undefined;
|
|
16466
|
+
taxAmount?: number | undefined;
|
|
16467
|
+
pointAmount?: number | undefined;
|
|
16468
|
+
creditAmount?: number | undefined;
|
|
16469
|
+
couponDiscountAmount?: number | undefined;
|
|
16470
|
+
dueAmount?: number | undefined;
|
|
16110
16471
|
} | undefined;
|
|
16111
16472
|
fulfillments?: {
|
|
16112
16473
|
id?: string | undefined;
|
|
16474
|
+
items?: {
|
|
16475
|
+
state?: string | undefined;
|
|
16476
|
+
itemId?: string | undefined;
|
|
16477
|
+
}[] | undefined;
|
|
16113
16478
|
state?: string | undefined;
|
|
16114
16479
|
itemIds?: string[] | undefined;
|
|
16115
16480
|
trackingNumber?: string | undefined;
|
|
16116
16481
|
trackingCompany?: string | undefined;
|
|
16117
16482
|
trackingUrl?: string | undefined;
|
|
16118
16483
|
estimatedDeliveryDate?: number | undefined;
|
|
16484
|
+
trackingCompanyName?: string | undefined;
|
|
16119
16485
|
}[] | undefined;
|
|
16120
16486
|
shippingAddress?: {
|
|
16121
16487
|
email?: string | undefined;
|
|
16488
|
+
countryCode?: string | undefined;
|
|
16122
16489
|
address1?: string | undefined;
|
|
16123
16490
|
address2?: string | undefined;
|
|
16124
16491
|
firstName?: string | undefined;
|
|
@@ -16160,6 +16527,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16160
16527
|
returnable?: boolean | undefined;
|
|
16161
16528
|
exchangeable?: boolean | undefined;
|
|
16162
16529
|
shippingAddressChangeable?: boolean | undefined;
|
|
16530
|
+
nonCancelableReason?: string | undefined;
|
|
16531
|
+
nonReturnableReason?: string | undefined;
|
|
16532
|
+
nonExchangeableReason?: string | undefined;
|
|
16533
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
16163
16534
|
} | undefined;
|
|
16164
16535
|
}[] | undefined;
|
|
16165
16536
|
createdAt?: number | undefined;
|
|
@@ -16172,18 +16543,29 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16172
16543
|
discountAmount?: number | undefined;
|
|
16173
16544
|
methods?: string[] | undefined;
|
|
16174
16545
|
requireRefundBankAccount?: boolean | undefined;
|
|
16546
|
+
taxAmount?: number | undefined;
|
|
16547
|
+
pointAmount?: number | undefined;
|
|
16548
|
+
creditAmount?: number | undefined;
|
|
16549
|
+
couponDiscountAmount?: number | undefined;
|
|
16550
|
+
dueAmount?: number | undefined;
|
|
16175
16551
|
} | undefined;
|
|
16176
16552
|
fulfillments?: {
|
|
16177
16553
|
id?: string | undefined;
|
|
16554
|
+
items?: {
|
|
16555
|
+
state?: string | undefined;
|
|
16556
|
+
itemId?: string | undefined;
|
|
16557
|
+
}[] | undefined;
|
|
16178
16558
|
state?: string | undefined;
|
|
16179
16559
|
itemIds?: string[] | undefined;
|
|
16180
16560
|
trackingNumber?: string | undefined;
|
|
16181
16561
|
trackingCompany?: string | undefined;
|
|
16182
16562
|
trackingUrl?: string | undefined;
|
|
16183
16563
|
estimatedDeliveryDate?: number | undefined;
|
|
16564
|
+
trackingCompanyName?: string | undefined;
|
|
16184
16565
|
}[] | undefined;
|
|
16185
16566
|
shippingAddress?: {
|
|
16186
16567
|
email?: string | undefined;
|
|
16568
|
+
countryCode?: string | undefined;
|
|
16187
16569
|
address1?: string | undefined;
|
|
16188
16570
|
address2?: string | undefined;
|
|
16189
16571
|
firstName?: string | undefined;
|
|
@@ -16227,6 +16609,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16227
16609
|
returnable?: boolean | undefined;
|
|
16228
16610
|
exchangeable?: boolean | undefined;
|
|
16229
16611
|
shippingAddressChangeable?: boolean | undefined;
|
|
16612
|
+
nonCancelableReason?: string | undefined;
|
|
16613
|
+
nonReturnableReason?: string | undefined;
|
|
16614
|
+
nonExchangeableReason?: string | undefined;
|
|
16615
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
16230
16616
|
} | undefined;
|
|
16231
16617
|
}[] | undefined;
|
|
16232
16618
|
createdAt?: number | undefined;
|
|
@@ -16239,18 +16625,29 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16239
16625
|
discountAmount?: number | undefined;
|
|
16240
16626
|
methods?: string[] | undefined;
|
|
16241
16627
|
requireRefundBankAccount?: boolean | undefined;
|
|
16628
|
+
taxAmount?: number | undefined;
|
|
16629
|
+
pointAmount?: number | undefined;
|
|
16630
|
+
creditAmount?: number | undefined;
|
|
16631
|
+
couponDiscountAmount?: number | undefined;
|
|
16632
|
+
dueAmount?: number | undefined;
|
|
16242
16633
|
} | undefined;
|
|
16243
16634
|
fulfillments?: {
|
|
16244
16635
|
id?: string | undefined;
|
|
16636
|
+
items?: {
|
|
16637
|
+
state?: string | undefined;
|
|
16638
|
+
itemId?: string | undefined;
|
|
16639
|
+
}[] | undefined;
|
|
16245
16640
|
state?: string | undefined;
|
|
16246
16641
|
itemIds?: string[] | undefined;
|
|
16247
16642
|
trackingNumber?: string | undefined;
|
|
16248
16643
|
trackingCompany?: string | undefined;
|
|
16249
16644
|
trackingUrl?: string | undefined;
|
|
16250
16645
|
estimatedDeliveryDate?: number | undefined;
|
|
16646
|
+
trackingCompanyName?: string | undefined;
|
|
16251
16647
|
}[] | undefined;
|
|
16252
16648
|
shippingAddress?: {
|
|
16253
16649
|
email?: string | undefined;
|
|
16650
|
+
countryCode?: string | undefined;
|
|
16254
16651
|
address1?: string | undefined;
|
|
16255
16652
|
address2?: string | undefined;
|
|
16256
16653
|
firstName?: string | undefined;
|
|
@@ -16294,6 +16691,10 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16294
16691
|
returnable?: boolean | undefined;
|
|
16295
16692
|
exchangeable?: boolean | undefined;
|
|
16296
16693
|
shippingAddressChangeable?: boolean | undefined;
|
|
16694
|
+
nonCancelableReason?: string | undefined;
|
|
16695
|
+
nonReturnableReason?: string | undefined;
|
|
16696
|
+
nonExchangeableReason?: string | undefined;
|
|
16697
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
16297
16698
|
} | undefined;
|
|
16298
16699
|
}[] | undefined;
|
|
16299
16700
|
createdAt?: number | undefined;
|
|
@@ -16306,18 +16707,29 @@ export declare const OrderGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
16306
16707
|
discountAmount?: number | undefined;
|
|
16307
16708
|
methods?: string[] | undefined;
|
|
16308
16709
|
requireRefundBankAccount?: boolean | undefined;
|
|
16710
|
+
taxAmount?: number | undefined;
|
|
16711
|
+
pointAmount?: number | undefined;
|
|
16712
|
+
creditAmount?: number | undefined;
|
|
16713
|
+
couponDiscountAmount?: number | undefined;
|
|
16714
|
+
dueAmount?: number | undefined;
|
|
16309
16715
|
} | undefined;
|
|
16310
16716
|
fulfillments?: {
|
|
16311
16717
|
id?: string | undefined;
|
|
16718
|
+
items?: {
|
|
16719
|
+
state?: string | undefined;
|
|
16720
|
+
itemId?: string | undefined;
|
|
16721
|
+
}[] | undefined;
|
|
16312
16722
|
state?: string | undefined;
|
|
16313
16723
|
itemIds?: string[] | undefined;
|
|
16314
16724
|
trackingNumber?: string | undefined;
|
|
16315
16725
|
trackingCompany?: string | undefined;
|
|
16316
16726
|
trackingUrl?: string | undefined;
|
|
16317
16727
|
estimatedDeliveryDate?: number | undefined;
|
|
16728
|
+
trackingCompanyName?: string | undefined;
|
|
16318
16729
|
}[] | undefined;
|
|
16319
16730
|
shippingAddress?: {
|
|
16320
16731
|
email?: string | undefined;
|
|
16732
|
+
countryCode?: string | undefined;
|
|
16321
16733
|
address1?: string | undefined;
|
|
16322
16734
|
address2?: string | undefined;
|
|
16323
16735
|
firstName?: string | undefined;
|
|
@@ -16991,8 +17403,10 @@ export declare const OrderReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
16991
17403
|
country: z.ZodOptional<z.ZodString>;
|
|
16992
17404
|
city: z.ZodOptional<z.ZodString>;
|
|
16993
17405
|
province: z.ZodOptional<z.ZodString>;
|
|
17406
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
16994
17407
|
}, "strip", z.ZodTypeAny, {
|
|
16995
17408
|
email?: string | undefined;
|
|
17409
|
+
countryCode?: string | undefined;
|
|
16996
17410
|
address1?: string | undefined;
|
|
16997
17411
|
address2?: string | undefined;
|
|
16998
17412
|
firstName?: string | undefined;
|
|
@@ -17006,6 +17420,7 @@ export declare const OrderReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
17006
17420
|
province?: string | undefined;
|
|
17007
17421
|
}, {
|
|
17008
17422
|
email?: string | undefined;
|
|
17423
|
+
countryCode?: string | undefined;
|
|
17009
17424
|
address1?: string | undefined;
|
|
17010
17425
|
address2?: string | undefined;
|
|
17011
17426
|
firstName?: string | undefined;
|
|
@@ -17065,6 +17480,7 @@ export declare const OrderReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
17065
17480
|
requestPickup?: boolean | undefined;
|
|
17066
17481
|
pickupAddress?: {
|
|
17067
17482
|
email?: string | undefined;
|
|
17483
|
+
countryCode?: string | undefined;
|
|
17068
17484
|
address1?: string | undefined;
|
|
17069
17485
|
address2?: string | undefined;
|
|
17070
17486
|
firstName?: string | undefined;
|
|
@@ -17103,6 +17519,7 @@ export declare const OrderReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
17103
17519
|
requestPickup?: boolean | undefined;
|
|
17104
17520
|
pickupAddress?: {
|
|
17105
17521
|
email?: string | undefined;
|
|
17522
|
+
countryCode?: string | undefined;
|
|
17106
17523
|
address1?: string | undefined;
|
|
17107
17524
|
address2?: string | undefined;
|
|
17108
17525
|
firstName?: string | undefined;
|
|
@@ -17188,8 +17605,10 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
17188
17605
|
country: z.ZodOptional<z.ZodString>;
|
|
17189
17606
|
city: z.ZodOptional<z.ZodString>;
|
|
17190
17607
|
province: z.ZodOptional<z.ZodString>;
|
|
17608
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
17191
17609
|
}, "strip", z.ZodTypeAny, {
|
|
17192
17610
|
email?: string | undefined;
|
|
17611
|
+
countryCode?: string | undefined;
|
|
17193
17612
|
address1?: string | undefined;
|
|
17194
17613
|
address2?: string | undefined;
|
|
17195
17614
|
firstName?: string | undefined;
|
|
@@ -17203,6 +17622,7 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
17203
17622
|
province?: string | undefined;
|
|
17204
17623
|
}, {
|
|
17205
17624
|
email?: string | undefined;
|
|
17625
|
+
countryCode?: string | undefined;
|
|
17206
17626
|
address1?: string | undefined;
|
|
17207
17627
|
address2?: string | undefined;
|
|
17208
17628
|
firstName?: string | undefined;
|
|
@@ -17253,6 +17673,7 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
17253
17673
|
requestPickup?: boolean | undefined;
|
|
17254
17674
|
pickupAddress?: {
|
|
17255
17675
|
email?: string | undefined;
|
|
17676
|
+
countryCode?: string | undefined;
|
|
17256
17677
|
address1?: string | undefined;
|
|
17257
17678
|
address2?: string | undefined;
|
|
17258
17679
|
firstName?: string | undefined;
|
|
@@ -17294,6 +17715,7 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
17294
17715
|
requestPickup?: boolean | undefined;
|
|
17295
17716
|
pickupAddress?: {
|
|
17296
17717
|
email?: string | undefined;
|
|
17718
|
+
countryCode?: string | undefined;
|
|
17297
17719
|
address1?: string | undefined;
|
|
17298
17720
|
address2?: string | undefined;
|
|
17299
17721
|
firstName?: string | undefined;
|
|
@@ -17373,16 +17795,28 @@ export declare const OrderGetExchangeableItemsOutputProtoSchema: z.ZodObject<{
|
|
|
17373
17795
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
17374
17796
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
17375
17797
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
17798
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
17799
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
17800
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
17801
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
17376
17802
|
}, "strip", z.ZodTypeAny, {
|
|
17377
17803
|
cancelable?: boolean | undefined;
|
|
17378
17804
|
returnable?: boolean | undefined;
|
|
17379
17805
|
exchangeable?: boolean | undefined;
|
|
17380
17806
|
shippingAddressChangeable?: boolean | undefined;
|
|
17807
|
+
nonCancelableReason?: string | undefined;
|
|
17808
|
+
nonReturnableReason?: string | undefined;
|
|
17809
|
+
nonExchangeableReason?: string | undefined;
|
|
17810
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17381
17811
|
}, {
|
|
17382
17812
|
cancelable?: boolean | undefined;
|
|
17383
17813
|
returnable?: boolean | undefined;
|
|
17384
17814
|
exchangeable?: boolean | undefined;
|
|
17385
17815
|
shippingAddressChangeable?: boolean | undefined;
|
|
17816
|
+
nonCancelableReason?: string | undefined;
|
|
17817
|
+
nonReturnableReason?: string | undefined;
|
|
17818
|
+
nonExchangeableReason?: string | undefined;
|
|
17819
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17386
17820
|
}>>>;
|
|
17387
17821
|
}, "strip", z.ZodTypeAny, {
|
|
17388
17822
|
name?: string | undefined;
|
|
@@ -17402,6 +17836,10 @@ export declare const OrderGetExchangeableItemsOutputProtoSchema: z.ZodObject<{
|
|
|
17402
17836
|
returnable?: boolean | undefined;
|
|
17403
17837
|
exchangeable?: boolean | undefined;
|
|
17404
17838
|
shippingAddressChangeable?: boolean | undefined;
|
|
17839
|
+
nonCancelableReason?: string | undefined;
|
|
17840
|
+
nonReturnableReason?: string | undefined;
|
|
17841
|
+
nonExchangeableReason?: string | undefined;
|
|
17842
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17405
17843
|
} | undefined;
|
|
17406
17844
|
}, {
|
|
17407
17845
|
name?: string | undefined;
|
|
@@ -17421,6 +17859,10 @@ export declare const OrderGetExchangeableItemsOutputProtoSchema: z.ZodObject<{
|
|
|
17421
17859
|
returnable?: boolean | undefined;
|
|
17422
17860
|
exchangeable?: boolean | undefined;
|
|
17423
17861
|
shippingAddressChangeable?: boolean | undefined;
|
|
17862
|
+
nonCancelableReason?: string | undefined;
|
|
17863
|
+
nonReturnableReason?: string | undefined;
|
|
17864
|
+
nonExchangeableReason?: string | undefined;
|
|
17865
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17424
17866
|
} | undefined;
|
|
17425
17867
|
}>>, "many">>;
|
|
17426
17868
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17442,6 +17884,10 @@ export declare const OrderGetExchangeableItemsOutputProtoSchema: z.ZodObject<{
|
|
|
17442
17884
|
returnable?: boolean | undefined;
|
|
17443
17885
|
exchangeable?: boolean | undefined;
|
|
17444
17886
|
shippingAddressChangeable?: boolean | undefined;
|
|
17887
|
+
nonCancelableReason?: string | undefined;
|
|
17888
|
+
nonReturnableReason?: string | undefined;
|
|
17889
|
+
nonExchangeableReason?: string | undefined;
|
|
17890
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17445
17891
|
} | undefined;
|
|
17446
17892
|
}[] | undefined;
|
|
17447
17893
|
}, {
|
|
@@ -17463,6 +17909,10 @@ export declare const OrderGetExchangeableItemsOutputProtoSchema: z.ZodObject<{
|
|
|
17463
17909
|
returnable?: boolean | undefined;
|
|
17464
17910
|
exchangeable?: boolean | undefined;
|
|
17465
17911
|
shippingAddressChangeable?: boolean | undefined;
|
|
17912
|
+
nonCancelableReason?: string | undefined;
|
|
17913
|
+
nonReturnableReason?: string | undefined;
|
|
17914
|
+
nonExchangeableReason?: string | undefined;
|
|
17915
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17466
17916
|
} | undefined;
|
|
17467
17917
|
}[] | undefined;
|
|
17468
17918
|
}>;
|
|
@@ -17482,8 +17932,10 @@ export declare const OrderChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
|
17482
17932
|
country: z.ZodOptional<z.ZodString>;
|
|
17483
17933
|
city: z.ZodOptional<z.ZodString>;
|
|
17484
17934
|
province: z.ZodOptional<z.ZodString>;
|
|
17935
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
17485
17936
|
}, "strip", z.ZodTypeAny, {
|
|
17486
17937
|
email?: string | undefined;
|
|
17938
|
+
countryCode?: string | undefined;
|
|
17487
17939
|
address1?: string | undefined;
|
|
17488
17940
|
address2?: string | undefined;
|
|
17489
17941
|
firstName?: string | undefined;
|
|
@@ -17497,6 +17949,7 @@ export declare const OrderChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
|
17497
17949
|
province?: string | undefined;
|
|
17498
17950
|
}, {
|
|
17499
17951
|
email?: string | undefined;
|
|
17952
|
+
countryCode?: string | undefined;
|
|
17500
17953
|
address1?: string | undefined;
|
|
17501
17954
|
address2?: string | undefined;
|
|
17502
17955
|
firstName?: string | undefined;
|
|
@@ -17513,6 +17966,7 @@ export declare const OrderChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
|
17513
17966
|
orderId?: string | undefined;
|
|
17514
17967
|
newAddress?: {
|
|
17515
17968
|
email?: string | undefined;
|
|
17969
|
+
countryCode?: string | undefined;
|
|
17516
17970
|
address1?: string | undefined;
|
|
17517
17971
|
address2?: string | undefined;
|
|
17518
17972
|
firstName?: string | undefined;
|
|
@@ -17529,6 +17983,7 @@ export declare const OrderChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
|
17529
17983
|
orderId?: string | undefined;
|
|
17530
17984
|
newAddress?: {
|
|
17531
17985
|
email?: string | undefined;
|
|
17986
|
+
countryCode?: string | undefined;
|
|
17532
17987
|
address1?: string | undefined;
|
|
17533
17988
|
address2?: string | undefined;
|
|
17534
17989
|
firstName?: string | undefined;
|
|
@@ -17580,17 +18035,111 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
|
|
|
17580
18035
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
17581
18036
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
17582
18037
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
18038
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
18039
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
18040
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
18041
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
17583
18042
|
}, "strip", z.ZodTypeAny, {
|
|
17584
18043
|
cancelable?: boolean | undefined;
|
|
17585
18044
|
returnable?: boolean | undefined;
|
|
17586
18045
|
exchangeable?: boolean | undefined;
|
|
17587
18046
|
shippingAddressChangeable?: boolean | undefined;
|
|
18047
|
+
nonCancelableReason?: string | undefined;
|
|
18048
|
+
nonReturnableReason?: string | undefined;
|
|
18049
|
+
nonExchangeableReason?: string | undefined;
|
|
18050
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17588
18051
|
}, {
|
|
17589
18052
|
cancelable?: boolean | undefined;
|
|
17590
18053
|
returnable?: boolean | undefined;
|
|
17591
18054
|
exchangeable?: boolean | undefined;
|
|
17592
18055
|
shippingAddressChangeable?: boolean | undefined;
|
|
18056
|
+
nonCancelableReason?: string | undefined;
|
|
18057
|
+
nonReturnableReason?: string | undefined;
|
|
18058
|
+
nonExchangeableReason?: string | undefined;
|
|
18059
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17593
18060
|
}>>>;
|
|
18061
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
18062
|
+
unfulfilledQuantity: z.ZodOptional<z.ZodNumber>;
|
|
18063
|
+
requiresShipping: z.ZodOptional<z.ZodBoolean>;
|
|
18064
|
+
sellingPlanName: z.ZodOptional<z.ZodString>;
|
|
18065
|
+
sellingPlanId: z.ZodOptional<z.ZodString>;
|
|
18066
|
+
customAttributes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18067
|
+
key: z.ZodOptional<z.ZodString>;
|
|
18068
|
+
value: z.ZodOptional<z.ZodString>;
|
|
18069
|
+
}, "strip", z.ZodTypeAny, {
|
|
18070
|
+
value?: string | undefined;
|
|
18071
|
+
key?: string | undefined;
|
|
18072
|
+
}, {
|
|
18073
|
+
value?: string | undefined;
|
|
18074
|
+
key?: string | undefined;
|
|
18075
|
+
}>>, "many">>;
|
|
18076
|
+
taxLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18077
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
18078
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
18079
|
+
title: z.ZodOptional<z.ZodString>;
|
|
18080
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18081
|
+
}, "strip", z.ZodTypeAny, {
|
|
18082
|
+
title?: string | undefined;
|
|
18083
|
+
amount?: number | undefined;
|
|
18084
|
+
rate?: number | undefined;
|
|
18085
|
+
ratePercentage?: number | undefined;
|
|
18086
|
+
}, {
|
|
18087
|
+
title?: string | undefined;
|
|
18088
|
+
amount?: number | undefined;
|
|
18089
|
+
rate?: number | undefined;
|
|
18090
|
+
ratePercentage?: number | undefined;
|
|
18091
|
+
}>>, "many">>;
|
|
18092
|
+
statusCode: z.ZodOptional<z.ZodString>;
|
|
18093
|
+
statusText: z.ZodOptional<z.ZodString>;
|
|
18094
|
+
claimStatusCode: z.ZodOptional<z.ZodString>;
|
|
18095
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
18096
|
+
supplierName: z.ZodOptional<z.ZodString>;
|
|
18097
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
18098
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
18099
|
+
bundleId: z.ZodOptional<z.ZodString>;
|
|
18100
|
+
bundleName: z.ZodOptional<z.ZodString>;
|
|
18101
|
+
bundleType: z.ZodOptional<z.ZodString>;
|
|
18102
|
+
bundleItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18103
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
18104
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
18105
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18106
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
18107
|
+
option: z.ZodOptional<z.ZodString>;
|
|
18108
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
18109
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18110
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
18111
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
18112
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
18113
|
+
}, "strip", z.ZodTypeAny, {
|
|
18114
|
+
name?: string | undefined;
|
|
18115
|
+
amount?: number | undefined;
|
|
18116
|
+
quantity?: number | undefined;
|
|
18117
|
+
option?: string | undefined;
|
|
18118
|
+
productId?: string | undefined;
|
|
18119
|
+
variantId?: string | undefined;
|
|
18120
|
+
sku?: string | undefined;
|
|
18121
|
+
optionAmount?: number | undefined;
|
|
18122
|
+
supplierId?: string | undefined;
|
|
18123
|
+
productCode?: string | undefined;
|
|
18124
|
+
}, {
|
|
18125
|
+
name?: string | undefined;
|
|
18126
|
+
amount?: number | undefined;
|
|
18127
|
+
quantity?: number | undefined;
|
|
18128
|
+
option?: string | undefined;
|
|
18129
|
+
productId?: string | undefined;
|
|
18130
|
+
variantId?: string | undefined;
|
|
18131
|
+
sku?: string | undefined;
|
|
18132
|
+
optionAmount?: number | undefined;
|
|
18133
|
+
supplierId?: string | undefined;
|
|
18134
|
+
productCode?: string | undefined;
|
|
18135
|
+
}>>, "many">>;
|
|
18136
|
+
itemNo: z.ZodOptional<z.ZodString>;
|
|
18137
|
+
optionType: z.ZodOptional<z.ZodString>;
|
|
18138
|
+
trackingNumber: z.ZodOptional<z.ZodString>;
|
|
18139
|
+
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
18140
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
18141
|
+
shippingCode: z.ZodOptional<z.ZodString>;
|
|
18142
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
17594
18143
|
}, "strip", z.ZodTypeAny, {
|
|
17595
18144
|
name?: string | undefined;
|
|
17596
18145
|
id?: string | undefined;
|
|
@@ -17609,7 +18158,55 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
|
|
|
17609
18158
|
returnable?: boolean | undefined;
|
|
17610
18159
|
exchangeable?: boolean | undefined;
|
|
17611
18160
|
shippingAddressChangeable?: boolean | undefined;
|
|
18161
|
+
nonCancelableReason?: string | undefined;
|
|
18162
|
+
nonReturnableReason?: string | undefined;
|
|
18163
|
+
nonExchangeableReason?: string | undefined;
|
|
18164
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17612
18165
|
} | undefined;
|
|
18166
|
+
trackingNumber?: string | undefined;
|
|
18167
|
+
trackingCompany?: string | undefined;
|
|
18168
|
+
trackingCompanyName?: string | undefined;
|
|
18169
|
+
taxLines?: {
|
|
18170
|
+
title?: string | undefined;
|
|
18171
|
+
amount?: number | undefined;
|
|
18172
|
+
rate?: number | undefined;
|
|
18173
|
+
ratePercentage?: number | undefined;
|
|
18174
|
+
}[] | undefined;
|
|
18175
|
+
sku?: string | undefined;
|
|
18176
|
+
optionAmount?: number | undefined;
|
|
18177
|
+
supplierId?: string | undefined;
|
|
18178
|
+
productCode?: string | undefined;
|
|
18179
|
+
unfulfilledQuantity?: number | undefined;
|
|
18180
|
+
requiresShipping?: boolean | undefined;
|
|
18181
|
+
sellingPlanName?: string | undefined;
|
|
18182
|
+
sellingPlanId?: string | undefined;
|
|
18183
|
+
customAttributes?: {
|
|
18184
|
+
value?: string | undefined;
|
|
18185
|
+
key?: string | undefined;
|
|
18186
|
+
}[] | undefined;
|
|
18187
|
+
statusCode?: string | undefined;
|
|
18188
|
+
statusText?: string | undefined;
|
|
18189
|
+
claimStatusCode?: string | undefined;
|
|
18190
|
+
supplierName?: string | undefined;
|
|
18191
|
+
bundle?: boolean | undefined;
|
|
18192
|
+
bundleId?: string | undefined;
|
|
18193
|
+
bundleName?: string | undefined;
|
|
18194
|
+
bundleType?: string | undefined;
|
|
18195
|
+
bundleItems?: {
|
|
18196
|
+
name?: string | undefined;
|
|
18197
|
+
amount?: number | undefined;
|
|
18198
|
+
quantity?: number | undefined;
|
|
18199
|
+
option?: string | undefined;
|
|
18200
|
+
productId?: string | undefined;
|
|
18201
|
+
variantId?: string | undefined;
|
|
18202
|
+
sku?: string | undefined;
|
|
18203
|
+
optionAmount?: number | undefined;
|
|
18204
|
+
supplierId?: string | undefined;
|
|
18205
|
+
productCode?: string | undefined;
|
|
18206
|
+
}[] | undefined;
|
|
18207
|
+
itemNo?: string | undefined;
|
|
18208
|
+
optionType?: string | undefined;
|
|
18209
|
+
shippingCode?: string | undefined;
|
|
17613
18210
|
}, {
|
|
17614
18211
|
name?: string | undefined;
|
|
17615
18212
|
id?: string | undefined;
|
|
@@ -17628,9 +18225,92 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
|
|
|
17628
18225
|
returnable?: boolean | undefined;
|
|
17629
18226
|
exchangeable?: boolean | undefined;
|
|
17630
18227
|
shippingAddressChangeable?: boolean | undefined;
|
|
18228
|
+
nonCancelableReason?: string | undefined;
|
|
18229
|
+
nonReturnableReason?: string | undefined;
|
|
18230
|
+
nonExchangeableReason?: string | undefined;
|
|
18231
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17631
18232
|
} | undefined;
|
|
18233
|
+
trackingNumber?: string | undefined;
|
|
18234
|
+
trackingCompany?: string | undefined;
|
|
18235
|
+
trackingCompanyName?: string | undefined;
|
|
18236
|
+
taxLines?: {
|
|
18237
|
+
title?: string | undefined;
|
|
18238
|
+
amount?: number | undefined;
|
|
18239
|
+
rate?: number | undefined;
|
|
18240
|
+
ratePercentage?: number | undefined;
|
|
18241
|
+
}[] | undefined;
|
|
18242
|
+
sku?: string | undefined;
|
|
18243
|
+
optionAmount?: number | undefined;
|
|
18244
|
+
supplierId?: string | undefined;
|
|
18245
|
+
productCode?: string | undefined;
|
|
18246
|
+
unfulfilledQuantity?: number | undefined;
|
|
18247
|
+
requiresShipping?: boolean | undefined;
|
|
18248
|
+
sellingPlanName?: string | undefined;
|
|
18249
|
+
sellingPlanId?: string | undefined;
|
|
18250
|
+
customAttributes?: {
|
|
18251
|
+
value?: string | undefined;
|
|
18252
|
+
key?: string | undefined;
|
|
18253
|
+
}[] | undefined;
|
|
18254
|
+
statusCode?: string | undefined;
|
|
18255
|
+
statusText?: string | undefined;
|
|
18256
|
+
claimStatusCode?: string | undefined;
|
|
18257
|
+
supplierName?: string | undefined;
|
|
18258
|
+
bundle?: boolean | undefined;
|
|
18259
|
+
bundleId?: string | undefined;
|
|
18260
|
+
bundleName?: string | undefined;
|
|
18261
|
+
bundleType?: string | undefined;
|
|
18262
|
+
bundleItems?: {
|
|
18263
|
+
name?: string | undefined;
|
|
18264
|
+
amount?: number | undefined;
|
|
18265
|
+
quantity?: number | undefined;
|
|
18266
|
+
option?: string | undefined;
|
|
18267
|
+
productId?: string | undefined;
|
|
18268
|
+
variantId?: string | undefined;
|
|
18269
|
+
sku?: string | undefined;
|
|
18270
|
+
optionAmount?: number | undefined;
|
|
18271
|
+
supplierId?: string | undefined;
|
|
18272
|
+
productCode?: string | undefined;
|
|
18273
|
+
}[] | undefined;
|
|
18274
|
+
itemNo?: string | undefined;
|
|
18275
|
+
optionType?: string | undefined;
|
|
18276
|
+
shippingCode?: string | undefined;
|
|
17632
18277
|
}>;
|
|
17633
18278
|
export type CommerceOrderItemProto = z.infer<typeof CommerceOrderItemProtoSchema>;
|
|
18279
|
+
export declare const CommerceOrderBundleItemProtoSchema: z.ZodObject<{
|
|
18280
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
18281
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
18282
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18283
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
18284
|
+
option: z.ZodOptional<z.ZodString>;
|
|
18285
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
18286
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18287
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
18288
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
18289
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
18290
|
+
}, "strip", z.ZodTypeAny, {
|
|
18291
|
+
name?: string | undefined;
|
|
18292
|
+
amount?: number | undefined;
|
|
18293
|
+
quantity?: number | undefined;
|
|
18294
|
+
option?: string | undefined;
|
|
18295
|
+
productId?: string | undefined;
|
|
18296
|
+
variantId?: string | undefined;
|
|
18297
|
+
sku?: string | undefined;
|
|
18298
|
+
optionAmount?: number | undefined;
|
|
18299
|
+
supplierId?: string | undefined;
|
|
18300
|
+
productCode?: string | undefined;
|
|
18301
|
+
}, {
|
|
18302
|
+
name?: string | undefined;
|
|
18303
|
+
amount?: number | undefined;
|
|
18304
|
+
quantity?: number | undefined;
|
|
18305
|
+
option?: string | undefined;
|
|
18306
|
+
productId?: string | undefined;
|
|
18307
|
+
variantId?: string | undefined;
|
|
18308
|
+
sku?: string | undefined;
|
|
18309
|
+
optionAmount?: number | undefined;
|
|
18310
|
+
supplierId?: string | undefined;
|
|
18311
|
+
productCode?: string | undefined;
|
|
18312
|
+
}>;
|
|
18313
|
+
export type CommerceOrderBundleItemProto = z.infer<typeof CommerceOrderBundleItemProtoSchema>;
|
|
17634
18314
|
export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
17635
18315
|
id: z.ZodOptional<z.ZodString>;
|
|
17636
18316
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -17669,17 +18349,111 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17669
18349
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
17670
18350
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
17671
18351
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
18352
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
18353
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
18354
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
18355
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
17672
18356
|
}, "strip", z.ZodTypeAny, {
|
|
17673
18357
|
cancelable?: boolean | undefined;
|
|
17674
18358
|
returnable?: boolean | undefined;
|
|
17675
18359
|
exchangeable?: boolean | undefined;
|
|
17676
18360
|
shippingAddressChangeable?: boolean | undefined;
|
|
18361
|
+
nonCancelableReason?: string | undefined;
|
|
18362
|
+
nonReturnableReason?: string | undefined;
|
|
18363
|
+
nonExchangeableReason?: string | undefined;
|
|
18364
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17677
18365
|
}, {
|
|
17678
18366
|
cancelable?: boolean | undefined;
|
|
17679
18367
|
returnable?: boolean | undefined;
|
|
17680
18368
|
exchangeable?: boolean | undefined;
|
|
17681
18369
|
shippingAddressChangeable?: boolean | undefined;
|
|
18370
|
+
nonCancelableReason?: string | undefined;
|
|
18371
|
+
nonReturnableReason?: string | undefined;
|
|
18372
|
+
nonExchangeableReason?: string | undefined;
|
|
18373
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17682
18374
|
}>>>;
|
|
18375
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
18376
|
+
unfulfilledQuantity: z.ZodOptional<z.ZodNumber>;
|
|
18377
|
+
requiresShipping: z.ZodOptional<z.ZodBoolean>;
|
|
18378
|
+
sellingPlanName: z.ZodOptional<z.ZodString>;
|
|
18379
|
+
sellingPlanId: z.ZodOptional<z.ZodString>;
|
|
18380
|
+
customAttributes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18381
|
+
key: z.ZodOptional<z.ZodString>;
|
|
18382
|
+
value: z.ZodOptional<z.ZodString>;
|
|
18383
|
+
}, "strip", z.ZodTypeAny, {
|
|
18384
|
+
value?: string | undefined;
|
|
18385
|
+
key?: string | undefined;
|
|
18386
|
+
}, {
|
|
18387
|
+
value?: string | undefined;
|
|
18388
|
+
key?: string | undefined;
|
|
18389
|
+
}>>, "many">>;
|
|
18390
|
+
taxLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18391
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
18392
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
18393
|
+
title: z.ZodOptional<z.ZodString>;
|
|
18394
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18395
|
+
}, "strip", z.ZodTypeAny, {
|
|
18396
|
+
title?: string | undefined;
|
|
18397
|
+
amount?: number | undefined;
|
|
18398
|
+
rate?: number | undefined;
|
|
18399
|
+
ratePercentage?: number | undefined;
|
|
18400
|
+
}, {
|
|
18401
|
+
title?: string | undefined;
|
|
18402
|
+
amount?: number | undefined;
|
|
18403
|
+
rate?: number | undefined;
|
|
18404
|
+
ratePercentage?: number | undefined;
|
|
18405
|
+
}>>, "many">>;
|
|
18406
|
+
statusCode: z.ZodOptional<z.ZodString>;
|
|
18407
|
+
statusText: z.ZodOptional<z.ZodString>;
|
|
18408
|
+
claimStatusCode: z.ZodOptional<z.ZodString>;
|
|
18409
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
18410
|
+
supplierName: z.ZodOptional<z.ZodString>;
|
|
18411
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
18412
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
18413
|
+
bundleId: z.ZodOptional<z.ZodString>;
|
|
18414
|
+
bundleName: z.ZodOptional<z.ZodString>;
|
|
18415
|
+
bundleType: z.ZodOptional<z.ZodString>;
|
|
18416
|
+
bundleItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18417
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
18418
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
18419
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18420
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
18421
|
+
option: z.ZodOptional<z.ZodString>;
|
|
18422
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
18423
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18424
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
18425
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
18426
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
18427
|
+
}, "strip", z.ZodTypeAny, {
|
|
18428
|
+
name?: string | undefined;
|
|
18429
|
+
amount?: number | undefined;
|
|
18430
|
+
quantity?: number | undefined;
|
|
18431
|
+
option?: string | undefined;
|
|
18432
|
+
productId?: string | undefined;
|
|
18433
|
+
variantId?: string | undefined;
|
|
18434
|
+
sku?: string | undefined;
|
|
18435
|
+
optionAmount?: number | undefined;
|
|
18436
|
+
supplierId?: string | undefined;
|
|
18437
|
+
productCode?: string | undefined;
|
|
18438
|
+
}, {
|
|
18439
|
+
name?: string | undefined;
|
|
18440
|
+
amount?: number | undefined;
|
|
18441
|
+
quantity?: number | undefined;
|
|
18442
|
+
option?: string | undefined;
|
|
18443
|
+
productId?: string | undefined;
|
|
18444
|
+
variantId?: string | undefined;
|
|
18445
|
+
sku?: string | undefined;
|
|
18446
|
+
optionAmount?: number | undefined;
|
|
18447
|
+
supplierId?: string | undefined;
|
|
18448
|
+
productCode?: string | undefined;
|
|
18449
|
+
}>>, "many">>;
|
|
18450
|
+
itemNo: z.ZodOptional<z.ZodString>;
|
|
18451
|
+
optionType: z.ZodOptional<z.ZodString>;
|
|
18452
|
+
trackingNumber: z.ZodOptional<z.ZodString>;
|
|
18453
|
+
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
18454
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
18455
|
+
shippingCode: z.ZodOptional<z.ZodString>;
|
|
18456
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
17683
18457
|
}, "strip", z.ZodTypeAny, {
|
|
17684
18458
|
name?: string | undefined;
|
|
17685
18459
|
id?: string | undefined;
|
|
@@ -17698,8 +18472,56 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17698
18472
|
returnable?: boolean | undefined;
|
|
17699
18473
|
exchangeable?: boolean | undefined;
|
|
17700
18474
|
shippingAddressChangeable?: boolean | undefined;
|
|
18475
|
+
nonCancelableReason?: string | undefined;
|
|
18476
|
+
nonReturnableReason?: string | undefined;
|
|
18477
|
+
nonExchangeableReason?: string | undefined;
|
|
18478
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17701
18479
|
} | undefined;
|
|
17702
|
-
|
|
18480
|
+
trackingNumber?: string | undefined;
|
|
18481
|
+
trackingCompany?: string | undefined;
|
|
18482
|
+
trackingCompanyName?: string | undefined;
|
|
18483
|
+
taxLines?: {
|
|
18484
|
+
title?: string | undefined;
|
|
18485
|
+
amount?: number | undefined;
|
|
18486
|
+
rate?: number | undefined;
|
|
18487
|
+
ratePercentage?: number | undefined;
|
|
18488
|
+
}[] | undefined;
|
|
18489
|
+
sku?: string | undefined;
|
|
18490
|
+
optionAmount?: number | undefined;
|
|
18491
|
+
supplierId?: string | undefined;
|
|
18492
|
+
productCode?: string | undefined;
|
|
18493
|
+
unfulfilledQuantity?: number | undefined;
|
|
18494
|
+
requiresShipping?: boolean | undefined;
|
|
18495
|
+
sellingPlanName?: string | undefined;
|
|
18496
|
+
sellingPlanId?: string | undefined;
|
|
18497
|
+
customAttributes?: {
|
|
18498
|
+
value?: string | undefined;
|
|
18499
|
+
key?: string | undefined;
|
|
18500
|
+
}[] | undefined;
|
|
18501
|
+
statusCode?: string | undefined;
|
|
18502
|
+
statusText?: string | undefined;
|
|
18503
|
+
claimStatusCode?: string | undefined;
|
|
18504
|
+
supplierName?: string | undefined;
|
|
18505
|
+
bundle?: boolean | undefined;
|
|
18506
|
+
bundleId?: string | undefined;
|
|
18507
|
+
bundleName?: string | undefined;
|
|
18508
|
+
bundleType?: string | undefined;
|
|
18509
|
+
bundleItems?: {
|
|
18510
|
+
name?: string | undefined;
|
|
18511
|
+
amount?: number | undefined;
|
|
18512
|
+
quantity?: number | undefined;
|
|
18513
|
+
option?: string | undefined;
|
|
18514
|
+
productId?: string | undefined;
|
|
18515
|
+
variantId?: string | undefined;
|
|
18516
|
+
sku?: string | undefined;
|
|
18517
|
+
optionAmount?: number | undefined;
|
|
18518
|
+
supplierId?: string | undefined;
|
|
18519
|
+
productCode?: string | undefined;
|
|
18520
|
+
}[] | undefined;
|
|
18521
|
+
itemNo?: string | undefined;
|
|
18522
|
+
optionType?: string | undefined;
|
|
18523
|
+
shippingCode?: string | undefined;
|
|
18524
|
+
}, {
|
|
17703
18525
|
name?: string | undefined;
|
|
17704
18526
|
id?: string | undefined;
|
|
17705
18527
|
imageUrl?: string | undefined;
|
|
@@ -17717,7 +18539,55 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17717
18539
|
returnable?: boolean | undefined;
|
|
17718
18540
|
exchangeable?: boolean | undefined;
|
|
17719
18541
|
shippingAddressChangeable?: boolean | undefined;
|
|
18542
|
+
nonCancelableReason?: string | undefined;
|
|
18543
|
+
nonReturnableReason?: string | undefined;
|
|
18544
|
+
nonExchangeableReason?: string | undefined;
|
|
18545
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17720
18546
|
} | undefined;
|
|
18547
|
+
trackingNumber?: string | undefined;
|
|
18548
|
+
trackingCompany?: string | undefined;
|
|
18549
|
+
trackingCompanyName?: string | undefined;
|
|
18550
|
+
taxLines?: {
|
|
18551
|
+
title?: string | undefined;
|
|
18552
|
+
amount?: number | undefined;
|
|
18553
|
+
rate?: number | undefined;
|
|
18554
|
+
ratePercentage?: number | undefined;
|
|
18555
|
+
}[] | undefined;
|
|
18556
|
+
sku?: string | undefined;
|
|
18557
|
+
optionAmount?: number | undefined;
|
|
18558
|
+
supplierId?: string | undefined;
|
|
18559
|
+
productCode?: string | undefined;
|
|
18560
|
+
unfulfilledQuantity?: number | undefined;
|
|
18561
|
+
requiresShipping?: boolean | undefined;
|
|
18562
|
+
sellingPlanName?: string | undefined;
|
|
18563
|
+
sellingPlanId?: string | undefined;
|
|
18564
|
+
customAttributes?: {
|
|
18565
|
+
value?: string | undefined;
|
|
18566
|
+
key?: string | undefined;
|
|
18567
|
+
}[] | undefined;
|
|
18568
|
+
statusCode?: string | undefined;
|
|
18569
|
+
statusText?: string | undefined;
|
|
18570
|
+
claimStatusCode?: string | undefined;
|
|
18571
|
+
supplierName?: string | undefined;
|
|
18572
|
+
bundle?: boolean | undefined;
|
|
18573
|
+
bundleId?: string | undefined;
|
|
18574
|
+
bundleName?: string | undefined;
|
|
18575
|
+
bundleType?: string | undefined;
|
|
18576
|
+
bundleItems?: {
|
|
18577
|
+
name?: string | undefined;
|
|
18578
|
+
amount?: number | undefined;
|
|
18579
|
+
quantity?: number | undefined;
|
|
18580
|
+
option?: string | undefined;
|
|
18581
|
+
productId?: string | undefined;
|
|
18582
|
+
variantId?: string | undefined;
|
|
18583
|
+
sku?: string | undefined;
|
|
18584
|
+
optionAmount?: number | undefined;
|
|
18585
|
+
supplierId?: string | undefined;
|
|
18586
|
+
productCode?: string | undefined;
|
|
18587
|
+
}[] | undefined;
|
|
18588
|
+
itemNo?: string | undefined;
|
|
18589
|
+
optionType?: string | undefined;
|
|
18590
|
+
shippingCode?: string | undefined;
|
|
17721
18591
|
}>>, "many">>;
|
|
17722
18592
|
payment: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
17723
18593
|
state: z.ZodOptional<z.ZodString>;
|
|
@@ -17728,6 +18598,11 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17728
18598
|
discountAmount: z.ZodOptional<z.ZodNumber>;
|
|
17729
18599
|
methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17730
18600
|
requireRefundBankAccount: z.ZodOptional<z.ZodBoolean>;
|
|
18601
|
+
taxAmount: z.ZodOptional<z.ZodNumber>;
|
|
18602
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
18603
|
+
creditAmount: z.ZodOptional<z.ZodNumber>;
|
|
18604
|
+
couponDiscountAmount: z.ZodOptional<z.ZodNumber>;
|
|
18605
|
+
dueAmount: z.ZodOptional<z.ZodNumber>;
|
|
17731
18606
|
}, "strip", z.ZodTypeAny, {
|
|
17732
18607
|
state?: string | undefined;
|
|
17733
18608
|
currency?: string | undefined;
|
|
@@ -17737,6 +18612,11 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17737
18612
|
discountAmount?: number | undefined;
|
|
17738
18613
|
methods?: string[] | undefined;
|
|
17739
18614
|
requireRefundBankAccount?: boolean | undefined;
|
|
18615
|
+
taxAmount?: number | undefined;
|
|
18616
|
+
pointAmount?: number | undefined;
|
|
18617
|
+
creditAmount?: number | undefined;
|
|
18618
|
+
couponDiscountAmount?: number | undefined;
|
|
18619
|
+
dueAmount?: number | undefined;
|
|
17740
18620
|
}, {
|
|
17741
18621
|
state?: string | undefined;
|
|
17742
18622
|
currency?: string | undefined;
|
|
@@ -17746,6 +18626,11 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17746
18626
|
discountAmount?: number | undefined;
|
|
17747
18627
|
methods?: string[] | undefined;
|
|
17748
18628
|
requireRefundBankAccount?: boolean | undefined;
|
|
18629
|
+
taxAmount?: number | undefined;
|
|
18630
|
+
pointAmount?: number | undefined;
|
|
18631
|
+
creditAmount?: number | undefined;
|
|
18632
|
+
couponDiscountAmount?: number | undefined;
|
|
18633
|
+
dueAmount?: number | undefined;
|
|
17749
18634
|
}>>>;
|
|
17750
18635
|
fulfillments: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
17751
18636
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -17755,22 +18640,43 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17755
18640
|
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
17756
18641
|
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
17757
18642
|
estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
|
|
18643
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
18644
|
+
items: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18645
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
18646
|
+
state: z.ZodOptional<z.ZodString>;
|
|
18647
|
+
}, "strip", z.ZodTypeAny, {
|
|
18648
|
+
state?: string | undefined;
|
|
18649
|
+
itemId?: string | undefined;
|
|
18650
|
+
}, {
|
|
18651
|
+
state?: string | undefined;
|
|
18652
|
+
itemId?: string | undefined;
|
|
18653
|
+
}>>, "many">>;
|
|
17758
18654
|
}, "strip", z.ZodTypeAny, {
|
|
17759
18655
|
id?: string | undefined;
|
|
18656
|
+
items?: {
|
|
18657
|
+
state?: string | undefined;
|
|
18658
|
+
itemId?: string | undefined;
|
|
18659
|
+
}[] | undefined;
|
|
17760
18660
|
state?: string | undefined;
|
|
17761
18661
|
itemIds?: string[] | undefined;
|
|
17762
18662
|
trackingNumber?: string | undefined;
|
|
17763
18663
|
trackingCompany?: string | undefined;
|
|
17764
18664
|
trackingUrl?: string | undefined;
|
|
17765
18665
|
estimatedDeliveryDate?: number | undefined;
|
|
18666
|
+
trackingCompanyName?: string | undefined;
|
|
17766
18667
|
}, {
|
|
17767
18668
|
id?: string | undefined;
|
|
18669
|
+
items?: {
|
|
18670
|
+
state?: string | undefined;
|
|
18671
|
+
itemId?: string | undefined;
|
|
18672
|
+
}[] | undefined;
|
|
17768
18673
|
state?: string | undefined;
|
|
17769
18674
|
itemIds?: string[] | undefined;
|
|
17770
18675
|
trackingNumber?: string | undefined;
|
|
17771
18676
|
trackingCompany?: string | undefined;
|
|
17772
18677
|
trackingUrl?: string | undefined;
|
|
17773
18678
|
estimatedDeliveryDate?: number | undefined;
|
|
18679
|
+
trackingCompanyName?: string | undefined;
|
|
17774
18680
|
}>>, "many">>;
|
|
17775
18681
|
shippingAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
17776
18682
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -17785,8 +18691,10 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17785
18691
|
country: z.ZodOptional<z.ZodString>;
|
|
17786
18692
|
city: z.ZodOptional<z.ZodString>;
|
|
17787
18693
|
province: z.ZodOptional<z.ZodString>;
|
|
18694
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
17788
18695
|
}, "strip", z.ZodTypeAny, {
|
|
17789
18696
|
email?: string | undefined;
|
|
18697
|
+
countryCode?: string | undefined;
|
|
17790
18698
|
address1?: string | undefined;
|
|
17791
18699
|
address2?: string | undefined;
|
|
17792
18700
|
firstName?: string | undefined;
|
|
@@ -17800,6 +18708,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17800
18708
|
province?: string | undefined;
|
|
17801
18709
|
}, {
|
|
17802
18710
|
email?: string | undefined;
|
|
18711
|
+
countryCode?: string | undefined;
|
|
17803
18712
|
address1?: string | undefined;
|
|
17804
18713
|
address2?: string | undefined;
|
|
17805
18714
|
firstName?: string | undefined;
|
|
@@ -17834,6 +18743,163 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17834
18743
|
itemIds?: string[] | undefined;
|
|
17835
18744
|
createdAt?: number | undefined;
|
|
17836
18745
|
}>>, "many">>;
|
|
18746
|
+
adminUrl: z.ZodOptional<z.ZodString>;
|
|
18747
|
+
note: z.ZodOptional<z.ZodString>;
|
|
18748
|
+
displayFinancialStatus: z.ZodOptional<z.ZodString>;
|
|
18749
|
+
displayFulfillmentStatus: z.ZodOptional<z.ZodString>;
|
|
18750
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
18751
|
+
firstOrder: z.ZodOptional<z.ZodBoolean>;
|
|
18752
|
+
closed: z.ZodOptional<z.ZodBoolean>;
|
|
18753
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
18754
|
+
taxesIncluded: z.ZodOptional<z.ZodBoolean>;
|
|
18755
|
+
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
18756
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
18757
|
+
billingAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
18758
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
18759
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
18760
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
18761
|
+
email: z.ZodOptional<z.ZodString>;
|
|
18762
|
+
cellPhoneNumber: z.ZodOptional<z.ZodString>;
|
|
18763
|
+
zipcode: z.ZodOptional<z.ZodString>;
|
|
18764
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
18765
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
18766
|
+
shippingMessage: z.ZodOptional<z.ZodString>;
|
|
18767
|
+
country: z.ZodOptional<z.ZodString>;
|
|
18768
|
+
city: z.ZodOptional<z.ZodString>;
|
|
18769
|
+
province: z.ZodOptional<z.ZodString>;
|
|
18770
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
18771
|
+
}, "strip", z.ZodTypeAny, {
|
|
18772
|
+
email?: string | undefined;
|
|
18773
|
+
countryCode?: string | undefined;
|
|
18774
|
+
address1?: string | undefined;
|
|
18775
|
+
address2?: string | undefined;
|
|
18776
|
+
firstName?: string | undefined;
|
|
18777
|
+
lastName?: string | undefined;
|
|
18778
|
+
phoneNumber?: string | undefined;
|
|
18779
|
+
cellPhoneNumber?: string | undefined;
|
|
18780
|
+
zipcode?: string | undefined;
|
|
18781
|
+
shippingMessage?: string | undefined;
|
|
18782
|
+
country?: string | undefined;
|
|
18783
|
+
city?: string | undefined;
|
|
18784
|
+
province?: string | undefined;
|
|
18785
|
+
}, {
|
|
18786
|
+
email?: string | undefined;
|
|
18787
|
+
countryCode?: string | undefined;
|
|
18788
|
+
address1?: string | undefined;
|
|
18789
|
+
address2?: string | undefined;
|
|
18790
|
+
firstName?: string | undefined;
|
|
18791
|
+
lastName?: string | undefined;
|
|
18792
|
+
phoneNumber?: string | undefined;
|
|
18793
|
+
cellPhoneNumber?: string | undefined;
|
|
18794
|
+
zipcode?: string | undefined;
|
|
18795
|
+
shippingMessage?: string | undefined;
|
|
18796
|
+
country?: string | undefined;
|
|
18797
|
+
city?: string | undefined;
|
|
18798
|
+
province?: string | undefined;
|
|
18799
|
+
}>>>;
|
|
18800
|
+
customAttributes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18801
|
+
key: z.ZodOptional<z.ZodString>;
|
|
18802
|
+
value: z.ZodOptional<z.ZodString>;
|
|
18803
|
+
}, "strip", z.ZodTypeAny, {
|
|
18804
|
+
value?: string | undefined;
|
|
18805
|
+
key?: string | undefined;
|
|
18806
|
+
}, {
|
|
18807
|
+
value?: string | undefined;
|
|
18808
|
+
key?: string | undefined;
|
|
18809
|
+
}>>, "many">>;
|
|
18810
|
+
shippingLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18811
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18812
|
+
title: z.ZodOptional<z.ZodString>;
|
|
18813
|
+
code: z.ZodOptional<z.ZodString>;
|
|
18814
|
+
carrierIdentifier: z.ZodOptional<z.ZodString>;
|
|
18815
|
+
taxLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18816
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
18817
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
18818
|
+
title: z.ZodOptional<z.ZodString>;
|
|
18819
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18820
|
+
}, "strip", z.ZodTypeAny, {
|
|
18821
|
+
title?: string | undefined;
|
|
18822
|
+
amount?: number | undefined;
|
|
18823
|
+
rate?: number | undefined;
|
|
18824
|
+
ratePercentage?: number | undefined;
|
|
18825
|
+
}, {
|
|
18826
|
+
title?: string | undefined;
|
|
18827
|
+
amount?: number | undefined;
|
|
18828
|
+
rate?: number | undefined;
|
|
18829
|
+
ratePercentage?: number | undefined;
|
|
18830
|
+
}>>, "many">>;
|
|
18831
|
+
}, "strip", z.ZodTypeAny, {
|
|
18832
|
+
code?: string | undefined;
|
|
18833
|
+
id?: string | undefined;
|
|
18834
|
+
title?: string | undefined;
|
|
18835
|
+
carrierIdentifier?: string | undefined;
|
|
18836
|
+
taxLines?: {
|
|
18837
|
+
title?: string | undefined;
|
|
18838
|
+
amount?: number | undefined;
|
|
18839
|
+
rate?: number | undefined;
|
|
18840
|
+
ratePercentage?: number | undefined;
|
|
18841
|
+
}[] | undefined;
|
|
18842
|
+
}, {
|
|
18843
|
+
code?: string | undefined;
|
|
18844
|
+
id?: string | undefined;
|
|
18845
|
+
title?: string | undefined;
|
|
18846
|
+
carrierIdentifier?: string | undefined;
|
|
18847
|
+
taxLines?: {
|
|
18848
|
+
title?: string | undefined;
|
|
18849
|
+
amount?: number | undefined;
|
|
18850
|
+
rate?: number | undefined;
|
|
18851
|
+
ratePercentage?: number | undefined;
|
|
18852
|
+
}[] | undefined;
|
|
18853
|
+
}>>, "many">>;
|
|
18854
|
+
transactions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18855
|
+
id: z.ZodOptional<z.ZodString>;
|
|
18856
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
18857
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
18858
|
+
status: z.ZodOptional<z.ZodString>;
|
|
18859
|
+
gateway: z.ZodOptional<z.ZodString>;
|
|
18860
|
+
manualPaymentGateway: z.ZodOptional<z.ZodBoolean>;
|
|
18861
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
18862
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
18863
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
18864
|
+
}, "strip", z.ZodTypeAny, {
|
|
18865
|
+
status?: string | undefined;
|
|
18866
|
+
id?: string | undefined;
|
|
18867
|
+
kind?: string | undefined;
|
|
18868
|
+
createdAt?: number | undefined;
|
|
18869
|
+
amount?: number | undefined;
|
|
18870
|
+
currency?: string | undefined;
|
|
18871
|
+
parentId?: string | undefined;
|
|
18872
|
+
gateway?: string | undefined;
|
|
18873
|
+
manualPaymentGateway?: boolean | undefined;
|
|
18874
|
+
}, {
|
|
18875
|
+
status?: string | undefined;
|
|
18876
|
+
id?: string | undefined;
|
|
18877
|
+
kind?: string | undefined;
|
|
18878
|
+
createdAt?: number | undefined;
|
|
18879
|
+
amount?: number | undefined;
|
|
18880
|
+
currency?: string | undefined;
|
|
18881
|
+
parentId?: string | undefined;
|
|
18882
|
+
gateway?: string | undefined;
|
|
18883
|
+
manualPaymentGateway?: boolean | undefined;
|
|
18884
|
+
}>>, "many">>;
|
|
18885
|
+
metafields: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18886
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
18887
|
+
key: z.ZodOptional<z.ZodString>;
|
|
18888
|
+
value: z.ZodOptional<z.ZodString>;
|
|
18889
|
+
type: z.ZodOptional<z.ZodString>;
|
|
18890
|
+
}, "strip", z.ZodTypeAny, {
|
|
18891
|
+
type?: string | undefined;
|
|
18892
|
+
value?: string | undefined;
|
|
18893
|
+
key?: string | undefined;
|
|
18894
|
+
namespace?: string | undefined;
|
|
18895
|
+
}, {
|
|
18896
|
+
type?: string | undefined;
|
|
18897
|
+
value?: string | undefined;
|
|
18898
|
+
key?: string | undefined;
|
|
18899
|
+
namespace?: string | undefined;
|
|
18900
|
+
}>>, "many">>;
|
|
18901
|
+
marketId: z.ZodOptional<z.ZodString>;
|
|
18902
|
+
marketOrderNo: z.ZodOptional<z.ZodString>;
|
|
17837
18903
|
}, "strip", z.ZodTypeAny, {
|
|
17838
18904
|
id?: string | undefined;
|
|
17839
18905
|
title?: string | undefined;
|
|
@@ -17855,8 +18921,57 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17855
18921
|
returnable?: boolean | undefined;
|
|
17856
18922
|
exchangeable?: boolean | undefined;
|
|
17857
18923
|
shippingAddressChangeable?: boolean | undefined;
|
|
18924
|
+
nonCancelableReason?: string | undefined;
|
|
18925
|
+
nonReturnableReason?: string | undefined;
|
|
18926
|
+
nonExchangeableReason?: string | undefined;
|
|
18927
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17858
18928
|
} | undefined;
|
|
18929
|
+
trackingNumber?: string | undefined;
|
|
18930
|
+
trackingCompany?: string | undefined;
|
|
18931
|
+
trackingCompanyName?: string | undefined;
|
|
18932
|
+
taxLines?: {
|
|
18933
|
+
title?: string | undefined;
|
|
18934
|
+
amount?: number | undefined;
|
|
18935
|
+
rate?: number | undefined;
|
|
18936
|
+
ratePercentage?: number | undefined;
|
|
18937
|
+
}[] | undefined;
|
|
18938
|
+
sku?: string | undefined;
|
|
18939
|
+
optionAmount?: number | undefined;
|
|
18940
|
+
supplierId?: string | undefined;
|
|
18941
|
+
productCode?: string | undefined;
|
|
18942
|
+
unfulfilledQuantity?: number | undefined;
|
|
18943
|
+
requiresShipping?: boolean | undefined;
|
|
18944
|
+
sellingPlanName?: string | undefined;
|
|
18945
|
+
sellingPlanId?: string | undefined;
|
|
18946
|
+
customAttributes?: {
|
|
18947
|
+
value?: string | undefined;
|
|
18948
|
+
key?: string | undefined;
|
|
18949
|
+
}[] | undefined;
|
|
18950
|
+
statusCode?: string | undefined;
|
|
18951
|
+
statusText?: string | undefined;
|
|
18952
|
+
claimStatusCode?: string | undefined;
|
|
18953
|
+
supplierName?: string | undefined;
|
|
18954
|
+
bundle?: boolean | undefined;
|
|
18955
|
+
bundleId?: string | undefined;
|
|
18956
|
+
bundleName?: string | undefined;
|
|
18957
|
+
bundleType?: string | undefined;
|
|
18958
|
+
bundleItems?: {
|
|
18959
|
+
name?: string | undefined;
|
|
18960
|
+
amount?: number | undefined;
|
|
18961
|
+
quantity?: number | undefined;
|
|
18962
|
+
option?: string | undefined;
|
|
18963
|
+
productId?: string | undefined;
|
|
18964
|
+
variantId?: string | undefined;
|
|
18965
|
+
sku?: string | undefined;
|
|
18966
|
+
optionAmount?: number | undefined;
|
|
18967
|
+
supplierId?: string | undefined;
|
|
18968
|
+
productCode?: string | undefined;
|
|
18969
|
+
}[] | undefined;
|
|
18970
|
+
itemNo?: string | undefined;
|
|
18971
|
+
optionType?: string | undefined;
|
|
18972
|
+
shippingCode?: string | undefined;
|
|
17859
18973
|
}[] | undefined;
|
|
18974
|
+
confirmed?: boolean | undefined;
|
|
17860
18975
|
payment?: {
|
|
17861
18976
|
state?: string | undefined;
|
|
17862
18977
|
currency?: string | undefined;
|
|
@@ -17866,18 +18981,29 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17866
18981
|
discountAmount?: number | undefined;
|
|
17867
18982
|
methods?: string[] | undefined;
|
|
17868
18983
|
requireRefundBankAccount?: boolean | undefined;
|
|
18984
|
+
taxAmount?: number | undefined;
|
|
18985
|
+
pointAmount?: number | undefined;
|
|
18986
|
+
creditAmount?: number | undefined;
|
|
18987
|
+
couponDiscountAmount?: number | undefined;
|
|
18988
|
+
dueAmount?: number | undefined;
|
|
17869
18989
|
} | undefined;
|
|
17870
18990
|
fulfillments?: {
|
|
17871
18991
|
id?: string | undefined;
|
|
18992
|
+
items?: {
|
|
18993
|
+
state?: string | undefined;
|
|
18994
|
+
itemId?: string | undefined;
|
|
18995
|
+
}[] | undefined;
|
|
17872
18996
|
state?: string | undefined;
|
|
17873
18997
|
itemIds?: string[] | undefined;
|
|
17874
18998
|
trackingNumber?: string | undefined;
|
|
17875
18999
|
trackingCompany?: string | undefined;
|
|
17876
19000
|
trackingUrl?: string | undefined;
|
|
17877
19001
|
estimatedDeliveryDate?: number | undefined;
|
|
19002
|
+
trackingCompanyName?: string | undefined;
|
|
17878
19003
|
}[] | undefined;
|
|
17879
19004
|
shippingAddress?: {
|
|
17880
19005
|
email?: string | undefined;
|
|
19006
|
+
countryCode?: string | undefined;
|
|
17881
19007
|
address1?: string | undefined;
|
|
17882
19008
|
address2?: string | undefined;
|
|
17883
19009
|
firstName?: string | undefined;
|
|
@@ -17904,7 +19030,67 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17904
19030
|
phone?: string | undefined;
|
|
17905
19031
|
memberId?: string | undefined;
|
|
17906
19032
|
} | undefined;
|
|
19033
|
+
customAttributes?: {
|
|
19034
|
+
value?: string | undefined;
|
|
19035
|
+
key?: string | undefined;
|
|
19036
|
+
}[] | undefined;
|
|
17907
19037
|
orderedAt?: number | undefined;
|
|
19038
|
+
adminUrl?: string | undefined;
|
|
19039
|
+
note?: string | undefined;
|
|
19040
|
+
displayFinancialStatus?: string | undefined;
|
|
19041
|
+
displayFulfillmentStatus?: string | undefined;
|
|
19042
|
+
test?: boolean | undefined;
|
|
19043
|
+
firstOrder?: boolean | undefined;
|
|
19044
|
+
closed?: boolean | undefined;
|
|
19045
|
+
taxesIncluded?: boolean | undefined;
|
|
19046
|
+
totalWeight?: number | undefined;
|
|
19047
|
+
appName?: string | undefined;
|
|
19048
|
+
billingAddress?: {
|
|
19049
|
+
email?: string | undefined;
|
|
19050
|
+
countryCode?: string | undefined;
|
|
19051
|
+
address1?: string | undefined;
|
|
19052
|
+
address2?: string | undefined;
|
|
19053
|
+
firstName?: string | undefined;
|
|
19054
|
+
lastName?: string | undefined;
|
|
19055
|
+
phoneNumber?: string | undefined;
|
|
19056
|
+
cellPhoneNumber?: string | undefined;
|
|
19057
|
+
zipcode?: string | undefined;
|
|
19058
|
+
shippingMessage?: string | undefined;
|
|
19059
|
+
country?: string | undefined;
|
|
19060
|
+
city?: string | undefined;
|
|
19061
|
+
province?: string | undefined;
|
|
19062
|
+
} | undefined;
|
|
19063
|
+
shippingLines?: {
|
|
19064
|
+
code?: string | undefined;
|
|
19065
|
+
id?: string | undefined;
|
|
19066
|
+
title?: string | undefined;
|
|
19067
|
+
carrierIdentifier?: string | undefined;
|
|
19068
|
+
taxLines?: {
|
|
19069
|
+
title?: string | undefined;
|
|
19070
|
+
amount?: number | undefined;
|
|
19071
|
+
rate?: number | undefined;
|
|
19072
|
+
ratePercentage?: number | undefined;
|
|
19073
|
+
}[] | undefined;
|
|
19074
|
+
}[] | undefined;
|
|
19075
|
+
transactions?: {
|
|
19076
|
+
status?: string | undefined;
|
|
19077
|
+
id?: string | undefined;
|
|
19078
|
+
kind?: string | undefined;
|
|
19079
|
+
createdAt?: number | undefined;
|
|
19080
|
+
amount?: number | undefined;
|
|
19081
|
+
currency?: string | undefined;
|
|
19082
|
+
parentId?: string | undefined;
|
|
19083
|
+
gateway?: string | undefined;
|
|
19084
|
+
manualPaymentGateway?: boolean | undefined;
|
|
19085
|
+
}[] | undefined;
|
|
19086
|
+
metafields?: {
|
|
19087
|
+
type?: string | undefined;
|
|
19088
|
+
value?: string | undefined;
|
|
19089
|
+
key?: string | undefined;
|
|
19090
|
+
namespace?: string | undefined;
|
|
19091
|
+
}[] | undefined;
|
|
19092
|
+
marketId?: string | undefined;
|
|
19093
|
+
marketOrderNo?: string | undefined;
|
|
17908
19094
|
}, {
|
|
17909
19095
|
id?: string | undefined;
|
|
17910
19096
|
title?: string | undefined;
|
|
@@ -17926,8 +19112,57 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17926
19112
|
returnable?: boolean | undefined;
|
|
17927
19113
|
exchangeable?: boolean | undefined;
|
|
17928
19114
|
shippingAddressChangeable?: boolean | undefined;
|
|
19115
|
+
nonCancelableReason?: string | undefined;
|
|
19116
|
+
nonReturnableReason?: string | undefined;
|
|
19117
|
+
nonExchangeableReason?: string | undefined;
|
|
19118
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
17929
19119
|
} | undefined;
|
|
19120
|
+
trackingNumber?: string | undefined;
|
|
19121
|
+
trackingCompany?: string | undefined;
|
|
19122
|
+
trackingCompanyName?: string | undefined;
|
|
19123
|
+
taxLines?: {
|
|
19124
|
+
title?: string | undefined;
|
|
19125
|
+
amount?: number | undefined;
|
|
19126
|
+
rate?: number | undefined;
|
|
19127
|
+
ratePercentage?: number | undefined;
|
|
19128
|
+
}[] | undefined;
|
|
19129
|
+
sku?: string | undefined;
|
|
19130
|
+
optionAmount?: number | undefined;
|
|
19131
|
+
supplierId?: string | undefined;
|
|
19132
|
+
productCode?: string | undefined;
|
|
19133
|
+
unfulfilledQuantity?: number | undefined;
|
|
19134
|
+
requiresShipping?: boolean | undefined;
|
|
19135
|
+
sellingPlanName?: string | undefined;
|
|
19136
|
+
sellingPlanId?: string | undefined;
|
|
19137
|
+
customAttributes?: {
|
|
19138
|
+
value?: string | undefined;
|
|
19139
|
+
key?: string | undefined;
|
|
19140
|
+
}[] | undefined;
|
|
19141
|
+
statusCode?: string | undefined;
|
|
19142
|
+
statusText?: string | undefined;
|
|
19143
|
+
claimStatusCode?: string | undefined;
|
|
19144
|
+
supplierName?: string | undefined;
|
|
19145
|
+
bundle?: boolean | undefined;
|
|
19146
|
+
bundleId?: string | undefined;
|
|
19147
|
+
bundleName?: string | undefined;
|
|
19148
|
+
bundleType?: string | undefined;
|
|
19149
|
+
bundleItems?: {
|
|
19150
|
+
name?: string | undefined;
|
|
19151
|
+
amount?: number | undefined;
|
|
19152
|
+
quantity?: number | undefined;
|
|
19153
|
+
option?: string | undefined;
|
|
19154
|
+
productId?: string | undefined;
|
|
19155
|
+
variantId?: string | undefined;
|
|
19156
|
+
sku?: string | undefined;
|
|
19157
|
+
optionAmount?: number | undefined;
|
|
19158
|
+
supplierId?: string | undefined;
|
|
19159
|
+
productCode?: string | undefined;
|
|
19160
|
+
}[] | undefined;
|
|
19161
|
+
itemNo?: string | undefined;
|
|
19162
|
+
optionType?: string | undefined;
|
|
19163
|
+
shippingCode?: string | undefined;
|
|
17930
19164
|
}[] | undefined;
|
|
19165
|
+
confirmed?: boolean | undefined;
|
|
17931
19166
|
payment?: {
|
|
17932
19167
|
state?: string | undefined;
|
|
17933
19168
|
currency?: string | undefined;
|
|
@@ -17937,18 +19172,29 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17937
19172
|
discountAmount?: number | undefined;
|
|
17938
19173
|
methods?: string[] | undefined;
|
|
17939
19174
|
requireRefundBankAccount?: boolean | undefined;
|
|
19175
|
+
taxAmount?: number | undefined;
|
|
19176
|
+
pointAmount?: number | undefined;
|
|
19177
|
+
creditAmount?: number | undefined;
|
|
19178
|
+
couponDiscountAmount?: number | undefined;
|
|
19179
|
+
dueAmount?: number | undefined;
|
|
17940
19180
|
} | undefined;
|
|
17941
19181
|
fulfillments?: {
|
|
17942
19182
|
id?: string | undefined;
|
|
19183
|
+
items?: {
|
|
19184
|
+
state?: string | undefined;
|
|
19185
|
+
itemId?: string | undefined;
|
|
19186
|
+
}[] | undefined;
|
|
17943
19187
|
state?: string | undefined;
|
|
17944
19188
|
itemIds?: string[] | undefined;
|
|
17945
19189
|
trackingNumber?: string | undefined;
|
|
17946
19190
|
trackingCompany?: string | undefined;
|
|
17947
19191
|
trackingUrl?: string | undefined;
|
|
17948
19192
|
estimatedDeliveryDate?: number | undefined;
|
|
19193
|
+
trackingCompanyName?: string | undefined;
|
|
17949
19194
|
}[] | undefined;
|
|
17950
19195
|
shippingAddress?: {
|
|
17951
19196
|
email?: string | undefined;
|
|
19197
|
+
countryCode?: string | undefined;
|
|
17952
19198
|
address1?: string | undefined;
|
|
17953
19199
|
address2?: string | undefined;
|
|
17954
19200
|
firstName?: string | undefined;
|
|
@@ -17975,7 +19221,67 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
17975
19221
|
phone?: string | undefined;
|
|
17976
19222
|
memberId?: string | undefined;
|
|
17977
19223
|
} | undefined;
|
|
19224
|
+
customAttributes?: {
|
|
19225
|
+
value?: string | undefined;
|
|
19226
|
+
key?: string | undefined;
|
|
19227
|
+
}[] | undefined;
|
|
17978
19228
|
orderedAt?: number | undefined;
|
|
19229
|
+
adminUrl?: string | undefined;
|
|
19230
|
+
note?: string | undefined;
|
|
19231
|
+
displayFinancialStatus?: string | undefined;
|
|
19232
|
+
displayFulfillmentStatus?: string | undefined;
|
|
19233
|
+
test?: boolean | undefined;
|
|
19234
|
+
firstOrder?: boolean | undefined;
|
|
19235
|
+
closed?: boolean | undefined;
|
|
19236
|
+
taxesIncluded?: boolean | undefined;
|
|
19237
|
+
totalWeight?: number | undefined;
|
|
19238
|
+
appName?: string | undefined;
|
|
19239
|
+
billingAddress?: {
|
|
19240
|
+
email?: string | undefined;
|
|
19241
|
+
countryCode?: string | undefined;
|
|
19242
|
+
address1?: string | undefined;
|
|
19243
|
+
address2?: string | undefined;
|
|
19244
|
+
firstName?: string | undefined;
|
|
19245
|
+
lastName?: string | undefined;
|
|
19246
|
+
phoneNumber?: string | undefined;
|
|
19247
|
+
cellPhoneNumber?: string | undefined;
|
|
19248
|
+
zipcode?: string | undefined;
|
|
19249
|
+
shippingMessage?: string | undefined;
|
|
19250
|
+
country?: string | undefined;
|
|
19251
|
+
city?: string | undefined;
|
|
19252
|
+
province?: string | undefined;
|
|
19253
|
+
} | undefined;
|
|
19254
|
+
shippingLines?: {
|
|
19255
|
+
code?: string | undefined;
|
|
19256
|
+
id?: string | undefined;
|
|
19257
|
+
title?: string | undefined;
|
|
19258
|
+
carrierIdentifier?: string | undefined;
|
|
19259
|
+
taxLines?: {
|
|
19260
|
+
title?: string | undefined;
|
|
19261
|
+
amount?: number | undefined;
|
|
19262
|
+
rate?: number | undefined;
|
|
19263
|
+
ratePercentage?: number | undefined;
|
|
19264
|
+
}[] | undefined;
|
|
19265
|
+
}[] | undefined;
|
|
19266
|
+
transactions?: {
|
|
19267
|
+
status?: string | undefined;
|
|
19268
|
+
id?: string | undefined;
|
|
19269
|
+
kind?: string | undefined;
|
|
19270
|
+
createdAt?: number | undefined;
|
|
19271
|
+
amount?: number | undefined;
|
|
19272
|
+
currency?: string | undefined;
|
|
19273
|
+
parentId?: string | undefined;
|
|
19274
|
+
gateway?: string | undefined;
|
|
19275
|
+
manualPaymentGateway?: boolean | undefined;
|
|
19276
|
+
}[] | undefined;
|
|
19277
|
+
metafields?: {
|
|
19278
|
+
type?: string | undefined;
|
|
19279
|
+
value?: string | undefined;
|
|
19280
|
+
key?: string | undefined;
|
|
19281
|
+
namespace?: string | undefined;
|
|
19282
|
+
}[] | undefined;
|
|
19283
|
+
marketId?: string | undefined;
|
|
19284
|
+
marketOrderNo?: string | undefined;
|
|
17979
19285
|
}>;
|
|
17980
19286
|
export type CommerceOrderProto = z.infer<typeof CommerceOrderProtoSchema>;
|
|
17981
19287
|
export declare const CommerceGetOrdersInputProtoSchema: z.ZodObject<{
|
|
@@ -18049,17 +19355,111 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18049
19355
|
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
18050
19356
|
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
18051
19357
|
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
19358
|
+
nonCancelableReason: z.ZodOptional<z.ZodString>;
|
|
19359
|
+
nonReturnableReason: z.ZodOptional<z.ZodString>;
|
|
19360
|
+
nonExchangeableReason: z.ZodOptional<z.ZodString>;
|
|
19361
|
+
nonShippingAddressChangeableReason: z.ZodOptional<z.ZodString>;
|
|
18052
19362
|
}, "strip", z.ZodTypeAny, {
|
|
18053
19363
|
cancelable?: boolean | undefined;
|
|
18054
19364
|
returnable?: boolean | undefined;
|
|
18055
19365
|
exchangeable?: boolean | undefined;
|
|
18056
19366
|
shippingAddressChangeable?: boolean | undefined;
|
|
19367
|
+
nonCancelableReason?: string | undefined;
|
|
19368
|
+
nonReturnableReason?: string | undefined;
|
|
19369
|
+
nonExchangeableReason?: string | undefined;
|
|
19370
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18057
19371
|
}, {
|
|
18058
19372
|
cancelable?: boolean | undefined;
|
|
18059
19373
|
returnable?: boolean | undefined;
|
|
18060
19374
|
exchangeable?: boolean | undefined;
|
|
18061
19375
|
shippingAddressChangeable?: boolean | undefined;
|
|
19376
|
+
nonCancelableReason?: string | undefined;
|
|
19377
|
+
nonReturnableReason?: string | undefined;
|
|
19378
|
+
nonExchangeableReason?: string | undefined;
|
|
19379
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18062
19380
|
}>>>;
|
|
19381
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
19382
|
+
unfulfilledQuantity: z.ZodOptional<z.ZodNumber>;
|
|
19383
|
+
requiresShipping: z.ZodOptional<z.ZodBoolean>;
|
|
19384
|
+
sellingPlanName: z.ZodOptional<z.ZodString>;
|
|
19385
|
+
sellingPlanId: z.ZodOptional<z.ZodString>;
|
|
19386
|
+
customAttributes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19387
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19388
|
+
value: z.ZodOptional<z.ZodString>;
|
|
19389
|
+
}, "strip", z.ZodTypeAny, {
|
|
19390
|
+
value?: string | undefined;
|
|
19391
|
+
key?: string | undefined;
|
|
19392
|
+
}, {
|
|
19393
|
+
value?: string | undefined;
|
|
19394
|
+
key?: string | undefined;
|
|
19395
|
+
}>>, "many">>;
|
|
19396
|
+
taxLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19397
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
19398
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
19399
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19400
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
19401
|
+
}, "strip", z.ZodTypeAny, {
|
|
19402
|
+
title?: string | undefined;
|
|
19403
|
+
amount?: number | undefined;
|
|
19404
|
+
rate?: number | undefined;
|
|
19405
|
+
ratePercentage?: number | undefined;
|
|
19406
|
+
}, {
|
|
19407
|
+
title?: string | undefined;
|
|
19408
|
+
amount?: number | undefined;
|
|
19409
|
+
rate?: number | undefined;
|
|
19410
|
+
ratePercentage?: number | undefined;
|
|
19411
|
+
}>>, "many">>;
|
|
19412
|
+
statusCode: z.ZodOptional<z.ZodString>;
|
|
19413
|
+
statusText: z.ZodOptional<z.ZodString>;
|
|
19414
|
+
claimStatusCode: z.ZodOptional<z.ZodString>;
|
|
19415
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
19416
|
+
supplierName: z.ZodOptional<z.ZodString>;
|
|
19417
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
19418
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
19419
|
+
bundleId: z.ZodOptional<z.ZodString>;
|
|
19420
|
+
bundleName: z.ZodOptional<z.ZodString>;
|
|
19421
|
+
bundleType: z.ZodOptional<z.ZodString>;
|
|
19422
|
+
bundleItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19423
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
19424
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
19425
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19426
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
19427
|
+
option: z.ZodOptional<z.ZodString>;
|
|
19428
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
19429
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
19430
|
+
optionAmount: z.ZodOptional<z.ZodNumber>;
|
|
19431
|
+
supplierId: z.ZodOptional<z.ZodString>;
|
|
19432
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
19433
|
+
}, "strip", z.ZodTypeAny, {
|
|
19434
|
+
name?: string | undefined;
|
|
19435
|
+
amount?: number | undefined;
|
|
19436
|
+
quantity?: number | undefined;
|
|
19437
|
+
option?: string | undefined;
|
|
19438
|
+
productId?: string | undefined;
|
|
19439
|
+
variantId?: string | undefined;
|
|
19440
|
+
sku?: string | undefined;
|
|
19441
|
+
optionAmount?: number | undefined;
|
|
19442
|
+
supplierId?: string | undefined;
|
|
19443
|
+
productCode?: string | undefined;
|
|
19444
|
+
}, {
|
|
19445
|
+
name?: string | undefined;
|
|
19446
|
+
amount?: number | undefined;
|
|
19447
|
+
quantity?: number | undefined;
|
|
19448
|
+
option?: string | undefined;
|
|
19449
|
+
productId?: string | undefined;
|
|
19450
|
+
variantId?: string | undefined;
|
|
19451
|
+
sku?: string | undefined;
|
|
19452
|
+
optionAmount?: number | undefined;
|
|
19453
|
+
supplierId?: string | undefined;
|
|
19454
|
+
productCode?: string | undefined;
|
|
19455
|
+
}>>, "many">>;
|
|
19456
|
+
itemNo: z.ZodOptional<z.ZodString>;
|
|
19457
|
+
optionType: z.ZodOptional<z.ZodString>;
|
|
19458
|
+
trackingNumber: z.ZodOptional<z.ZodString>;
|
|
19459
|
+
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
19460
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
19461
|
+
shippingCode: z.ZodOptional<z.ZodString>;
|
|
19462
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
18063
19463
|
}, "strip", z.ZodTypeAny, {
|
|
18064
19464
|
name?: string | undefined;
|
|
18065
19465
|
id?: string | undefined;
|
|
@@ -18078,7 +19478,55 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18078
19478
|
returnable?: boolean | undefined;
|
|
18079
19479
|
exchangeable?: boolean | undefined;
|
|
18080
19480
|
shippingAddressChangeable?: boolean | undefined;
|
|
19481
|
+
nonCancelableReason?: string | undefined;
|
|
19482
|
+
nonReturnableReason?: string | undefined;
|
|
19483
|
+
nonExchangeableReason?: string | undefined;
|
|
19484
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18081
19485
|
} | undefined;
|
|
19486
|
+
trackingNumber?: string | undefined;
|
|
19487
|
+
trackingCompany?: string | undefined;
|
|
19488
|
+
trackingCompanyName?: string | undefined;
|
|
19489
|
+
taxLines?: {
|
|
19490
|
+
title?: string | undefined;
|
|
19491
|
+
amount?: number | undefined;
|
|
19492
|
+
rate?: number | undefined;
|
|
19493
|
+
ratePercentage?: number | undefined;
|
|
19494
|
+
}[] | undefined;
|
|
19495
|
+
sku?: string | undefined;
|
|
19496
|
+
optionAmount?: number | undefined;
|
|
19497
|
+
supplierId?: string | undefined;
|
|
19498
|
+
productCode?: string | undefined;
|
|
19499
|
+
unfulfilledQuantity?: number | undefined;
|
|
19500
|
+
requiresShipping?: boolean | undefined;
|
|
19501
|
+
sellingPlanName?: string | undefined;
|
|
19502
|
+
sellingPlanId?: string | undefined;
|
|
19503
|
+
customAttributes?: {
|
|
19504
|
+
value?: string | undefined;
|
|
19505
|
+
key?: string | undefined;
|
|
19506
|
+
}[] | undefined;
|
|
19507
|
+
statusCode?: string | undefined;
|
|
19508
|
+
statusText?: string | undefined;
|
|
19509
|
+
claimStatusCode?: string | undefined;
|
|
19510
|
+
supplierName?: string | undefined;
|
|
19511
|
+
bundle?: boolean | undefined;
|
|
19512
|
+
bundleId?: string | undefined;
|
|
19513
|
+
bundleName?: string | undefined;
|
|
19514
|
+
bundleType?: string | undefined;
|
|
19515
|
+
bundleItems?: {
|
|
19516
|
+
name?: string | undefined;
|
|
19517
|
+
amount?: number | undefined;
|
|
19518
|
+
quantity?: number | undefined;
|
|
19519
|
+
option?: string | undefined;
|
|
19520
|
+
productId?: string | undefined;
|
|
19521
|
+
variantId?: string | undefined;
|
|
19522
|
+
sku?: string | undefined;
|
|
19523
|
+
optionAmount?: number | undefined;
|
|
19524
|
+
supplierId?: string | undefined;
|
|
19525
|
+
productCode?: string | undefined;
|
|
19526
|
+
}[] | undefined;
|
|
19527
|
+
itemNo?: string | undefined;
|
|
19528
|
+
optionType?: string | undefined;
|
|
19529
|
+
shippingCode?: string | undefined;
|
|
18082
19530
|
}, {
|
|
18083
19531
|
name?: string | undefined;
|
|
18084
19532
|
id?: string | undefined;
|
|
@@ -18097,7 +19545,55 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18097
19545
|
returnable?: boolean | undefined;
|
|
18098
19546
|
exchangeable?: boolean | undefined;
|
|
18099
19547
|
shippingAddressChangeable?: boolean | undefined;
|
|
19548
|
+
nonCancelableReason?: string | undefined;
|
|
19549
|
+
nonReturnableReason?: string | undefined;
|
|
19550
|
+
nonExchangeableReason?: string | undefined;
|
|
19551
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18100
19552
|
} | undefined;
|
|
19553
|
+
trackingNumber?: string | undefined;
|
|
19554
|
+
trackingCompany?: string | undefined;
|
|
19555
|
+
trackingCompanyName?: string | undefined;
|
|
19556
|
+
taxLines?: {
|
|
19557
|
+
title?: string | undefined;
|
|
19558
|
+
amount?: number | undefined;
|
|
19559
|
+
rate?: number | undefined;
|
|
19560
|
+
ratePercentage?: number | undefined;
|
|
19561
|
+
}[] | undefined;
|
|
19562
|
+
sku?: string | undefined;
|
|
19563
|
+
optionAmount?: number | undefined;
|
|
19564
|
+
supplierId?: string | undefined;
|
|
19565
|
+
productCode?: string | undefined;
|
|
19566
|
+
unfulfilledQuantity?: number | undefined;
|
|
19567
|
+
requiresShipping?: boolean | undefined;
|
|
19568
|
+
sellingPlanName?: string | undefined;
|
|
19569
|
+
sellingPlanId?: string | undefined;
|
|
19570
|
+
customAttributes?: {
|
|
19571
|
+
value?: string | undefined;
|
|
19572
|
+
key?: string | undefined;
|
|
19573
|
+
}[] | undefined;
|
|
19574
|
+
statusCode?: string | undefined;
|
|
19575
|
+
statusText?: string | undefined;
|
|
19576
|
+
claimStatusCode?: string | undefined;
|
|
19577
|
+
supplierName?: string | undefined;
|
|
19578
|
+
bundle?: boolean | undefined;
|
|
19579
|
+
bundleId?: string | undefined;
|
|
19580
|
+
bundleName?: string | undefined;
|
|
19581
|
+
bundleType?: string | undefined;
|
|
19582
|
+
bundleItems?: {
|
|
19583
|
+
name?: string | undefined;
|
|
19584
|
+
amount?: number | undefined;
|
|
19585
|
+
quantity?: number | undefined;
|
|
19586
|
+
option?: string | undefined;
|
|
19587
|
+
productId?: string | undefined;
|
|
19588
|
+
variantId?: string | undefined;
|
|
19589
|
+
sku?: string | undefined;
|
|
19590
|
+
optionAmount?: number | undefined;
|
|
19591
|
+
supplierId?: string | undefined;
|
|
19592
|
+
productCode?: string | undefined;
|
|
19593
|
+
}[] | undefined;
|
|
19594
|
+
itemNo?: string | undefined;
|
|
19595
|
+
optionType?: string | undefined;
|
|
19596
|
+
shippingCode?: string | undefined;
|
|
18101
19597
|
}>>, "many">>;
|
|
18102
19598
|
payment: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
18103
19599
|
state: z.ZodOptional<z.ZodString>;
|
|
@@ -18108,6 +19604,11 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18108
19604
|
discountAmount: z.ZodOptional<z.ZodNumber>;
|
|
18109
19605
|
methods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18110
19606
|
requireRefundBankAccount: z.ZodOptional<z.ZodBoolean>;
|
|
19607
|
+
taxAmount: z.ZodOptional<z.ZodNumber>;
|
|
19608
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
19609
|
+
creditAmount: z.ZodOptional<z.ZodNumber>;
|
|
19610
|
+
couponDiscountAmount: z.ZodOptional<z.ZodNumber>;
|
|
19611
|
+
dueAmount: z.ZodOptional<z.ZodNumber>;
|
|
18111
19612
|
}, "strip", z.ZodTypeAny, {
|
|
18112
19613
|
state?: string | undefined;
|
|
18113
19614
|
currency?: string | undefined;
|
|
@@ -18117,6 +19618,11 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18117
19618
|
discountAmount?: number | undefined;
|
|
18118
19619
|
methods?: string[] | undefined;
|
|
18119
19620
|
requireRefundBankAccount?: boolean | undefined;
|
|
19621
|
+
taxAmount?: number | undefined;
|
|
19622
|
+
pointAmount?: number | undefined;
|
|
19623
|
+
creditAmount?: number | undefined;
|
|
19624
|
+
couponDiscountAmount?: number | undefined;
|
|
19625
|
+
dueAmount?: number | undefined;
|
|
18120
19626
|
}, {
|
|
18121
19627
|
state?: string | undefined;
|
|
18122
19628
|
currency?: string | undefined;
|
|
@@ -18126,6 +19632,11 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18126
19632
|
discountAmount?: number | undefined;
|
|
18127
19633
|
methods?: string[] | undefined;
|
|
18128
19634
|
requireRefundBankAccount?: boolean | undefined;
|
|
19635
|
+
taxAmount?: number | undefined;
|
|
19636
|
+
pointAmount?: number | undefined;
|
|
19637
|
+
creditAmount?: number | undefined;
|
|
19638
|
+
couponDiscountAmount?: number | undefined;
|
|
19639
|
+
dueAmount?: number | undefined;
|
|
18129
19640
|
}>>>;
|
|
18130
19641
|
fulfillments: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
18131
19642
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -18135,22 +19646,43 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18135
19646
|
trackingCompany: z.ZodOptional<z.ZodString>;
|
|
18136
19647
|
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
18137
19648
|
estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
|
|
19649
|
+
trackingCompanyName: z.ZodOptional<z.ZodString>;
|
|
19650
|
+
items: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19651
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
19652
|
+
state: z.ZodOptional<z.ZodString>;
|
|
19653
|
+
}, "strip", z.ZodTypeAny, {
|
|
19654
|
+
state?: string | undefined;
|
|
19655
|
+
itemId?: string | undefined;
|
|
19656
|
+
}, {
|
|
19657
|
+
state?: string | undefined;
|
|
19658
|
+
itemId?: string | undefined;
|
|
19659
|
+
}>>, "many">>;
|
|
18138
19660
|
}, "strip", z.ZodTypeAny, {
|
|
18139
19661
|
id?: string | undefined;
|
|
19662
|
+
items?: {
|
|
19663
|
+
state?: string | undefined;
|
|
19664
|
+
itemId?: string | undefined;
|
|
19665
|
+
}[] | undefined;
|
|
18140
19666
|
state?: string | undefined;
|
|
18141
19667
|
itemIds?: string[] | undefined;
|
|
18142
19668
|
trackingNumber?: string | undefined;
|
|
18143
19669
|
trackingCompany?: string | undefined;
|
|
18144
19670
|
trackingUrl?: string | undefined;
|
|
18145
19671
|
estimatedDeliveryDate?: number | undefined;
|
|
19672
|
+
trackingCompanyName?: string | undefined;
|
|
18146
19673
|
}, {
|
|
18147
19674
|
id?: string | undefined;
|
|
19675
|
+
items?: {
|
|
19676
|
+
state?: string | undefined;
|
|
19677
|
+
itemId?: string | undefined;
|
|
19678
|
+
}[] | undefined;
|
|
18148
19679
|
state?: string | undefined;
|
|
18149
19680
|
itemIds?: string[] | undefined;
|
|
18150
19681
|
trackingNumber?: string | undefined;
|
|
18151
19682
|
trackingCompany?: string | undefined;
|
|
18152
19683
|
trackingUrl?: string | undefined;
|
|
18153
19684
|
estimatedDeliveryDate?: number | undefined;
|
|
19685
|
+
trackingCompanyName?: string | undefined;
|
|
18154
19686
|
}>>, "many">>;
|
|
18155
19687
|
shippingAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
18156
19688
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -18165,8 +19697,10 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18165
19697
|
country: z.ZodOptional<z.ZodString>;
|
|
18166
19698
|
city: z.ZodOptional<z.ZodString>;
|
|
18167
19699
|
province: z.ZodOptional<z.ZodString>;
|
|
19700
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
18168
19701
|
}, "strip", z.ZodTypeAny, {
|
|
18169
19702
|
email?: string | undefined;
|
|
19703
|
+
countryCode?: string | undefined;
|
|
18170
19704
|
address1?: string | undefined;
|
|
18171
19705
|
address2?: string | undefined;
|
|
18172
19706
|
firstName?: string | undefined;
|
|
@@ -18180,6 +19714,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18180
19714
|
province?: string | undefined;
|
|
18181
19715
|
}, {
|
|
18182
19716
|
email?: string | undefined;
|
|
19717
|
+
countryCode?: string | undefined;
|
|
18183
19718
|
address1?: string | undefined;
|
|
18184
19719
|
address2?: string | undefined;
|
|
18185
19720
|
firstName?: string | undefined;
|
|
@@ -18214,6 +19749,163 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18214
19749
|
itemIds?: string[] | undefined;
|
|
18215
19750
|
createdAt?: number | undefined;
|
|
18216
19751
|
}>>, "many">>;
|
|
19752
|
+
adminUrl: z.ZodOptional<z.ZodString>;
|
|
19753
|
+
note: z.ZodOptional<z.ZodString>;
|
|
19754
|
+
displayFinancialStatus: z.ZodOptional<z.ZodString>;
|
|
19755
|
+
displayFulfillmentStatus: z.ZodOptional<z.ZodString>;
|
|
19756
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
19757
|
+
firstOrder: z.ZodOptional<z.ZodBoolean>;
|
|
19758
|
+
closed: z.ZodOptional<z.ZodBoolean>;
|
|
19759
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
19760
|
+
taxesIncluded: z.ZodOptional<z.ZodBoolean>;
|
|
19761
|
+
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
19762
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
19763
|
+
billingAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
19764
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
19765
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
19766
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
19767
|
+
email: z.ZodOptional<z.ZodString>;
|
|
19768
|
+
cellPhoneNumber: z.ZodOptional<z.ZodString>;
|
|
19769
|
+
zipcode: z.ZodOptional<z.ZodString>;
|
|
19770
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
19771
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
19772
|
+
shippingMessage: z.ZodOptional<z.ZodString>;
|
|
19773
|
+
country: z.ZodOptional<z.ZodString>;
|
|
19774
|
+
city: z.ZodOptional<z.ZodString>;
|
|
19775
|
+
province: z.ZodOptional<z.ZodString>;
|
|
19776
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
19777
|
+
}, "strip", z.ZodTypeAny, {
|
|
19778
|
+
email?: string | undefined;
|
|
19779
|
+
countryCode?: string | undefined;
|
|
19780
|
+
address1?: string | undefined;
|
|
19781
|
+
address2?: string | undefined;
|
|
19782
|
+
firstName?: string | undefined;
|
|
19783
|
+
lastName?: string | undefined;
|
|
19784
|
+
phoneNumber?: string | undefined;
|
|
19785
|
+
cellPhoneNumber?: string | undefined;
|
|
19786
|
+
zipcode?: string | undefined;
|
|
19787
|
+
shippingMessage?: string | undefined;
|
|
19788
|
+
country?: string | undefined;
|
|
19789
|
+
city?: string | undefined;
|
|
19790
|
+
province?: string | undefined;
|
|
19791
|
+
}, {
|
|
19792
|
+
email?: string | undefined;
|
|
19793
|
+
countryCode?: string | undefined;
|
|
19794
|
+
address1?: string | undefined;
|
|
19795
|
+
address2?: string | undefined;
|
|
19796
|
+
firstName?: string | undefined;
|
|
19797
|
+
lastName?: string | undefined;
|
|
19798
|
+
phoneNumber?: string | undefined;
|
|
19799
|
+
cellPhoneNumber?: string | undefined;
|
|
19800
|
+
zipcode?: string | undefined;
|
|
19801
|
+
shippingMessage?: string | undefined;
|
|
19802
|
+
country?: string | undefined;
|
|
19803
|
+
city?: string | undefined;
|
|
19804
|
+
province?: string | undefined;
|
|
19805
|
+
}>>>;
|
|
19806
|
+
customAttributes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19807
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19808
|
+
value: z.ZodOptional<z.ZodString>;
|
|
19809
|
+
}, "strip", z.ZodTypeAny, {
|
|
19810
|
+
value?: string | undefined;
|
|
19811
|
+
key?: string | undefined;
|
|
19812
|
+
}, {
|
|
19813
|
+
value?: string | undefined;
|
|
19814
|
+
key?: string | undefined;
|
|
19815
|
+
}>>, "many">>;
|
|
19816
|
+
shippingLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19817
|
+
id: z.ZodOptional<z.ZodString>;
|
|
19818
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19819
|
+
code: z.ZodOptional<z.ZodString>;
|
|
19820
|
+
carrierIdentifier: z.ZodOptional<z.ZodString>;
|
|
19821
|
+
taxLines: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19822
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
19823
|
+
ratePercentage: z.ZodOptional<z.ZodNumber>;
|
|
19824
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19825
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
19826
|
+
}, "strip", z.ZodTypeAny, {
|
|
19827
|
+
title?: string | undefined;
|
|
19828
|
+
amount?: number | undefined;
|
|
19829
|
+
rate?: number | undefined;
|
|
19830
|
+
ratePercentage?: number | undefined;
|
|
19831
|
+
}, {
|
|
19832
|
+
title?: string | undefined;
|
|
19833
|
+
amount?: number | undefined;
|
|
19834
|
+
rate?: number | undefined;
|
|
19835
|
+
ratePercentage?: number | undefined;
|
|
19836
|
+
}>>, "many">>;
|
|
19837
|
+
}, "strip", z.ZodTypeAny, {
|
|
19838
|
+
code?: string | undefined;
|
|
19839
|
+
id?: string | undefined;
|
|
19840
|
+
title?: string | undefined;
|
|
19841
|
+
carrierIdentifier?: string | undefined;
|
|
19842
|
+
taxLines?: {
|
|
19843
|
+
title?: string | undefined;
|
|
19844
|
+
amount?: number | undefined;
|
|
19845
|
+
rate?: number | undefined;
|
|
19846
|
+
ratePercentage?: number | undefined;
|
|
19847
|
+
}[] | undefined;
|
|
19848
|
+
}, {
|
|
19849
|
+
code?: string | undefined;
|
|
19850
|
+
id?: string | undefined;
|
|
19851
|
+
title?: string | undefined;
|
|
19852
|
+
carrierIdentifier?: string | undefined;
|
|
19853
|
+
taxLines?: {
|
|
19854
|
+
title?: string | undefined;
|
|
19855
|
+
amount?: number | undefined;
|
|
19856
|
+
rate?: number | undefined;
|
|
19857
|
+
ratePercentage?: number | undefined;
|
|
19858
|
+
}[] | undefined;
|
|
19859
|
+
}>>, "many">>;
|
|
19860
|
+
transactions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19861
|
+
id: z.ZodOptional<z.ZodString>;
|
|
19862
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
19863
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
19864
|
+
status: z.ZodOptional<z.ZodString>;
|
|
19865
|
+
gateway: z.ZodOptional<z.ZodString>;
|
|
19866
|
+
manualPaymentGateway: z.ZodOptional<z.ZodBoolean>;
|
|
19867
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
19868
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
19869
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
19870
|
+
}, "strip", z.ZodTypeAny, {
|
|
19871
|
+
status?: string | undefined;
|
|
19872
|
+
id?: string | undefined;
|
|
19873
|
+
kind?: string | undefined;
|
|
19874
|
+
createdAt?: number | undefined;
|
|
19875
|
+
amount?: number | undefined;
|
|
19876
|
+
currency?: string | undefined;
|
|
19877
|
+
parentId?: string | undefined;
|
|
19878
|
+
gateway?: string | undefined;
|
|
19879
|
+
manualPaymentGateway?: boolean | undefined;
|
|
19880
|
+
}, {
|
|
19881
|
+
status?: string | undefined;
|
|
19882
|
+
id?: string | undefined;
|
|
19883
|
+
kind?: string | undefined;
|
|
19884
|
+
createdAt?: number | undefined;
|
|
19885
|
+
amount?: number | undefined;
|
|
19886
|
+
currency?: string | undefined;
|
|
19887
|
+
parentId?: string | undefined;
|
|
19888
|
+
gateway?: string | undefined;
|
|
19889
|
+
manualPaymentGateway?: boolean | undefined;
|
|
19890
|
+
}>>, "many">>;
|
|
19891
|
+
metafields: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
19892
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
19893
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19894
|
+
value: z.ZodOptional<z.ZodString>;
|
|
19895
|
+
type: z.ZodOptional<z.ZodString>;
|
|
19896
|
+
}, "strip", z.ZodTypeAny, {
|
|
19897
|
+
type?: string | undefined;
|
|
19898
|
+
value?: string | undefined;
|
|
19899
|
+
key?: string | undefined;
|
|
19900
|
+
namespace?: string | undefined;
|
|
19901
|
+
}, {
|
|
19902
|
+
type?: string | undefined;
|
|
19903
|
+
value?: string | undefined;
|
|
19904
|
+
key?: string | undefined;
|
|
19905
|
+
namespace?: string | undefined;
|
|
19906
|
+
}>>, "many">>;
|
|
19907
|
+
marketId: z.ZodOptional<z.ZodString>;
|
|
19908
|
+
marketOrderNo: z.ZodOptional<z.ZodString>;
|
|
18217
19909
|
}, "strip", z.ZodTypeAny, {
|
|
18218
19910
|
id?: string | undefined;
|
|
18219
19911
|
title?: string | undefined;
|
|
@@ -18235,8 +19927,57 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18235
19927
|
returnable?: boolean | undefined;
|
|
18236
19928
|
exchangeable?: boolean | undefined;
|
|
18237
19929
|
shippingAddressChangeable?: boolean | undefined;
|
|
19930
|
+
nonCancelableReason?: string | undefined;
|
|
19931
|
+
nonReturnableReason?: string | undefined;
|
|
19932
|
+
nonExchangeableReason?: string | undefined;
|
|
19933
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18238
19934
|
} | undefined;
|
|
19935
|
+
trackingNumber?: string | undefined;
|
|
19936
|
+
trackingCompany?: string | undefined;
|
|
19937
|
+
trackingCompanyName?: string | undefined;
|
|
19938
|
+
taxLines?: {
|
|
19939
|
+
title?: string | undefined;
|
|
19940
|
+
amount?: number | undefined;
|
|
19941
|
+
rate?: number | undefined;
|
|
19942
|
+
ratePercentage?: number | undefined;
|
|
19943
|
+
}[] | undefined;
|
|
19944
|
+
sku?: string | undefined;
|
|
19945
|
+
optionAmount?: number | undefined;
|
|
19946
|
+
supplierId?: string | undefined;
|
|
19947
|
+
productCode?: string | undefined;
|
|
19948
|
+
unfulfilledQuantity?: number | undefined;
|
|
19949
|
+
requiresShipping?: boolean | undefined;
|
|
19950
|
+
sellingPlanName?: string | undefined;
|
|
19951
|
+
sellingPlanId?: string | undefined;
|
|
19952
|
+
customAttributes?: {
|
|
19953
|
+
value?: string | undefined;
|
|
19954
|
+
key?: string | undefined;
|
|
19955
|
+
}[] | undefined;
|
|
19956
|
+
statusCode?: string | undefined;
|
|
19957
|
+
statusText?: string | undefined;
|
|
19958
|
+
claimStatusCode?: string | undefined;
|
|
19959
|
+
supplierName?: string | undefined;
|
|
19960
|
+
bundle?: boolean | undefined;
|
|
19961
|
+
bundleId?: string | undefined;
|
|
19962
|
+
bundleName?: string | undefined;
|
|
19963
|
+
bundleType?: string | undefined;
|
|
19964
|
+
bundleItems?: {
|
|
19965
|
+
name?: string | undefined;
|
|
19966
|
+
amount?: number | undefined;
|
|
19967
|
+
quantity?: number | undefined;
|
|
19968
|
+
option?: string | undefined;
|
|
19969
|
+
productId?: string | undefined;
|
|
19970
|
+
variantId?: string | undefined;
|
|
19971
|
+
sku?: string | undefined;
|
|
19972
|
+
optionAmount?: number | undefined;
|
|
19973
|
+
supplierId?: string | undefined;
|
|
19974
|
+
productCode?: string | undefined;
|
|
19975
|
+
}[] | undefined;
|
|
19976
|
+
itemNo?: string | undefined;
|
|
19977
|
+
optionType?: string | undefined;
|
|
19978
|
+
shippingCode?: string | undefined;
|
|
18239
19979
|
}[] | undefined;
|
|
19980
|
+
confirmed?: boolean | undefined;
|
|
18240
19981
|
payment?: {
|
|
18241
19982
|
state?: string | undefined;
|
|
18242
19983
|
currency?: string | undefined;
|
|
@@ -18246,18 +19987,73 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18246
19987
|
discountAmount?: number | undefined;
|
|
18247
19988
|
methods?: string[] | undefined;
|
|
18248
19989
|
requireRefundBankAccount?: boolean | undefined;
|
|
19990
|
+
taxAmount?: number | undefined;
|
|
19991
|
+
pointAmount?: number | undefined;
|
|
19992
|
+
creditAmount?: number | undefined;
|
|
19993
|
+
couponDiscountAmount?: number | undefined;
|
|
19994
|
+
dueAmount?: number | undefined;
|
|
18249
19995
|
} | undefined;
|
|
18250
19996
|
fulfillments?: {
|
|
18251
19997
|
id?: string | undefined;
|
|
19998
|
+
items?: {
|
|
19999
|
+
state?: string | undefined;
|
|
20000
|
+
itemId?: string | undefined;
|
|
20001
|
+
}[] | undefined;
|
|
18252
20002
|
state?: string | undefined;
|
|
18253
20003
|
itemIds?: string[] | undefined;
|
|
18254
20004
|
trackingNumber?: string | undefined;
|
|
18255
20005
|
trackingCompany?: string | undefined;
|
|
18256
20006
|
trackingUrl?: string | undefined;
|
|
18257
20007
|
estimatedDeliveryDate?: number | undefined;
|
|
20008
|
+
trackingCompanyName?: string | undefined;
|
|
20009
|
+
}[] | undefined;
|
|
20010
|
+
shippingAddress?: {
|
|
20011
|
+
email?: string | undefined;
|
|
20012
|
+
countryCode?: string | undefined;
|
|
20013
|
+
address1?: string | undefined;
|
|
20014
|
+
address2?: string | undefined;
|
|
20015
|
+
firstName?: string | undefined;
|
|
20016
|
+
lastName?: string | undefined;
|
|
20017
|
+
phoneNumber?: string | undefined;
|
|
20018
|
+
cellPhoneNumber?: string | undefined;
|
|
20019
|
+
zipcode?: string | undefined;
|
|
20020
|
+
shippingMessage?: string | undefined;
|
|
20021
|
+
country?: string | undefined;
|
|
20022
|
+
city?: string | undefined;
|
|
20023
|
+
province?: string | undefined;
|
|
20024
|
+
} | undefined;
|
|
20025
|
+
claims?: {
|
|
20026
|
+
type?: string | undefined;
|
|
20027
|
+
id?: string | undefined;
|
|
20028
|
+
state?: string | undefined;
|
|
20029
|
+
extClaimId?: string | undefined;
|
|
20030
|
+
itemIds?: string[] | undefined;
|
|
20031
|
+
createdAt?: number | undefined;
|
|
20032
|
+
}[] | undefined;
|
|
20033
|
+
buyer?: {
|
|
20034
|
+
name?: string | undefined;
|
|
20035
|
+
email?: string | undefined;
|
|
20036
|
+
phone?: string | undefined;
|
|
20037
|
+
memberId?: string | undefined;
|
|
20038
|
+
} | undefined;
|
|
20039
|
+
customAttributes?: {
|
|
20040
|
+
value?: string | undefined;
|
|
20041
|
+
key?: string | undefined;
|
|
18258
20042
|
}[] | undefined;
|
|
18259
|
-
|
|
20043
|
+
orderedAt?: number | undefined;
|
|
20044
|
+
adminUrl?: string | undefined;
|
|
20045
|
+
note?: string | undefined;
|
|
20046
|
+
displayFinancialStatus?: string | undefined;
|
|
20047
|
+
displayFulfillmentStatus?: string | undefined;
|
|
20048
|
+
test?: boolean | undefined;
|
|
20049
|
+
firstOrder?: boolean | undefined;
|
|
20050
|
+
closed?: boolean | undefined;
|
|
20051
|
+
taxesIncluded?: boolean | undefined;
|
|
20052
|
+
totalWeight?: number | undefined;
|
|
20053
|
+
appName?: string | undefined;
|
|
20054
|
+
billingAddress?: {
|
|
18260
20055
|
email?: string | undefined;
|
|
20056
|
+
countryCode?: string | undefined;
|
|
18261
20057
|
address1?: string | undefined;
|
|
18262
20058
|
address2?: string | undefined;
|
|
18263
20059
|
firstName?: string | undefined;
|
|
@@ -18270,21 +20066,37 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18270
20066
|
city?: string | undefined;
|
|
18271
20067
|
province?: string | undefined;
|
|
18272
20068
|
} | undefined;
|
|
18273
|
-
|
|
18274
|
-
|
|
20069
|
+
shippingLines?: {
|
|
20070
|
+
code?: string | undefined;
|
|
18275
20071
|
id?: string | undefined;
|
|
18276
|
-
|
|
18277
|
-
|
|
18278
|
-
|
|
20072
|
+
title?: string | undefined;
|
|
20073
|
+
carrierIdentifier?: string | undefined;
|
|
20074
|
+
taxLines?: {
|
|
20075
|
+
title?: string | undefined;
|
|
20076
|
+
amount?: number | undefined;
|
|
20077
|
+
rate?: number | undefined;
|
|
20078
|
+
ratePercentage?: number | undefined;
|
|
20079
|
+
}[] | undefined;
|
|
20080
|
+
}[] | undefined;
|
|
20081
|
+
transactions?: {
|
|
20082
|
+
status?: string | undefined;
|
|
20083
|
+
id?: string | undefined;
|
|
20084
|
+
kind?: string | undefined;
|
|
18279
20085
|
createdAt?: number | undefined;
|
|
20086
|
+
amount?: number | undefined;
|
|
20087
|
+
currency?: string | undefined;
|
|
20088
|
+
parentId?: string | undefined;
|
|
20089
|
+
gateway?: string | undefined;
|
|
20090
|
+
manualPaymentGateway?: boolean | undefined;
|
|
18280
20091
|
}[] | undefined;
|
|
18281
|
-
|
|
18282
|
-
|
|
18283
|
-
|
|
18284
|
-
|
|
18285
|
-
|
|
18286
|
-
} | undefined;
|
|
18287
|
-
|
|
20092
|
+
metafields?: {
|
|
20093
|
+
type?: string | undefined;
|
|
20094
|
+
value?: string | undefined;
|
|
20095
|
+
key?: string | undefined;
|
|
20096
|
+
namespace?: string | undefined;
|
|
20097
|
+
}[] | undefined;
|
|
20098
|
+
marketId?: string | undefined;
|
|
20099
|
+
marketOrderNo?: string | undefined;
|
|
18288
20100
|
}, {
|
|
18289
20101
|
id?: string | undefined;
|
|
18290
20102
|
title?: string | undefined;
|
|
@@ -18306,8 +20118,57 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18306
20118
|
returnable?: boolean | undefined;
|
|
18307
20119
|
exchangeable?: boolean | undefined;
|
|
18308
20120
|
shippingAddressChangeable?: boolean | undefined;
|
|
20121
|
+
nonCancelableReason?: string | undefined;
|
|
20122
|
+
nonReturnableReason?: string | undefined;
|
|
20123
|
+
nonExchangeableReason?: string | undefined;
|
|
20124
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18309
20125
|
} | undefined;
|
|
20126
|
+
trackingNumber?: string | undefined;
|
|
20127
|
+
trackingCompany?: string | undefined;
|
|
20128
|
+
trackingCompanyName?: string | undefined;
|
|
20129
|
+
taxLines?: {
|
|
20130
|
+
title?: string | undefined;
|
|
20131
|
+
amount?: number | undefined;
|
|
20132
|
+
rate?: number | undefined;
|
|
20133
|
+
ratePercentage?: number | undefined;
|
|
20134
|
+
}[] | undefined;
|
|
20135
|
+
sku?: string | undefined;
|
|
20136
|
+
optionAmount?: number | undefined;
|
|
20137
|
+
supplierId?: string | undefined;
|
|
20138
|
+
productCode?: string | undefined;
|
|
20139
|
+
unfulfilledQuantity?: number | undefined;
|
|
20140
|
+
requiresShipping?: boolean | undefined;
|
|
20141
|
+
sellingPlanName?: string | undefined;
|
|
20142
|
+
sellingPlanId?: string | undefined;
|
|
20143
|
+
customAttributes?: {
|
|
20144
|
+
value?: string | undefined;
|
|
20145
|
+
key?: string | undefined;
|
|
20146
|
+
}[] | undefined;
|
|
20147
|
+
statusCode?: string | undefined;
|
|
20148
|
+
statusText?: string | undefined;
|
|
20149
|
+
claimStatusCode?: string | undefined;
|
|
20150
|
+
supplierName?: string | undefined;
|
|
20151
|
+
bundle?: boolean | undefined;
|
|
20152
|
+
bundleId?: string | undefined;
|
|
20153
|
+
bundleName?: string | undefined;
|
|
20154
|
+
bundleType?: string | undefined;
|
|
20155
|
+
bundleItems?: {
|
|
20156
|
+
name?: string | undefined;
|
|
20157
|
+
amount?: number | undefined;
|
|
20158
|
+
quantity?: number | undefined;
|
|
20159
|
+
option?: string | undefined;
|
|
20160
|
+
productId?: string | undefined;
|
|
20161
|
+
variantId?: string | undefined;
|
|
20162
|
+
sku?: string | undefined;
|
|
20163
|
+
optionAmount?: number | undefined;
|
|
20164
|
+
supplierId?: string | undefined;
|
|
20165
|
+
productCode?: string | undefined;
|
|
20166
|
+
}[] | undefined;
|
|
20167
|
+
itemNo?: string | undefined;
|
|
20168
|
+
optionType?: string | undefined;
|
|
20169
|
+
shippingCode?: string | undefined;
|
|
18310
20170
|
}[] | undefined;
|
|
20171
|
+
confirmed?: boolean | undefined;
|
|
18311
20172
|
payment?: {
|
|
18312
20173
|
state?: string | undefined;
|
|
18313
20174
|
currency?: string | undefined;
|
|
@@ -18317,18 +20178,29 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18317
20178
|
discountAmount?: number | undefined;
|
|
18318
20179
|
methods?: string[] | undefined;
|
|
18319
20180
|
requireRefundBankAccount?: boolean | undefined;
|
|
20181
|
+
taxAmount?: number | undefined;
|
|
20182
|
+
pointAmount?: number | undefined;
|
|
20183
|
+
creditAmount?: number | undefined;
|
|
20184
|
+
couponDiscountAmount?: number | undefined;
|
|
20185
|
+
dueAmount?: number | undefined;
|
|
18320
20186
|
} | undefined;
|
|
18321
20187
|
fulfillments?: {
|
|
18322
20188
|
id?: string | undefined;
|
|
20189
|
+
items?: {
|
|
20190
|
+
state?: string | undefined;
|
|
20191
|
+
itemId?: string | undefined;
|
|
20192
|
+
}[] | undefined;
|
|
18323
20193
|
state?: string | undefined;
|
|
18324
20194
|
itemIds?: string[] | undefined;
|
|
18325
20195
|
trackingNumber?: string | undefined;
|
|
18326
20196
|
trackingCompany?: string | undefined;
|
|
18327
20197
|
trackingUrl?: string | undefined;
|
|
18328
20198
|
estimatedDeliveryDate?: number | undefined;
|
|
20199
|
+
trackingCompanyName?: string | undefined;
|
|
18329
20200
|
}[] | undefined;
|
|
18330
20201
|
shippingAddress?: {
|
|
18331
20202
|
email?: string | undefined;
|
|
20203
|
+
countryCode?: string | undefined;
|
|
18332
20204
|
address1?: string | undefined;
|
|
18333
20205
|
address2?: string | undefined;
|
|
18334
20206
|
firstName?: string | undefined;
|
|
@@ -18355,7 +20227,67 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18355
20227
|
phone?: string | undefined;
|
|
18356
20228
|
memberId?: string | undefined;
|
|
18357
20229
|
} | undefined;
|
|
20230
|
+
customAttributes?: {
|
|
20231
|
+
value?: string | undefined;
|
|
20232
|
+
key?: string | undefined;
|
|
20233
|
+
}[] | undefined;
|
|
18358
20234
|
orderedAt?: number | undefined;
|
|
20235
|
+
adminUrl?: string | undefined;
|
|
20236
|
+
note?: string | undefined;
|
|
20237
|
+
displayFinancialStatus?: string | undefined;
|
|
20238
|
+
displayFulfillmentStatus?: string | undefined;
|
|
20239
|
+
test?: boolean | undefined;
|
|
20240
|
+
firstOrder?: boolean | undefined;
|
|
20241
|
+
closed?: boolean | undefined;
|
|
20242
|
+
taxesIncluded?: boolean | undefined;
|
|
20243
|
+
totalWeight?: number | undefined;
|
|
20244
|
+
appName?: string | undefined;
|
|
20245
|
+
billingAddress?: {
|
|
20246
|
+
email?: string | undefined;
|
|
20247
|
+
countryCode?: string | undefined;
|
|
20248
|
+
address1?: string | undefined;
|
|
20249
|
+
address2?: string | undefined;
|
|
20250
|
+
firstName?: string | undefined;
|
|
20251
|
+
lastName?: string | undefined;
|
|
20252
|
+
phoneNumber?: string | undefined;
|
|
20253
|
+
cellPhoneNumber?: string | undefined;
|
|
20254
|
+
zipcode?: string | undefined;
|
|
20255
|
+
shippingMessage?: string | undefined;
|
|
20256
|
+
country?: string | undefined;
|
|
20257
|
+
city?: string | undefined;
|
|
20258
|
+
province?: string | undefined;
|
|
20259
|
+
} | undefined;
|
|
20260
|
+
shippingLines?: {
|
|
20261
|
+
code?: string | undefined;
|
|
20262
|
+
id?: string | undefined;
|
|
20263
|
+
title?: string | undefined;
|
|
20264
|
+
carrierIdentifier?: string | undefined;
|
|
20265
|
+
taxLines?: {
|
|
20266
|
+
title?: string | undefined;
|
|
20267
|
+
amount?: number | undefined;
|
|
20268
|
+
rate?: number | undefined;
|
|
20269
|
+
ratePercentage?: number | undefined;
|
|
20270
|
+
}[] | undefined;
|
|
20271
|
+
}[] | undefined;
|
|
20272
|
+
transactions?: {
|
|
20273
|
+
status?: string | undefined;
|
|
20274
|
+
id?: string | undefined;
|
|
20275
|
+
kind?: string | undefined;
|
|
20276
|
+
createdAt?: number | undefined;
|
|
20277
|
+
amount?: number | undefined;
|
|
20278
|
+
currency?: string | undefined;
|
|
20279
|
+
parentId?: string | undefined;
|
|
20280
|
+
gateway?: string | undefined;
|
|
20281
|
+
manualPaymentGateway?: boolean | undefined;
|
|
20282
|
+
}[] | undefined;
|
|
20283
|
+
metafields?: {
|
|
20284
|
+
type?: string | undefined;
|
|
20285
|
+
value?: string | undefined;
|
|
20286
|
+
key?: string | undefined;
|
|
20287
|
+
namespace?: string | undefined;
|
|
20288
|
+
}[] | undefined;
|
|
20289
|
+
marketId?: string | undefined;
|
|
20290
|
+
marketOrderNo?: string | undefined;
|
|
18359
20291
|
}>>, "many">>;
|
|
18360
20292
|
next: z.ZodOptional<z.ZodString>;
|
|
18361
20293
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18381,8 +20313,57 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18381
20313
|
returnable?: boolean | undefined;
|
|
18382
20314
|
exchangeable?: boolean | undefined;
|
|
18383
20315
|
shippingAddressChangeable?: boolean | undefined;
|
|
20316
|
+
nonCancelableReason?: string | undefined;
|
|
20317
|
+
nonReturnableReason?: string | undefined;
|
|
20318
|
+
nonExchangeableReason?: string | undefined;
|
|
20319
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18384
20320
|
} | undefined;
|
|
20321
|
+
trackingNumber?: string | undefined;
|
|
20322
|
+
trackingCompany?: string | undefined;
|
|
20323
|
+
trackingCompanyName?: string | undefined;
|
|
20324
|
+
taxLines?: {
|
|
20325
|
+
title?: string | undefined;
|
|
20326
|
+
amount?: number | undefined;
|
|
20327
|
+
rate?: number | undefined;
|
|
20328
|
+
ratePercentage?: number | undefined;
|
|
20329
|
+
}[] | undefined;
|
|
20330
|
+
sku?: string | undefined;
|
|
20331
|
+
optionAmount?: number | undefined;
|
|
20332
|
+
supplierId?: string | undefined;
|
|
20333
|
+
productCode?: string | undefined;
|
|
20334
|
+
unfulfilledQuantity?: number | undefined;
|
|
20335
|
+
requiresShipping?: boolean | undefined;
|
|
20336
|
+
sellingPlanName?: string | undefined;
|
|
20337
|
+
sellingPlanId?: string | undefined;
|
|
20338
|
+
customAttributes?: {
|
|
20339
|
+
value?: string | undefined;
|
|
20340
|
+
key?: string | undefined;
|
|
20341
|
+
}[] | undefined;
|
|
20342
|
+
statusCode?: string | undefined;
|
|
20343
|
+
statusText?: string | undefined;
|
|
20344
|
+
claimStatusCode?: string | undefined;
|
|
20345
|
+
supplierName?: string | undefined;
|
|
20346
|
+
bundle?: boolean | undefined;
|
|
20347
|
+
bundleId?: string | undefined;
|
|
20348
|
+
bundleName?: string | undefined;
|
|
20349
|
+
bundleType?: string | undefined;
|
|
20350
|
+
bundleItems?: {
|
|
20351
|
+
name?: string | undefined;
|
|
20352
|
+
amount?: number | undefined;
|
|
20353
|
+
quantity?: number | undefined;
|
|
20354
|
+
option?: string | undefined;
|
|
20355
|
+
productId?: string | undefined;
|
|
20356
|
+
variantId?: string | undefined;
|
|
20357
|
+
sku?: string | undefined;
|
|
20358
|
+
optionAmount?: number | undefined;
|
|
20359
|
+
supplierId?: string | undefined;
|
|
20360
|
+
productCode?: string | undefined;
|
|
20361
|
+
}[] | undefined;
|
|
20362
|
+
itemNo?: string | undefined;
|
|
20363
|
+
optionType?: string | undefined;
|
|
20364
|
+
shippingCode?: string | undefined;
|
|
18385
20365
|
}[] | undefined;
|
|
20366
|
+
confirmed?: boolean | undefined;
|
|
18386
20367
|
payment?: {
|
|
18387
20368
|
state?: string | undefined;
|
|
18388
20369
|
currency?: string | undefined;
|
|
@@ -18392,18 +20373,29 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18392
20373
|
discountAmount?: number | undefined;
|
|
18393
20374
|
methods?: string[] | undefined;
|
|
18394
20375
|
requireRefundBankAccount?: boolean | undefined;
|
|
20376
|
+
taxAmount?: number | undefined;
|
|
20377
|
+
pointAmount?: number | undefined;
|
|
20378
|
+
creditAmount?: number | undefined;
|
|
20379
|
+
couponDiscountAmount?: number | undefined;
|
|
20380
|
+
dueAmount?: number | undefined;
|
|
18395
20381
|
} | undefined;
|
|
18396
20382
|
fulfillments?: {
|
|
18397
20383
|
id?: string | undefined;
|
|
20384
|
+
items?: {
|
|
20385
|
+
state?: string | undefined;
|
|
20386
|
+
itemId?: string | undefined;
|
|
20387
|
+
}[] | undefined;
|
|
18398
20388
|
state?: string | undefined;
|
|
18399
20389
|
itemIds?: string[] | undefined;
|
|
18400
20390
|
trackingNumber?: string | undefined;
|
|
18401
20391
|
trackingCompany?: string | undefined;
|
|
18402
20392
|
trackingUrl?: string | undefined;
|
|
18403
20393
|
estimatedDeliveryDate?: number | undefined;
|
|
20394
|
+
trackingCompanyName?: string | undefined;
|
|
18404
20395
|
}[] | undefined;
|
|
18405
20396
|
shippingAddress?: {
|
|
18406
20397
|
email?: string | undefined;
|
|
20398
|
+
countryCode?: string | undefined;
|
|
18407
20399
|
address1?: string | undefined;
|
|
18408
20400
|
address2?: string | undefined;
|
|
18409
20401
|
firstName?: string | undefined;
|
|
@@ -18430,7 +20422,67 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18430
20422
|
phone?: string | undefined;
|
|
18431
20423
|
memberId?: string | undefined;
|
|
18432
20424
|
} | undefined;
|
|
20425
|
+
customAttributes?: {
|
|
20426
|
+
value?: string | undefined;
|
|
20427
|
+
key?: string | undefined;
|
|
20428
|
+
}[] | undefined;
|
|
18433
20429
|
orderedAt?: number | undefined;
|
|
20430
|
+
adminUrl?: string | undefined;
|
|
20431
|
+
note?: string | undefined;
|
|
20432
|
+
displayFinancialStatus?: string | undefined;
|
|
20433
|
+
displayFulfillmentStatus?: string | undefined;
|
|
20434
|
+
test?: boolean | undefined;
|
|
20435
|
+
firstOrder?: boolean | undefined;
|
|
20436
|
+
closed?: boolean | undefined;
|
|
20437
|
+
taxesIncluded?: boolean | undefined;
|
|
20438
|
+
totalWeight?: number | undefined;
|
|
20439
|
+
appName?: string | undefined;
|
|
20440
|
+
billingAddress?: {
|
|
20441
|
+
email?: string | undefined;
|
|
20442
|
+
countryCode?: string | undefined;
|
|
20443
|
+
address1?: string | undefined;
|
|
20444
|
+
address2?: string | undefined;
|
|
20445
|
+
firstName?: string | undefined;
|
|
20446
|
+
lastName?: string | undefined;
|
|
20447
|
+
phoneNumber?: string | undefined;
|
|
20448
|
+
cellPhoneNumber?: string | undefined;
|
|
20449
|
+
zipcode?: string | undefined;
|
|
20450
|
+
shippingMessage?: string | undefined;
|
|
20451
|
+
country?: string | undefined;
|
|
20452
|
+
city?: string | undefined;
|
|
20453
|
+
province?: string | undefined;
|
|
20454
|
+
} | undefined;
|
|
20455
|
+
shippingLines?: {
|
|
20456
|
+
code?: string | undefined;
|
|
20457
|
+
id?: string | undefined;
|
|
20458
|
+
title?: string | undefined;
|
|
20459
|
+
carrierIdentifier?: string | undefined;
|
|
20460
|
+
taxLines?: {
|
|
20461
|
+
title?: string | undefined;
|
|
20462
|
+
amount?: number | undefined;
|
|
20463
|
+
rate?: number | undefined;
|
|
20464
|
+
ratePercentage?: number | undefined;
|
|
20465
|
+
}[] | undefined;
|
|
20466
|
+
}[] | undefined;
|
|
20467
|
+
transactions?: {
|
|
20468
|
+
status?: string | undefined;
|
|
20469
|
+
id?: string | undefined;
|
|
20470
|
+
kind?: string | undefined;
|
|
20471
|
+
createdAt?: number | undefined;
|
|
20472
|
+
amount?: number | undefined;
|
|
20473
|
+
currency?: string | undefined;
|
|
20474
|
+
parentId?: string | undefined;
|
|
20475
|
+
gateway?: string | undefined;
|
|
20476
|
+
manualPaymentGateway?: boolean | undefined;
|
|
20477
|
+
}[] | undefined;
|
|
20478
|
+
metafields?: {
|
|
20479
|
+
type?: string | undefined;
|
|
20480
|
+
value?: string | undefined;
|
|
20481
|
+
key?: string | undefined;
|
|
20482
|
+
namespace?: string | undefined;
|
|
20483
|
+
}[] | undefined;
|
|
20484
|
+
marketId?: string | undefined;
|
|
20485
|
+
marketOrderNo?: string | undefined;
|
|
18434
20486
|
}[] | undefined;
|
|
18435
20487
|
}, {
|
|
18436
20488
|
next?: string | undefined;
|
|
@@ -18455,8 +20507,57 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18455
20507
|
returnable?: boolean | undefined;
|
|
18456
20508
|
exchangeable?: boolean | undefined;
|
|
18457
20509
|
shippingAddressChangeable?: boolean | undefined;
|
|
20510
|
+
nonCancelableReason?: string | undefined;
|
|
20511
|
+
nonReturnableReason?: string | undefined;
|
|
20512
|
+
nonExchangeableReason?: string | undefined;
|
|
20513
|
+
nonShippingAddressChangeableReason?: string | undefined;
|
|
18458
20514
|
} | undefined;
|
|
20515
|
+
trackingNumber?: string | undefined;
|
|
20516
|
+
trackingCompany?: string | undefined;
|
|
20517
|
+
trackingCompanyName?: string | undefined;
|
|
20518
|
+
taxLines?: {
|
|
20519
|
+
title?: string | undefined;
|
|
20520
|
+
amount?: number | undefined;
|
|
20521
|
+
rate?: number | undefined;
|
|
20522
|
+
ratePercentage?: number | undefined;
|
|
20523
|
+
}[] | undefined;
|
|
20524
|
+
sku?: string | undefined;
|
|
20525
|
+
optionAmount?: number | undefined;
|
|
20526
|
+
supplierId?: string | undefined;
|
|
20527
|
+
productCode?: string | undefined;
|
|
20528
|
+
unfulfilledQuantity?: number | undefined;
|
|
20529
|
+
requiresShipping?: boolean | undefined;
|
|
20530
|
+
sellingPlanName?: string | undefined;
|
|
20531
|
+
sellingPlanId?: string | undefined;
|
|
20532
|
+
customAttributes?: {
|
|
20533
|
+
value?: string | undefined;
|
|
20534
|
+
key?: string | undefined;
|
|
20535
|
+
}[] | undefined;
|
|
20536
|
+
statusCode?: string | undefined;
|
|
20537
|
+
statusText?: string | undefined;
|
|
20538
|
+
claimStatusCode?: string | undefined;
|
|
20539
|
+
supplierName?: string | undefined;
|
|
20540
|
+
bundle?: boolean | undefined;
|
|
20541
|
+
bundleId?: string | undefined;
|
|
20542
|
+
bundleName?: string | undefined;
|
|
20543
|
+
bundleType?: string | undefined;
|
|
20544
|
+
bundleItems?: {
|
|
20545
|
+
name?: string | undefined;
|
|
20546
|
+
amount?: number | undefined;
|
|
20547
|
+
quantity?: number | undefined;
|
|
20548
|
+
option?: string | undefined;
|
|
20549
|
+
productId?: string | undefined;
|
|
20550
|
+
variantId?: string | undefined;
|
|
20551
|
+
sku?: string | undefined;
|
|
20552
|
+
optionAmount?: number | undefined;
|
|
20553
|
+
supplierId?: string | undefined;
|
|
20554
|
+
productCode?: string | undefined;
|
|
20555
|
+
}[] | undefined;
|
|
20556
|
+
itemNo?: string | undefined;
|
|
20557
|
+
optionType?: string | undefined;
|
|
20558
|
+
shippingCode?: string | undefined;
|
|
18459
20559
|
}[] | undefined;
|
|
20560
|
+
confirmed?: boolean | undefined;
|
|
18460
20561
|
payment?: {
|
|
18461
20562
|
state?: string | undefined;
|
|
18462
20563
|
currency?: string | undefined;
|
|
@@ -18466,18 +20567,29 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18466
20567
|
discountAmount?: number | undefined;
|
|
18467
20568
|
methods?: string[] | undefined;
|
|
18468
20569
|
requireRefundBankAccount?: boolean | undefined;
|
|
20570
|
+
taxAmount?: number | undefined;
|
|
20571
|
+
pointAmount?: number | undefined;
|
|
20572
|
+
creditAmount?: number | undefined;
|
|
20573
|
+
couponDiscountAmount?: number | undefined;
|
|
20574
|
+
dueAmount?: number | undefined;
|
|
18469
20575
|
} | undefined;
|
|
18470
20576
|
fulfillments?: {
|
|
18471
20577
|
id?: string | undefined;
|
|
20578
|
+
items?: {
|
|
20579
|
+
state?: string | undefined;
|
|
20580
|
+
itemId?: string | undefined;
|
|
20581
|
+
}[] | undefined;
|
|
18472
20582
|
state?: string | undefined;
|
|
18473
20583
|
itemIds?: string[] | undefined;
|
|
18474
20584
|
trackingNumber?: string | undefined;
|
|
18475
20585
|
trackingCompany?: string | undefined;
|
|
18476
20586
|
trackingUrl?: string | undefined;
|
|
18477
20587
|
estimatedDeliveryDate?: number | undefined;
|
|
20588
|
+
trackingCompanyName?: string | undefined;
|
|
18478
20589
|
}[] | undefined;
|
|
18479
20590
|
shippingAddress?: {
|
|
18480
20591
|
email?: string | undefined;
|
|
20592
|
+
countryCode?: string | undefined;
|
|
18481
20593
|
address1?: string | undefined;
|
|
18482
20594
|
address2?: string | undefined;
|
|
18483
20595
|
firstName?: string | undefined;
|
|
@@ -18504,7 +20616,67 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
18504
20616
|
phone?: string | undefined;
|
|
18505
20617
|
memberId?: string | undefined;
|
|
18506
20618
|
} | undefined;
|
|
20619
|
+
customAttributes?: {
|
|
20620
|
+
value?: string | undefined;
|
|
20621
|
+
key?: string | undefined;
|
|
20622
|
+
}[] | undefined;
|
|
18507
20623
|
orderedAt?: number | undefined;
|
|
20624
|
+
adminUrl?: string | undefined;
|
|
20625
|
+
note?: string | undefined;
|
|
20626
|
+
displayFinancialStatus?: string | undefined;
|
|
20627
|
+
displayFulfillmentStatus?: string | undefined;
|
|
20628
|
+
test?: boolean | undefined;
|
|
20629
|
+
firstOrder?: boolean | undefined;
|
|
20630
|
+
closed?: boolean | undefined;
|
|
20631
|
+
taxesIncluded?: boolean | undefined;
|
|
20632
|
+
totalWeight?: number | undefined;
|
|
20633
|
+
appName?: string | undefined;
|
|
20634
|
+
billingAddress?: {
|
|
20635
|
+
email?: string | undefined;
|
|
20636
|
+
countryCode?: string | undefined;
|
|
20637
|
+
address1?: string | undefined;
|
|
20638
|
+
address2?: string | undefined;
|
|
20639
|
+
firstName?: string | undefined;
|
|
20640
|
+
lastName?: string | undefined;
|
|
20641
|
+
phoneNumber?: string | undefined;
|
|
20642
|
+
cellPhoneNumber?: string | undefined;
|
|
20643
|
+
zipcode?: string | undefined;
|
|
20644
|
+
shippingMessage?: string | undefined;
|
|
20645
|
+
country?: string | undefined;
|
|
20646
|
+
city?: string | undefined;
|
|
20647
|
+
province?: string | undefined;
|
|
20648
|
+
} | undefined;
|
|
20649
|
+
shippingLines?: {
|
|
20650
|
+
code?: string | undefined;
|
|
20651
|
+
id?: string | undefined;
|
|
20652
|
+
title?: string | undefined;
|
|
20653
|
+
carrierIdentifier?: string | undefined;
|
|
20654
|
+
taxLines?: {
|
|
20655
|
+
title?: string | undefined;
|
|
20656
|
+
amount?: number | undefined;
|
|
20657
|
+
rate?: number | undefined;
|
|
20658
|
+
ratePercentage?: number | undefined;
|
|
20659
|
+
}[] | undefined;
|
|
20660
|
+
}[] | undefined;
|
|
20661
|
+
transactions?: {
|
|
20662
|
+
status?: string | undefined;
|
|
20663
|
+
id?: string | undefined;
|
|
20664
|
+
kind?: string | undefined;
|
|
20665
|
+
createdAt?: number | undefined;
|
|
20666
|
+
amount?: number | undefined;
|
|
20667
|
+
currency?: string | undefined;
|
|
20668
|
+
parentId?: string | undefined;
|
|
20669
|
+
gateway?: string | undefined;
|
|
20670
|
+
manualPaymentGateway?: boolean | undefined;
|
|
20671
|
+
}[] | undefined;
|
|
20672
|
+
metafields?: {
|
|
20673
|
+
type?: string | undefined;
|
|
20674
|
+
value?: string | undefined;
|
|
20675
|
+
key?: string | undefined;
|
|
20676
|
+
namespace?: string | undefined;
|
|
20677
|
+
}[] | undefined;
|
|
20678
|
+
marketId?: string | undefined;
|
|
20679
|
+
marketOrderNo?: string | undefined;
|
|
18508
20680
|
}[] | undefined;
|
|
18509
20681
|
}>;
|
|
18510
20682
|
export type CommerceGetOrdersOutputProto = z.infer<typeof CommerceGetOrdersOutputProtoSchema>;
|
|
@@ -19781,8 +21953,10 @@ export declare const CommerceReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
19781
21953
|
country: z.ZodOptional<z.ZodString>;
|
|
19782
21954
|
city: z.ZodOptional<z.ZodString>;
|
|
19783
21955
|
province: z.ZodOptional<z.ZodString>;
|
|
21956
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
19784
21957
|
}, "strip", z.ZodTypeAny, {
|
|
19785
21958
|
email?: string | undefined;
|
|
21959
|
+
countryCode?: string | undefined;
|
|
19786
21960
|
address1?: string | undefined;
|
|
19787
21961
|
address2?: string | undefined;
|
|
19788
21962
|
firstName?: string | undefined;
|
|
@@ -19796,6 +21970,7 @@ export declare const CommerceReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
19796
21970
|
province?: string | undefined;
|
|
19797
21971
|
}, {
|
|
19798
21972
|
email?: string | undefined;
|
|
21973
|
+
countryCode?: string | undefined;
|
|
19799
21974
|
address1?: string | undefined;
|
|
19800
21975
|
address2?: string | undefined;
|
|
19801
21976
|
firstName?: string | undefined;
|
|
@@ -19858,6 +22033,7 @@ export declare const CommerceReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
19858
22033
|
requestPickup?: boolean | undefined;
|
|
19859
22034
|
pickupAddress?: {
|
|
19860
22035
|
email?: string | undefined;
|
|
22036
|
+
countryCode?: string | undefined;
|
|
19861
22037
|
address1?: string | undefined;
|
|
19862
22038
|
address2?: string | undefined;
|
|
19863
22039
|
firstName?: string | undefined;
|
|
@@ -19899,6 +22075,7 @@ export declare const CommerceReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
19899
22075
|
requestPickup?: boolean | undefined;
|
|
19900
22076
|
pickupAddress?: {
|
|
19901
22077
|
email?: string | undefined;
|
|
22078
|
+
countryCode?: string | undefined;
|
|
19902
22079
|
address1?: string | undefined;
|
|
19903
22080
|
address2?: string | undefined;
|
|
19904
22081
|
firstName?: string | undefined;
|
|
@@ -20075,8 +22252,10 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
20075
22252
|
country: z.ZodOptional<z.ZodString>;
|
|
20076
22253
|
city: z.ZodOptional<z.ZodString>;
|
|
20077
22254
|
province: z.ZodOptional<z.ZodString>;
|
|
22255
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
20078
22256
|
}, "strip", z.ZodTypeAny, {
|
|
20079
22257
|
email?: string | undefined;
|
|
22258
|
+
countryCode?: string | undefined;
|
|
20080
22259
|
address1?: string | undefined;
|
|
20081
22260
|
address2?: string | undefined;
|
|
20082
22261
|
firstName?: string | undefined;
|
|
@@ -20090,6 +22269,7 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
20090
22269
|
province?: string | undefined;
|
|
20091
22270
|
}, {
|
|
20092
22271
|
email?: string | undefined;
|
|
22272
|
+
countryCode?: string | undefined;
|
|
20093
22273
|
address1?: string | undefined;
|
|
20094
22274
|
address2?: string | undefined;
|
|
20095
22275
|
firstName?: string | undefined;
|
|
@@ -20143,6 +22323,7 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
20143
22323
|
requestPickup?: boolean | undefined;
|
|
20144
22324
|
pickupAddress?: {
|
|
20145
22325
|
email?: string | undefined;
|
|
22326
|
+
countryCode?: string | undefined;
|
|
20146
22327
|
address1?: string | undefined;
|
|
20147
22328
|
address2?: string | undefined;
|
|
20148
22329
|
firstName?: string | undefined;
|
|
@@ -20187,6 +22368,7 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
20187
22368
|
requestPickup?: boolean | undefined;
|
|
20188
22369
|
pickupAddress?: {
|
|
20189
22370
|
email?: string | undefined;
|
|
22371
|
+
countryCode?: string | undefined;
|
|
20190
22372
|
address1?: string | undefined;
|
|
20191
22373
|
address2?: string | undefined;
|
|
20192
22374
|
firstName?: string | undefined;
|
|
@@ -20243,140 +22425,265 @@ export declare const CommerceGetExchangeableItemsInputProtoSchema: z.ZodObject<{
|
|
|
20243
22425
|
}, "strip", z.ZodTypeAny, {
|
|
20244
22426
|
items?: {
|
|
20245
22427
|
id?: string | undefined;
|
|
20246
|
-
quantity?: number | undefined;
|
|
20247
|
-
fulfillmentId?: string | undefined;
|
|
22428
|
+
quantity?: number | undefined;
|
|
22429
|
+
fulfillmentId?: string | undefined;
|
|
22430
|
+
}[] | undefined;
|
|
22431
|
+
orderId?: string | undefined;
|
|
22432
|
+
identifier?: {
|
|
22433
|
+
type?: string | undefined;
|
|
22434
|
+
value?: string | undefined;
|
|
22435
|
+
} | undefined;
|
|
22436
|
+
}, {
|
|
22437
|
+
items?: {
|
|
22438
|
+
id?: string | undefined;
|
|
22439
|
+
quantity?: number | undefined;
|
|
22440
|
+
fulfillmentId?: string | undefined;
|
|
22441
|
+
}[] | undefined;
|
|
22442
|
+
orderId?: string | undefined;
|
|
22443
|
+
identifier?: {
|
|
22444
|
+
type?: string | undefined;
|
|
22445
|
+
value?: string | undefined;
|
|
22446
|
+
} | undefined;
|
|
22447
|
+
}>;
|
|
22448
|
+
export type CommerceGetExchangeableItemsInputProto = z.infer<typeof CommerceGetExchangeableItemsInputProtoSchema>;
|
|
22449
|
+
export declare const CommerceGetExchangeableItemsOutputProtoSchema: z.ZodObject<{
|
|
22450
|
+
exchangeableItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22451
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22452
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
22453
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22454
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22455
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
22456
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22457
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22458
|
+
value: z.ZodOptional<z.ZodString>;
|
|
22459
|
+
}, "strip", z.ZodTypeAny, {
|
|
22460
|
+
value?: string | undefined;
|
|
22461
|
+
name?: string | undefined;
|
|
22462
|
+
}, {
|
|
22463
|
+
value?: string | undefined;
|
|
22464
|
+
name?: string | undefined;
|
|
22465
|
+
}>>, "many">>;
|
|
22466
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
22467
|
+
useInventory: z.ZodOptional<z.ZodBoolean>;
|
|
22468
|
+
selling: z.ZodOptional<z.ZodBoolean>;
|
|
22469
|
+
display: z.ZodOptional<z.ZodBoolean>;
|
|
22470
|
+
}, "strip", z.ZodTypeAny, {
|
|
22471
|
+
options?: {
|
|
22472
|
+
value?: string | undefined;
|
|
22473
|
+
name?: string | undefined;
|
|
22474
|
+
}[] | undefined;
|
|
22475
|
+
id?: string | undefined;
|
|
22476
|
+
additionalAmount?: number | undefined;
|
|
22477
|
+
stockQuantity?: number | undefined;
|
|
22478
|
+
useInventory?: boolean | undefined;
|
|
22479
|
+
selling?: boolean | undefined;
|
|
22480
|
+
display?: boolean | undefined;
|
|
22481
|
+
}, {
|
|
22482
|
+
options?: {
|
|
22483
|
+
value?: string | undefined;
|
|
22484
|
+
name?: string | undefined;
|
|
22485
|
+
}[] | undefined;
|
|
22486
|
+
id?: string | undefined;
|
|
22487
|
+
additionalAmount?: number | undefined;
|
|
22488
|
+
stockQuantity?: number | undefined;
|
|
22489
|
+
useInventory?: boolean | undefined;
|
|
22490
|
+
selling?: boolean | undefined;
|
|
22491
|
+
display?: boolean | undefined;
|
|
22492
|
+
}>>, "many">>;
|
|
22493
|
+
}, "strip", z.ZodTypeAny, {
|
|
22494
|
+
id?: string | undefined;
|
|
22495
|
+
productId?: string | undefined;
|
|
22496
|
+
variants?: {
|
|
22497
|
+
options?: {
|
|
22498
|
+
value?: string | undefined;
|
|
22499
|
+
name?: string | undefined;
|
|
22500
|
+
}[] | undefined;
|
|
22501
|
+
id?: string | undefined;
|
|
22502
|
+
additionalAmount?: number | undefined;
|
|
22503
|
+
stockQuantity?: number | undefined;
|
|
22504
|
+
useInventory?: boolean | undefined;
|
|
22505
|
+
selling?: boolean | undefined;
|
|
22506
|
+
display?: boolean | undefined;
|
|
22507
|
+
}[] | undefined;
|
|
22508
|
+
}, {
|
|
22509
|
+
id?: string | undefined;
|
|
22510
|
+
productId?: string | undefined;
|
|
22511
|
+
variants?: {
|
|
22512
|
+
options?: {
|
|
22513
|
+
value?: string | undefined;
|
|
22514
|
+
name?: string | undefined;
|
|
22515
|
+
}[] | undefined;
|
|
22516
|
+
id?: string | undefined;
|
|
22517
|
+
additionalAmount?: number | undefined;
|
|
22518
|
+
stockQuantity?: number | undefined;
|
|
22519
|
+
useInventory?: boolean | undefined;
|
|
22520
|
+
selling?: boolean | undefined;
|
|
22521
|
+
display?: boolean | undefined;
|
|
22522
|
+
}[] | undefined;
|
|
22523
|
+
}>>, "many">>;
|
|
22524
|
+
}, "strip", z.ZodTypeAny, {
|
|
22525
|
+
exchangeableItems?: {
|
|
22526
|
+
id?: string | undefined;
|
|
22527
|
+
productId?: string | undefined;
|
|
22528
|
+
variants?: {
|
|
22529
|
+
options?: {
|
|
22530
|
+
value?: string | undefined;
|
|
22531
|
+
name?: string | undefined;
|
|
22532
|
+
}[] | undefined;
|
|
22533
|
+
id?: string | undefined;
|
|
22534
|
+
additionalAmount?: number | undefined;
|
|
22535
|
+
stockQuantity?: number | undefined;
|
|
22536
|
+
useInventory?: boolean | undefined;
|
|
22537
|
+
selling?: boolean | undefined;
|
|
22538
|
+
display?: boolean | undefined;
|
|
22539
|
+
}[] | undefined;
|
|
22540
|
+
}[] | undefined;
|
|
22541
|
+
}, {
|
|
22542
|
+
exchangeableItems?: {
|
|
22543
|
+
id?: string | undefined;
|
|
22544
|
+
productId?: string | undefined;
|
|
22545
|
+
variants?: {
|
|
22546
|
+
options?: {
|
|
22547
|
+
value?: string | undefined;
|
|
22548
|
+
name?: string | undefined;
|
|
22549
|
+
}[] | undefined;
|
|
22550
|
+
id?: string | undefined;
|
|
22551
|
+
additionalAmount?: number | undefined;
|
|
22552
|
+
stockQuantity?: number | undefined;
|
|
22553
|
+
useInventory?: boolean | undefined;
|
|
22554
|
+
selling?: boolean | undefined;
|
|
22555
|
+
display?: boolean | undefined;
|
|
22556
|
+
}[] | undefined;
|
|
22557
|
+
}[] | undefined;
|
|
22558
|
+
}>;
|
|
22559
|
+
export type CommerceGetExchangeableItemsOutputProto = z.infer<typeof CommerceGetExchangeableItemsOutputProtoSchema>;
|
|
22560
|
+
export declare const CommerceExchangeableItemProtoSchema: z.ZodObject<{
|
|
22561
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22562
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
22563
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22564
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22565
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
22566
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22567
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22568
|
+
value: z.ZodOptional<z.ZodString>;
|
|
22569
|
+
}, "strip", z.ZodTypeAny, {
|
|
22570
|
+
value?: string | undefined;
|
|
22571
|
+
name?: string | undefined;
|
|
22572
|
+
}, {
|
|
22573
|
+
value?: string | undefined;
|
|
22574
|
+
name?: string | undefined;
|
|
22575
|
+
}>>, "many">>;
|
|
22576
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
22577
|
+
useInventory: z.ZodOptional<z.ZodBoolean>;
|
|
22578
|
+
selling: z.ZodOptional<z.ZodBoolean>;
|
|
22579
|
+
display: z.ZodOptional<z.ZodBoolean>;
|
|
22580
|
+
}, "strip", z.ZodTypeAny, {
|
|
22581
|
+
options?: {
|
|
22582
|
+
value?: string | undefined;
|
|
22583
|
+
name?: string | undefined;
|
|
22584
|
+
}[] | undefined;
|
|
22585
|
+
id?: string | undefined;
|
|
22586
|
+
additionalAmount?: number | undefined;
|
|
22587
|
+
stockQuantity?: number | undefined;
|
|
22588
|
+
useInventory?: boolean | undefined;
|
|
22589
|
+
selling?: boolean | undefined;
|
|
22590
|
+
display?: boolean | undefined;
|
|
22591
|
+
}, {
|
|
22592
|
+
options?: {
|
|
22593
|
+
value?: string | undefined;
|
|
22594
|
+
name?: string | undefined;
|
|
22595
|
+
}[] | undefined;
|
|
22596
|
+
id?: string | undefined;
|
|
22597
|
+
additionalAmount?: number | undefined;
|
|
22598
|
+
stockQuantity?: number | undefined;
|
|
22599
|
+
useInventory?: boolean | undefined;
|
|
22600
|
+
selling?: boolean | undefined;
|
|
22601
|
+
display?: boolean | undefined;
|
|
22602
|
+
}>>, "many">>;
|
|
22603
|
+
}, "strip", z.ZodTypeAny, {
|
|
22604
|
+
id?: string | undefined;
|
|
22605
|
+
productId?: string | undefined;
|
|
22606
|
+
variants?: {
|
|
22607
|
+
options?: {
|
|
22608
|
+
value?: string | undefined;
|
|
22609
|
+
name?: string | undefined;
|
|
22610
|
+
}[] | undefined;
|
|
22611
|
+
id?: string | undefined;
|
|
22612
|
+
additionalAmount?: number | undefined;
|
|
22613
|
+
stockQuantity?: number | undefined;
|
|
22614
|
+
useInventory?: boolean | undefined;
|
|
22615
|
+
selling?: boolean | undefined;
|
|
22616
|
+
display?: boolean | undefined;
|
|
20248
22617
|
}[] | undefined;
|
|
20249
|
-
orderId?: string | undefined;
|
|
20250
|
-
identifier?: {
|
|
20251
|
-
type?: string | undefined;
|
|
20252
|
-
value?: string | undefined;
|
|
20253
|
-
} | undefined;
|
|
20254
22618
|
}, {
|
|
20255
|
-
|
|
22619
|
+
id?: string | undefined;
|
|
22620
|
+
productId?: string | undefined;
|
|
22621
|
+
variants?: {
|
|
22622
|
+
options?: {
|
|
22623
|
+
value?: string | undefined;
|
|
22624
|
+
name?: string | undefined;
|
|
22625
|
+
}[] | undefined;
|
|
20256
22626
|
id?: string | undefined;
|
|
20257
|
-
|
|
20258
|
-
|
|
22627
|
+
additionalAmount?: number | undefined;
|
|
22628
|
+
stockQuantity?: number | undefined;
|
|
22629
|
+
useInventory?: boolean | undefined;
|
|
22630
|
+
selling?: boolean | undefined;
|
|
22631
|
+
display?: boolean | undefined;
|
|
20259
22632
|
}[] | undefined;
|
|
20260
|
-
orderId?: string | undefined;
|
|
20261
|
-
identifier?: {
|
|
20262
|
-
type?: string | undefined;
|
|
20263
|
-
value?: string | undefined;
|
|
20264
|
-
} | undefined;
|
|
20265
22633
|
}>;
|
|
20266
|
-
export type
|
|
20267
|
-
export declare const
|
|
20268
|
-
|
|
20269
|
-
|
|
22634
|
+
export type CommerceExchangeableItemProto = z.infer<typeof CommerceExchangeableItemProtoSchema>;
|
|
22635
|
+
export declare const CommerceExchangeableVariantProtoSchema: z.ZodObject<{
|
|
22636
|
+
id: z.ZodOptional<z.ZodString>;
|
|
22637
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
22638
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
20270
22639
|
name: z.ZodOptional<z.ZodString>;
|
|
20271
|
-
|
|
20272
|
-
amount: z.ZodOptional<z.ZodNumber>;
|
|
20273
|
-
quantity: z.ZodOptional<z.ZodNumber>;
|
|
20274
|
-
option: z.ZodOptional<z.ZodString>;
|
|
20275
|
-
productId: z.ZodOptional<z.ZodString>;
|
|
20276
|
-
variantId: z.ZodOptional<z.ZodString>;
|
|
20277
|
-
state: z.ZodOptional<z.ZodString>;
|
|
20278
|
-
shippedAt: z.ZodOptional<z.ZodNumber>;
|
|
20279
|
-
deliveredAt: z.ZodOptional<z.ZodNumber>;
|
|
20280
|
-
estimatedShipDate: z.ZodOptional<z.ZodNumber>;
|
|
20281
|
-
claimability: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
20282
|
-
cancelable: z.ZodOptional<z.ZodBoolean>;
|
|
20283
|
-
returnable: z.ZodOptional<z.ZodBoolean>;
|
|
20284
|
-
exchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
20285
|
-
shippingAddressChangeable: z.ZodOptional<z.ZodBoolean>;
|
|
20286
|
-
}, "strip", z.ZodTypeAny, {
|
|
20287
|
-
cancelable?: boolean | undefined;
|
|
20288
|
-
returnable?: boolean | undefined;
|
|
20289
|
-
exchangeable?: boolean | undefined;
|
|
20290
|
-
shippingAddressChangeable?: boolean | undefined;
|
|
20291
|
-
}, {
|
|
20292
|
-
cancelable?: boolean | undefined;
|
|
20293
|
-
returnable?: boolean | undefined;
|
|
20294
|
-
exchangeable?: boolean | undefined;
|
|
20295
|
-
shippingAddressChangeable?: boolean | undefined;
|
|
20296
|
-
}>>>;
|
|
22640
|
+
value: z.ZodOptional<z.ZodString>;
|
|
20297
22641
|
}, "strip", z.ZodTypeAny, {
|
|
22642
|
+
value?: string | undefined;
|
|
20298
22643
|
name?: string | undefined;
|
|
20299
|
-
id?: string | undefined;
|
|
20300
|
-
imageUrl?: string | undefined;
|
|
20301
|
-
state?: string | undefined;
|
|
20302
|
-
amount?: number | undefined;
|
|
20303
|
-
quantity?: number | undefined;
|
|
20304
|
-
option?: string | undefined;
|
|
20305
|
-
productId?: string | undefined;
|
|
20306
|
-
variantId?: string | undefined;
|
|
20307
|
-
shippedAt?: number | undefined;
|
|
20308
|
-
deliveredAt?: number | undefined;
|
|
20309
|
-
estimatedShipDate?: number | undefined;
|
|
20310
|
-
claimability?: {
|
|
20311
|
-
cancelable?: boolean | undefined;
|
|
20312
|
-
returnable?: boolean | undefined;
|
|
20313
|
-
exchangeable?: boolean | undefined;
|
|
20314
|
-
shippingAddressChangeable?: boolean | undefined;
|
|
20315
|
-
} | undefined;
|
|
20316
22644
|
}, {
|
|
22645
|
+
value?: string | undefined;
|
|
20317
22646
|
name?: string | undefined;
|
|
20318
|
-
id?: string | undefined;
|
|
20319
|
-
imageUrl?: string | undefined;
|
|
20320
|
-
state?: string | undefined;
|
|
20321
|
-
amount?: number | undefined;
|
|
20322
|
-
quantity?: number | undefined;
|
|
20323
|
-
option?: string | undefined;
|
|
20324
|
-
productId?: string | undefined;
|
|
20325
|
-
variantId?: string | undefined;
|
|
20326
|
-
shippedAt?: number | undefined;
|
|
20327
|
-
deliveredAt?: number | undefined;
|
|
20328
|
-
estimatedShipDate?: number | undefined;
|
|
20329
|
-
claimability?: {
|
|
20330
|
-
cancelable?: boolean | undefined;
|
|
20331
|
-
returnable?: boolean | undefined;
|
|
20332
|
-
exchangeable?: boolean | undefined;
|
|
20333
|
-
shippingAddressChangeable?: boolean | undefined;
|
|
20334
|
-
} | undefined;
|
|
20335
22647
|
}>>, "many">>;
|
|
22648
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
22649
|
+
useInventory: z.ZodOptional<z.ZodBoolean>;
|
|
22650
|
+
selling: z.ZodOptional<z.ZodBoolean>;
|
|
22651
|
+
display: z.ZodOptional<z.ZodBoolean>;
|
|
20336
22652
|
}, "strip", z.ZodTypeAny, {
|
|
20337
|
-
|
|
22653
|
+
options?: {
|
|
22654
|
+
value?: string | undefined;
|
|
20338
22655
|
name?: string | undefined;
|
|
20339
|
-
id?: string | undefined;
|
|
20340
|
-
imageUrl?: string | undefined;
|
|
20341
|
-
state?: string | undefined;
|
|
20342
|
-
amount?: number | undefined;
|
|
20343
|
-
quantity?: number | undefined;
|
|
20344
|
-
option?: string | undefined;
|
|
20345
|
-
productId?: string | undefined;
|
|
20346
|
-
variantId?: string | undefined;
|
|
20347
|
-
shippedAt?: number | undefined;
|
|
20348
|
-
deliveredAt?: number | undefined;
|
|
20349
|
-
estimatedShipDate?: number | undefined;
|
|
20350
|
-
claimability?: {
|
|
20351
|
-
cancelable?: boolean | undefined;
|
|
20352
|
-
returnable?: boolean | undefined;
|
|
20353
|
-
exchangeable?: boolean | undefined;
|
|
20354
|
-
shippingAddressChangeable?: boolean | undefined;
|
|
20355
|
-
} | undefined;
|
|
20356
22656
|
}[] | undefined;
|
|
22657
|
+
id?: string | undefined;
|
|
22658
|
+
additionalAmount?: number | undefined;
|
|
22659
|
+
stockQuantity?: number | undefined;
|
|
22660
|
+
useInventory?: boolean | undefined;
|
|
22661
|
+
selling?: boolean | undefined;
|
|
22662
|
+
display?: boolean | undefined;
|
|
20357
22663
|
}, {
|
|
20358
|
-
|
|
22664
|
+
options?: {
|
|
22665
|
+
value?: string | undefined;
|
|
20359
22666
|
name?: string | undefined;
|
|
20360
|
-
id?: string | undefined;
|
|
20361
|
-
imageUrl?: string | undefined;
|
|
20362
|
-
state?: string | undefined;
|
|
20363
|
-
amount?: number | undefined;
|
|
20364
|
-
quantity?: number | undefined;
|
|
20365
|
-
option?: string | undefined;
|
|
20366
|
-
productId?: string | undefined;
|
|
20367
|
-
variantId?: string | undefined;
|
|
20368
|
-
shippedAt?: number | undefined;
|
|
20369
|
-
deliveredAt?: number | undefined;
|
|
20370
|
-
estimatedShipDate?: number | undefined;
|
|
20371
|
-
claimability?: {
|
|
20372
|
-
cancelable?: boolean | undefined;
|
|
20373
|
-
returnable?: boolean | undefined;
|
|
20374
|
-
exchangeable?: boolean | undefined;
|
|
20375
|
-
shippingAddressChangeable?: boolean | undefined;
|
|
20376
|
-
} | undefined;
|
|
20377
22667
|
}[] | undefined;
|
|
22668
|
+
id?: string | undefined;
|
|
22669
|
+
additionalAmount?: number | undefined;
|
|
22670
|
+
stockQuantity?: number | undefined;
|
|
22671
|
+
useInventory?: boolean | undefined;
|
|
22672
|
+
selling?: boolean | undefined;
|
|
22673
|
+
display?: boolean | undefined;
|
|
20378
22674
|
}>;
|
|
20379
|
-
export type
|
|
22675
|
+
export type CommerceExchangeableVariantProto = z.infer<typeof CommerceExchangeableVariantProtoSchema>;
|
|
22676
|
+
export declare const CommerceVariantOptionProtoSchema: z.ZodObject<{
|
|
22677
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22678
|
+
value: z.ZodOptional<z.ZodString>;
|
|
22679
|
+
}, "strip", z.ZodTypeAny, {
|
|
22680
|
+
value?: string | undefined;
|
|
22681
|
+
name?: string | undefined;
|
|
22682
|
+
}, {
|
|
22683
|
+
value?: string | undefined;
|
|
22684
|
+
name?: string | undefined;
|
|
22685
|
+
}>;
|
|
22686
|
+
export type CommerceVariantOptionProto = z.infer<typeof CommerceVariantOptionProtoSchema>;
|
|
20380
22687
|
export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
20381
22688
|
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
20382
22689
|
type: z.ZodOptional<z.ZodString>;
|
|
@@ -20402,8 +22709,10 @@ export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
20402
22709
|
country: z.ZodOptional<z.ZodString>;
|
|
20403
22710
|
city: z.ZodOptional<z.ZodString>;
|
|
20404
22711
|
province: z.ZodOptional<z.ZodString>;
|
|
22712
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
20405
22713
|
}, "strip", z.ZodTypeAny, {
|
|
20406
22714
|
email?: string | undefined;
|
|
22715
|
+
countryCode?: string | undefined;
|
|
20407
22716
|
address1?: string | undefined;
|
|
20408
22717
|
address2?: string | undefined;
|
|
20409
22718
|
firstName?: string | undefined;
|
|
@@ -20417,6 +22726,7 @@ export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
20417
22726
|
province?: string | undefined;
|
|
20418
22727
|
}, {
|
|
20419
22728
|
email?: string | undefined;
|
|
22729
|
+
countryCode?: string | undefined;
|
|
20420
22730
|
address1?: string | undefined;
|
|
20421
22731
|
address2?: string | undefined;
|
|
20422
22732
|
firstName?: string | undefined;
|
|
@@ -20437,6 +22747,7 @@ export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
20437
22747
|
} | undefined;
|
|
20438
22748
|
newAddress?: {
|
|
20439
22749
|
email?: string | undefined;
|
|
22750
|
+
countryCode?: string | undefined;
|
|
20440
22751
|
address1?: string | undefined;
|
|
20441
22752
|
address2?: string | undefined;
|
|
20442
22753
|
firstName?: string | undefined;
|
|
@@ -20457,6 +22768,7 @@ export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
20457
22768
|
} | undefined;
|
|
20458
22769
|
newAddress?: {
|
|
20459
22770
|
email?: string | undefined;
|
|
22771
|
+
countryCode?: string | undefined;
|
|
20460
22772
|
address1?: string | undefined;
|
|
20461
22773
|
address2?: string | undefined;
|
|
20462
22774
|
firstName?: string | undefined;
|
|
@@ -21847,8 +24159,10 @@ export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
21847
24159
|
country: z.ZodOptional<z.ZodString>;
|
|
21848
24160
|
city: z.ZodOptional<z.ZodString>;
|
|
21849
24161
|
province: z.ZodOptional<z.ZodString>;
|
|
24162
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
21850
24163
|
}, "strip", z.ZodTypeAny, {
|
|
21851
24164
|
email?: string | undefined;
|
|
24165
|
+
countryCode?: string | undefined;
|
|
21852
24166
|
address1?: string | undefined;
|
|
21853
24167
|
address2?: string | undefined;
|
|
21854
24168
|
firstName?: string | undefined;
|
|
@@ -21862,6 +24176,7 @@ export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
21862
24176
|
province?: string | undefined;
|
|
21863
24177
|
}, {
|
|
21864
24178
|
email?: string | undefined;
|
|
24179
|
+
countryCode?: string | undefined;
|
|
21865
24180
|
address1?: string | undefined;
|
|
21866
24181
|
address2?: string | undefined;
|
|
21867
24182
|
firstName?: string | undefined;
|
|
@@ -21886,6 +24201,7 @@ export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
21886
24201
|
} | undefined;
|
|
21887
24202
|
newAddress?: {
|
|
21888
24203
|
email?: string | undefined;
|
|
24204
|
+
countryCode?: string | undefined;
|
|
21889
24205
|
address1?: string | undefined;
|
|
21890
24206
|
address2?: string | undefined;
|
|
21891
24207
|
firstName?: string | undefined;
|
|
@@ -21908,6 +24224,7 @@ export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
21908
24224
|
} | undefined;
|
|
21909
24225
|
newAddress?: {
|
|
21910
24226
|
email?: string | undefined;
|
|
24227
|
+
countryCode?: string | undefined;
|
|
21911
24228
|
address1?: string | undefined;
|
|
21912
24229
|
address2?: string | undefined;
|
|
21913
24230
|
firstName?: string | undefined;
|
|
@@ -23821,6 +26138,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
23821
26138
|
form?: Record<string, any> | undefined;
|
|
23822
26139
|
blocks?: Record<string, any>[] | undefined;
|
|
23823
26140
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26141
|
+
plainText?: string | undefined;
|
|
23824
26142
|
createdAt?: string | undefined;
|
|
23825
26143
|
alf?: {
|
|
23826
26144
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -23861,7 +26179,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
23861
26179
|
chatType?: string | undefined;
|
|
23862
26180
|
personId?: string | undefined;
|
|
23863
26181
|
marketing?: Record<string, any> | undefined;
|
|
23864
|
-
plainText?: string | undefined;
|
|
23865
26182
|
reactions?: Record<string, any>[] | undefined;
|
|
23866
26183
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
23867
26184
|
personType?: string | undefined;
|
|
@@ -23884,6 +26201,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
23884
26201
|
form?: Record<string, any> | undefined;
|
|
23885
26202
|
blocks?: Record<string, any>[] | undefined;
|
|
23886
26203
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26204
|
+
plainText?: string | undefined;
|
|
23887
26205
|
createdAt?: string | undefined;
|
|
23888
26206
|
alf?: {
|
|
23889
26207
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -23924,7 +26242,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
23924
26242
|
chatType?: string | undefined;
|
|
23925
26243
|
personId?: string | undefined;
|
|
23926
26244
|
marketing?: Record<string, any> | undefined;
|
|
23927
|
-
plainText?: string | undefined;
|
|
23928
26245
|
reactions?: Record<string, any>[] | undefined;
|
|
23929
26246
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
23930
26247
|
personType?: string | undefined;
|
|
@@ -24011,6 +26328,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
24011
26328
|
form?: Record<string, any> | undefined;
|
|
24012
26329
|
blocks?: Record<string, any>[] | undefined;
|
|
24013
26330
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26331
|
+
plainText?: string | undefined;
|
|
24014
26332
|
createdAt?: string | undefined;
|
|
24015
26333
|
alf?: {
|
|
24016
26334
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -24051,7 +26369,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
24051
26369
|
chatType?: string | undefined;
|
|
24052
26370
|
personId?: string | undefined;
|
|
24053
26371
|
marketing?: Record<string, any> | undefined;
|
|
24054
|
-
plainText?: string | undefined;
|
|
24055
26372
|
reactions?: Record<string, any>[] | undefined;
|
|
24056
26373
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
24057
26374
|
personType?: string | undefined;
|
|
@@ -24138,6 +26455,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
24138
26455
|
form?: Record<string, any> | undefined;
|
|
24139
26456
|
blocks?: Record<string, any>[] | undefined;
|
|
24140
26457
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26458
|
+
plainText?: string | undefined;
|
|
24141
26459
|
createdAt?: string | undefined;
|
|
24142
26460
|
alf?: {
|
|
24143
26461
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -24178,7 +26496,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
24178
26496
|
chatType?: string | undefined;
|
|
24179
26497
|
personId?: string | undefined;
|
|
24180
26498
|
marketing?: Record<string, any> | undefined;
|
|
24181
|
-
plainText?: string | undefined;
|
|
24182
26499
|
reactions?: Record<string, any>[] | undefined;
|
|
24183
26500
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
24184
26501
|
personType?: string | undefined;
|
|
@@ -24196,34 +26513,42 @@ export type MessagingOnMediumMessageCreatedInputProto = z.infer<typeof Messaging
|
|
|
24196
26513
|
export declare const MessagingSendResultProtoSchema: z.ZodObject<{
|
|
24197
26514
|
sendState: z.ZodOptional<z.ZodString>;
|
|
24198
26515
|
message: z.ZodOptional<z.ZodString>;
|
|
26516
|
+
errorCode: z.ZodOptional<z.ZodNumber>;
|
|
24199
26517
|
}, "strip", z.ZodTypeAny, {
|
|
24200
26518
|
message?: string | undefined;
|
|
24201
26519
|
sendState?: string | undefined;
|
|
26520
|
+
errorCode?: number | undefined;
|
|
24202
26521
|
}, {
|
|
24203
26522
|
message?: string | undefined;
|
|
24204
26523
|
sendState?: string | undefined;
|
|
26524
|
+
errorCode?: number | undefined;
|
|
24205
26525
|
}>;
|
|
24206
26526
|
export type MessagingSendResultProto = z.infer<typeof MessagingSendResultProtoSchema>;
|
|
24207
26527
|
export declare const MessagingOnMediumMessageCreatedOutputProtoSchema: z.ZodObject<{
|
|
24208
26528
|
sendResult: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
24209
26529
|
sendState: z.ZodOptional<z.ZodString>;
|
|
24210
26530
|
message: z.ZodOptional<z.ZodString>;
|
|
26531
|
+
errorCode: z.ZodOptional<z.ZodNumber>;
|
|
24211
26532
|
}, "strip", z.ZodTypeAny, {
|
|
24212
26533
|
message?: string | undefined;
|
|
24213
26534
|
sendState?: string | undefined;
|
|
26535
|
+
errorCode?: number | undefined;
|
|
24214
26536
|
}, {
|
|
24215
26537
|
message?: string | undefined;
|
|
24216
26538
|
sendState?: string | undefined;
|
|
26539
|
+
errorCode?: number | undefined;
|
|
24217
26540
|
}>>>;
|
|
24218
26541
|
}, "strip", z.ZodTypeAny, {
|
|
24219
26542
|
sendResult?: {
|
|
24220
26543
|
message?: string | undefined;
|
|
24221
26544
|
sendState?: string | undefined;
|
|
26545
|
+
errorCode?: number | undefined;
|
|
24222
26546
|
} | undefined;
|
|
24223
26547
|
}, {
|
|
24224
26548
|
sendResult?: {
|
|
24225
26549
|
message?: string | undefined;
|
|
24226
26550
|
sendState?: string | undefined;
|
|
26551
|
+
errorCode?: number | undefined;
|
|
24227
26552
|
} | undefined;
|
|
24228
26553
|
}>;
|
|
24229
26554
|
export type MessagingOnMediumMessageCreatedOutputProto = z.infer<typeof MessagingOnMediumMessageCreatedOutputProtoSchema>;
|
|
@@ -25422,6 +27747,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25422
27747
|
form?: Record<string, any> | undefined;
|
|
25423
27748
|
blocks?: Record<string, any>[] | undefined;
|
|
25424
27749
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
27750
|
+
plainText?: string | undefined;
|
|
25425
27751
|
createdAt?: string | undefined;
|
|
25426
27752
|
alf?: {
|
|
25427
27753
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -25462,7 +27788,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25462
27788
|
chatType?: string | undefined;
|
|
25463
27789
|
personId?: string | undefined;
|
|
25464
27790
|
marketing?: Record<string, any> | undefined;
|
|
25465
|
-
plainText?: string | undefined;
|
|
25466
27791
|
reactions?: Record<string, any>[] | undefined;
|
|
25467
27792
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
25468
27793
|
personType?: string | undefined;
|
|
@@ -25485,6 +27810,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25485
27810
|
form?: Record<string, any> | undefined;
|
|
25486
27811
|
blocks?: Record<string, any>[] | undefined;
|
|
25487
27812
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
27813
|
+
plainText?: string | undefined;
|
|
25488
27814
|
createdAt?: string | undefined;
|
|
25489
27815
|
alf?: {
|
|
25490
27816
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -25525,7 +27851,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25525
27851
|
chatType?: string | undefined;
|
|
25526
27852
|
personId?: string | undefined;
|
|
25527
27853
|
marketing?: Record<string, any> | undefined;
|
|
25528
|
-
plainText?: string | undefined;
|
|
25529
27854
|
reactions?: Record<string, any>[] | undefined;
|
|
25530
27855
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
25531
27856
|
personType?: string | undefined;
|
|
@@ -25648,6 +27973,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25648
27973
|
form?: Record<string, any> | undefined;
|
|
25649
27974
|
blocks?: Record<string, any>[] | undefined;
|
|
25650
27975
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
27976
|
+
plainText?: string | undefined;
|
|
25651
27977
|
createdAt?: string | undefined;
|
|
25652
27978
|
alf?: {
|
|
25653
27979
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -25688,7 +28014,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25688
28014
|
chatType?: string | undefined;
|
|
25689
28015
|
personId?: string | undefined;
|
|
25690
28016
|
marketing?: Record<string, any> | undefined;
|
|
25691
|
-
plainText?: string | undefined;
|
|
25692
28017
|
reactions?: Record<string, any>[] | undefined;
|
|
25693
28018
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
25694
28019
|
personType?: string | undefined;
|
|
@@ -25814,6 +28139,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25814
28139
|
form?: Record<string, any> | undefined;
|
|
25815
28140
|
blocks?: Record<string, any>[] | undefined;
|
|
25816
28141
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28142
|
+
plainText?: string | undefined;
|
|
25817
28143
|
createdAt?: string | undefined;
|
|
25818
28144
|
alf?: {
|
|
25819
28145
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -25854,7 +28180,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
25854
28180
|
chatType?: string | undefined;
|
|
25855
28181
|
personId?: string | undefined;
|
|
25856
28182
|
marketing?: Record<string, any> | undefined;
|
|
25857
|
-
plainText?: string | undefined;
|
|
25858
28183
|
reactions?: Record<string, any>[] | undefined;
|
|
25859
28184
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
25860
28185
|
personType?: string | undefined;
|
|
@@ -26376,6 +28701,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26376
28701
|
form?: Record<string, any> | undefined;
|
|
26377
28702
|
blocks?: Record<string, any>[] | undefined;
|
|
26378
28703
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28704
|
+
plainText?: string | undefined;
|
|
26379
28705
|
createdAt?: string | undefined;
|
|
26380
28706
|
alf?: {
|
|
26381
28707
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26416,7 +28742,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26416
28742
|
chatType?: string | undefined;
|
|
26417
28743
|
personId?: string | undefined;
|
|
26418
28744
|
marketing?: Record<string, any> | undefined;
|
|
26419
|
-
plainText?: string | undefined;
|
|
26420
28745
|
reactions?: Record<string, any>[] | undefined;
|
|
26421
28746
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26422
28747
|
personType?: string | undefined;
|
|
@@ -26439,6 +28764,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26439
28764
|
form?: Record<string, any> | undefined;
|
|
26440
28765
|
blocks?: Record<string, any>[] | undefined;
|
|
26441
28766
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28767
|
+
plainText?: string | undefined;
|
|
26442
28768
|
createdAt?: string | undefined;
|
|
26443
28769
|
alf?: {
|
|
26444
28770
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26479,7 +28805,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26479
28805
|
chatType?: string | undefined;
|
|
26480
28806
|
personId?: string | undefined;
|
|
26481
28807
|
marketing?: Record<string, any> | undefined;
|
|
26482
|
-
plainText?: string | undefined;
|
|
26483
28808
|
reactions?: Record<string, any>[] | undefined;
|
|
26484
28809
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26485
28810
|
personType?: string | undefined;
|
|
@@ -26566,6 +28891,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26566
28891
|
form?: Record<string, any> | undefined;
|
|
26567
28892
|
blocks?: Record<string, any>[] | undefined;
|
|
26568
28893
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28894
|
+
plainText?: string | undefined;
|
|
26569
28895
|
createdAt?: string | undefined;
|
|
26570
28896
|
alf?: {
|
|
26571
28897
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26606,7 +28932,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26606
28932
|
chatType?: string | undefined;
|
|
26607
28933
|
personId?: string | undefined;
|
|
26608
28934
|
marketing?: Record<string, any> | undefined;
|
|
26609
|
-
plainText?: string | undefined;
|
|
26610
28935
|
reactions?: Record<string, any>[] | undefined;
|
|
26611
28936
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26612
28937
|
personType?: string | undefined;
|
|
@@ -26693,6 +29018,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26693
29018
|
form?: Record<string, any> | undefined;
|
|
26694
29019
|
blocks?: Record<string, any>[] | undefined;
|
|
26695
29020
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
29021
|
+
plainText?: string | undefined;
|
|
26696
29022
|
createdAt?: string | undefined;
|
|
26697
29023
|
alf?: {
|
|
26698
29024
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26733,7 +29059,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
26733
29059
|
chatType?: string | undefined;
|
|
26734
29060
|
personId?: string | undefined;
|
|
26735
29061
|
marketing?: Record<string, any> | undefined;
|
|
26736
|
-
plainText?: string | undefined;
|
|
26737
29062
|
reactions?: Record<string, any>[] | undefined;
|
|
26738
29063
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26739
29064
|
personType?: string | undefined;
|
|
@@ -26943,6 +29268,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
26943
29268
|
version?: string | undefined;
|
|
26944
29269
|
updatedAt?: string | undefined;
|
|
26945
29270
|
blocks?: Record<string, any>[] | undefined;
|
|
29271
|
+
plainText?: string | undefined;
|
|
26946
29272
|
createdAt?: string | undefined;
|
|
26947
29273
|
files?: {
|
|
26948
29274
|
url?: string | undefined;
|
|
@@ -26953,7 +29279,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
26953
29279
|
buttons?: Record<string, any>[] | undefined;
|
|
26954
29280
|
chatType?: string | undefined;
|
|
26955
29281
|
personId?: string | undefined;
|
|
26956
|
-
plainText?: string | undefined;
|
|
26957
29282
|
personType?: string | undefined;
|
|
26958
29283
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
26959
29284
|
customPayload?: {
|
|
@@ -26968,6 +29293,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
26968
29293
|
version?: string | undefined;
|
|
26969
29294
|
updatedAt?: string | undefined;
|
|
26970
29295
|
blocks?: Record<string, any>[] | undefined;
|
|
29296
|
+
plainText?: string | undefined;
|
|
26971
29297
|
createdAt?: string | undefined;
|
|
26972
29298
|
files?: {
|
|
26973
29299
|
url?: string | undefined;
|
|
@@ -26978,7 +29304,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
26978
29304
|
buttons?: Record<string, any>[] | undefined;
|
|
26979
29305
|
chatType?: string | undefined;
|
|
26980
29306
|
personId?: string | undefined;
|
|
26981
|
-
plainText?: string | undefined;
|
|
26982
29307
|
personType?: string | undefined;
|
|
26983
29308
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
26984
29309
|
customPayload?: {
|
|
@@ -26999,6 +29324,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
26999
29324
|
version?: string | undefined;
|
|
27000
29325
|
updatedAt?: string | undefined;
|
|
27001
29326
|
blocks?: Record<string, any>[] | undefined;
|
|
29327
|
+
plainText?: string | undefined;
|
|
27002
29328
|
createdAt?: string | undefined;
|
|
27003
29329
|
files?: {
|
|
27004
29330
|
url?: string | undefined;
|
|
@@ -27009,7 +29335,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
27009
29335
|
buttons?: Record<string, any>[] | undefined;
|
|
27010
29336
|
chatType?: string | undefined;
|
|
27011
29337
|
personId?: string | undefined;
|
|
27012
|
-
plainText?: string | undefined;
|
|
27013
29338
|
personType?: string | undefined;
|
|
27014
29339
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
27015
29340
|
customPayload?: {
|
|
@@ -27030,6 +29355,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
27030
29355
|
version?: string | undefined;
|
|
27031
29356
|
updatedAt?: string | undefined;
|
|
27032
29357
|
blocks?: Record<string, any>[] | undefined;
|
|
29358
|
+
plainText?: string | undefined;
|
|
27033
29359
|
createdAt?: string | undefined;
|
|
27034
29360
|
files?: {
|
|
27035
29361
|
url?: string | undefined;
|
|
@@ -27040,7 +29366,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
27040
29366
|
buttons?: Record<string, any>[] | undefined;
|
|
27041
29367
|
chatType?: string | undefined;
|
|
27042
29368
|
personId?: string | undefined;
|
|
27043
|
-
plainText?: string | undefined;
|
|
27044
29369
|
personType?: string | undefined;
|
|
27045
29370
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
27046
29371
|
customPayload?: {
|
|
@@ -27140,6 +29465,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27140
29465
|
version?: string | undefined;
|
|
27141
29466
|
updatedAt?: string | undefined;
|
|
27142
29467
|
blocks?: Record<string, any>[] | undefined;
|
|
29468
|
+
plainText?: string | undefined;
|
|
27143
29469
|
createdAt?: string | undefined;
|
|
27144
29470
|
files?: {
|
|
27145
29471
|
url?: string | undefined;
|
|
@@ -27150,7 +29476,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27150
29476
|
buttons?: Record<string, any>[] | undefined;
|
|
27151
29477
|
chatType?: string | undefined;
|
|
27152
29478
|
personId?: string | undefined;
|
|
27153
|
-
plainText?: string | undefined;
|
|
27154
29479
|
personType?: string | undefined;
|
|
27155
29480
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
27156
29481
|
customPayload?: {
|
|
@@ -27165,6 +29490,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27165
29490
|
version?: string | undefined;
|
|
27166
29491
|
updatedAt?: string | undefined;
|
|
27167
29492
|
blocks?: Record<string, any>[] | undefined;
|
|
29493
|
+
plainText?: string | undefined;
|
|
27168
29494
|
createdAt?: string | undefined;
|
|
27169
29495
|
files?: {
|
|
27170
29496
|
url?: string | undefined;
|
|
@@ -27175,7 +29501,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27175
29501
|
buttons?: Record<string, any>[] | undefined;
|
|
27176
29502
|
chatType?: string | undefined;
|
|
27177
29503
|
personId?: string | undefined;
|
|
27178
|
-
plainText?: string | undefined;
|
|
27179
29504
|
personType?: string | undefined;
|
|
27180
29505
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
27181
29506
|
customPayload?: {
|
|
@@ -27194,6 +29519,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27194
29519
|
version?: string | undefined;
|
|
27195
29520
|
updatedAt?: string | undefined;
|
|
27196
29521
|
blocks?: Record<string, any>[] | undefined;
|
|
29522
|
+
plainText?: string | undefined;
|
|
27197
29523
|
createdAt?: string | undefined;
|
|
27198
29524
|
files?: {
|
|
27199
29525
|
url?: string | undefined;
|
|
@@ -27204,7 +29530,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27204
29530
|
buttons?: Record<string, any>[] | undefined;
|
|
27205
29531
|
chatType?: string | undefined;
|
|
27206
29532
|
personId?: string | undefined;
|
|
27207
|
-
plainText?: string | undefined;
|
|
27208
29533
|
personType?: string | undefined;
|
|
27209
29534
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
27210
29535
|
customPayload?: {
|
|
@@ -27227,6 +29552,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27227
29552
|
version?: string | undefined;
|
|
27228
29553
|
updatedAt?: string | undefined;
|
|
27229
29554
|
blocks?: Record<string, any>[] | undefined;
|
|
29555
|
+
plainText?: string | undefined;
|
|
27230
29556
|
createdAt?: string | undefined;
|
|
27231
29557
|
files?: {
|
|
27232
29558
|
url?: string | undefined;
|
|
@@ -27237,7 +29563,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
27237
29563
|
buttons?: Record<string, any>[] | undefined;
|
|
27238
29564
|
chatType?: string | undefined;
|
|
27239
29565
|
personId?: string | undefined;
|
|
27240
|
-
plainText?: string | undefined;
|
|
27241
29566
|
personType?: string | undefined;
|
|
27242
29567
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
27243
29568
|
customPayload?: {
|
|
@@ -27970,6 +30295,104 @@ export declare const HookUserChatOpenedResultProtoSchema: z.ZodObject<{
|
|
|
27970
30295
|
terminal?: boolean | undefined;
|
|
27971
30296
|
}>;
|
|
27972
30297
|
export type HookUserChatOpenedResultProto = z.infer<typeof HookUserChatOpenedResultProtoSchema>;
|
|
30298
|
+
export declare const HookTeamChatMessageCreatedWriterProtoSchema: z.ZodObject<{
|
|
30299
|
+
type: z.ZodOptional<z.ZodString>;
|
|
30300
|
+
id: z.ZodOptional<z.ZodString>;
|
|
30301
|
+
}, "strip", z.ZodTypeAny, {
|
|
30302
|
+
type?: string | undefined;
|
|
30303
|
+
id?: string | undefined;
|
|
30304
|
+
}, {
|
|
30305
|
+
type?: string | undefined;
|
|
30306
|
+
id?: string | undefined;
|
|
30307
|
+
}>;
|
|
30308
|
+
export type HookTeamChatMessageCreatedWriterProto = z.infer<typeof HookTeamChatMessageCreatedWriterProtoSchema>;
|
|
30309
|
+
export declare const HookTeamChatMessageCreatedLinkProtoSchema: z.ZodObject<{
|
|
30310
|
+
url: z.ZodOptional<z.ZodString>;
|
|
30311
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30312
|
+
}, "strip", z.ZodTypeAny, {
|
|
30313
|
+
title?: string | undefined;
|
|
30314
|
+
url?: string | undefined;
|
|
30315
|
+
}, {
|
|
30316
|
+
title?: string | undefined;
|
|
30317
|
+
url?: string | undefined;
|
|
30318
|
+
}>;
|
|
30319
|
+
export type HookTeamChatMessageCreatedLinkProto = z.infer<typeof HookTeamChatMessageCreatedLinkProtoSchema>;
|
|
30320
|
+
export declare const HookTeamChatMessageCreatedInputProtoSchema: z.ZodObject<{
|
|
30321
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
30322
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
30323
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
30324
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
30325
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
30326
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
30327
|
+
sourceAppId: z.ZodOptional<z.ZodString>;
|
|
30328
|
+
writer: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
30329
|
+
type: z.ZodOptional<z.ZodString>;
|
|
30330
|
+
id: z.ZodOptional<z.ZodString>;
|
|
30331
|
+
}, "strip", z.ZodTypeAny, {
|
|
30332
|
+
type?: string | undefined;
|
|
30333
|
+
id?: string | undefined;
|
|
30334
|
+
}, {
|
|
30335
|
+
type?: string | undefined;
|
|
30336
|
+
id?: string | undefined;
|
|
30337
|
+
}>>>;
|
|
30338
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
30339
|
+
links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
30340
|
+
url: z.ZodOptional<z.ZodString>;
|
|
30341
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30342
|
+
}, "strip", z.ZodTypeAny, {
|
|
30343
|
+
title?: string | undefined;
|
|
30344
|
+
url?: string | undefined;
|
|
30345
|
+
}, {
|
|
30346
|
+
title?: string | undefined;
|
|
30347
|
+
url?: string | undefined;
|
|
30348
|
+
}>>, "many">>;
|
|
30349
|
+
}, "strip", z.ZodTypeAny, {
|
|
30350
|
+
channelId?: string | undefined;
|
|
30351
|
+
messageId?: string | undefined;
|
|
30352
|
+
links?: {
|
|
30353
|
+
title?: string | undefined;
|
|
30354
|
+
url?: string | undefined;
|
|
30355
|
+
}[] | undefined;
|
|
30356
|
+
eventId?: string | undefined;
|
|
30357
|
+
occurredAt?: string | undefined;
|
|
30358
|
+
groupId?: string | undefined;
|
|
30359
|
+
rootMessageId?: string | undefined;
|
|
30360
|
+
sourceAppId?: string | undefined;
|
|
30361
|
+
writer?: {
|
|
30362
|
+
type?: string | undefined;
|
|
30363
|
+
id?: string | undefined;
|
|
30364
|
+
} | undefined;
|
|
30365
|
+
plainText?: string | undefined;
|
|
30366
|
+
}, {
|
|
30367
|
+
channelId?: string | undefined;
|
|
30368
|
+
messageId?: string | undefined;
|
|
30369
|
+
links?: {
|
|
30370
|
+
title?: string | undefined;
|
|
30371
|
+
url?: string | undefined;
|
|
30372
|
+
}[] | undefined;
|
|
30373
|
+
eventId?: string | undefined;
|
|
30374
|
+
occurredAt?: string | undefined;
|
|
30375
|
+
groupId?: string | undefined;
|
|
30376
|
+
rootMessageId?: string | undefined;
|
|
30377
|
+
sourceAppId?: string | undefined;
|
|
30378
|
+
writer?: {
|
|
30379
|
+
type?: string | undefined;
|
|
30380
|
+
id?: string | undefined;
|
|
30381
|
+
} | undefined;
|
|
30382
|
+
plainText?: string | undefined;
|
|
30383
|
+
}>;
|
|
30384
|
+
export type HookTeamChatMessageCreatedInputProto = z.infer<typeof HookTeamChatMessageCreatedInputProtoSchema>;
|
|
30385
|
+
export declare const HookTeamChatMessageCreatedResultProtoSchema: z.ZodObject<{
|
|
30386
|
+
hookHandlingResult: z.ZodOptional<z.ZodString>;
|
|
30387
|
+
terminal: z.ZodOptional<z.ZodBoolean>;
|
|
30388
|
+
}, "strip", z.ZodTypeAny, {
|
|
30389
|
+
hookHandlingResult?: string | undefined;
|
|
30390
|
+
terminal?: boolean | undefined;
|
|
30391
|
+
}, {
|
|
30392
|
+
hookHandlingResult?: string | undefined;
|
|
30393
|
+
terminal?: boolean | undefined;
|
|
30394
|
+
}>;
|
|
30395
|
+
export type HookTeamChatMessageCreatedResultProto = z.infer<typeof HookTeamChatMessageCreatedResultProtoSchema>;
|
|
27973
30396
|
export declare const DataSourceManagerPermissionProtoSchema: z.ZodObject<{
|
|
27974
30397
|
action: z.ZodOptional<z.ZodString>;
|
|
27975
30398
|
scope: z.ZodOptional<z.ZodString>;
|