@wix/ecom 1.0.643 → 1.0.645
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.
|
@@ -1078,41 +1078,49 @@ interface DiscountRulesQueryBuilder {
|
|
|
1078
1078
|
find: () => Promise<DiscountRulesQueryResult>;
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
-
interface HttpClient {
|
|
1082
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
1081
|
+
interface HttpClient$f {
|
|
1082
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$f<TResponse, TData>): Promise<HttpResponse$f<TResponse>>;
|
|
1083
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
1083
1084
|
}
|
|
1084
|
-
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
1085
|
-
type HttpResponse<T = any> = {
|
|
1085
|
+
type RequestOptionsFactory$f<TResponse = any, TData = any> = (context: any) => RequestOptions$f<TResponse, TData>;
|
|
1086
|
+
type HttpResponse$f<T = any> = {
|
|
1086
1087
|
data: T;
|
|
1087
1088
|
status: number;
|
|
1088
1089
|
statusText: string;
|
|
1089
1090
|
headers: any;
|
|
1090
1091
|
request?: any;
|
|
1091
1092
|
};
|
|
1092
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
|
1093
|
+
type RequestOptions$f<_TResponse = any, Data = any> = {
|
|
1093
1094
|
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
1094
1095
|
url: string;
|
|
1095
1096
|
data?: Data;
|
|
1096
1097
|
params?: URLSearchParams;
|
|
1097
|
-
} & APIMetadata;
|
|
1098
|
-
type APIMetadata = {
|
|
1098
|
+
} & APIMetadata$f;
|
|
1099
|
+
type APIMetadata$f = {
|
|
1099
1100
|
methodFqn?: string;
|
|
1100
1101
|
entityFqdn?: string;
|
|
1101
1102
|
packageName?: string;
|
|
1102
1103
|
};
|
|
1103
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
1104
|
+
type EventDefinition$b<Payload = unknown, Type extends string = string> = {
|
|
1104
1105
|
__type: 'event-definition';
|
|
1105
1106
|
type: Type;
|
|
1106
1107
|
isDomainEvent?: boolean;
|
|
1107
|
-
transformations?: unknown;
|
|
1108
|
+
transformations?: (envelope: unknown) => Payload;
|
|
1108
1109
|
__payload: Payload;
|
|
1109
1110
|
};
|
|
1110
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean,
|
|
1111
|
+
declare function EventDefinition$b<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$b<Payload, Type>;
|
|
1112
|
+
|
|
1113
|
+
declare global {
|
|
1114
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
1115
|
+
interface SymbolConstructor {
|
|
1116
|
+
readonly observable: symbol;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1111
1119
|
|
|
1112
1120
|
declare const __metadata$f: {
|
|
1113
1121
|
PACKAGE_NAME: string;
|
|
1114
1122
|
};
|
|
1115
|
-
declare function createDiscountRule(httpClient: HttpClient): (discountRule: DiscountRule$5) => Promise<DiscountRule$5 & {
|
|
1123
|
+
declare function createDiscountRule(httpClient: HttpClient$f): (discountRule: DiscountRule$5) => Promise<DiscountRule$5 & {
|
|
1116
1124
|
trigger?: {
|
|
1117
1125
|
and?: {
|
|
1118
1126
|
triggers: (any | undefined)[];
|
|
@@ -1177,7 +1185,7 @@ declare function createDiscountRule(httpClient: HttpClient): (discountRule: Disc
|
|
|
1177
1185
|
status: Status$3;
|
|
1178
1186
|
usageCount: number;
|
|
1179
1187
|
}>;
|
|
1180
|
-
declare function getDiscountRule(httpClient: HttpClient): (discountRuleId: string) => Promise<DiscountRule$5 & {
|
|
1188
|
+
declare function getDiscountRule(httpClient: HttpClient$f): (discountRuleId: string) => Promise<DiscountRule$5 & {
|
|
1181
1189
|
trigger?: {
|
|
1182
1190
|
and?: {
|
|
1183
1191
|
triggers: (any | undefined)[];
|
|
@@ -1242,7 +1250,7 @@ declare function getDiscountRule(httpClient: HttpClient): (discountRuleId: strin
|
|
|
1242
1250
|
status: Status$3;
|
|
1243
1251
|
usageCount: number;
|
|
1244
1252
|
}>;
|
|
1245
|
-
declare function updateDiscountRule(httpClient: HttpClient): (_id: string | null, discountRule: UpdateDiscountRule) => Promise<DiscountRule$5 & {
|
|
1253
|
+
declare function updateDiscountRule(httpClient: HttpClient$f): (_id: string | null, discountRule: UpdateDiscountRule) => Promise<DiscountRule$5 & {
|
|
1246
1254
|
trigger?: {
|
|
1247
1255
|
and?: {
|
|
1248
1256
|
triggers: (any | undefined)[];
|
|
@@ -1307,11 +1315,11 @@ declare function updateDiscountRule(httpClient: HttpClient): (_id: string | null
|
|
|
1307
1315
|
status: Status$3;
|
|
1308
1316
|
usageCount: number;
|
|
1309
1317
|
}>;
|
|
1310
|
-
declare function deleteDiscountRule(httpClient: HttpClient): (discountRuleId: string) => Promise<void>;
|
|
1311
|
-
declare function queryDiscountRules(httpClient: HttpClient): () => DiscountRulesQueryBuilder;
|
|
1312
|
-
declare const onDiscountRuleCreated: EventDefinition<DiscountRuleCreatedEnvelope, "wix.ecom.discounts.v1.discount_rule_created">;
|
|
1313
|
-
declare const onDiscountRuleUpdated: EventDefinition<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
|
|
1314
|
-
declare const onDiscountRuleDeleted: EventDefinition<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
|
|
1318
|
+
declare function deleteDiscountRule(httpClient: HttpClient$f): (discountRuleId: string) => Promise<void>;
|
|
1319
|
+
declare function queryDiscountRules(httpClient: HttpClient$f): () => DiscountRulesQueryBuilder;
|
|
1320
|
+
declare const onDiscountRuleCreated: EventDefinition$b<DiscountRuleCreatedEnvelope, "wix.ecom.discounts.v1.discount_rule_created">;
|
|
1321
|
+
declare const onDiscountRuleUpdated: EventDefinition$b<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
|
|
1322
|
+
declare const onDiscountRuleDeleted: EventDefinition$b<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
|
|
1315
1323
|
|
|
1316
1324
|
type index_d$f_ActiveTimeInfo = ActiveTimeInfo;
|
|
1317
1325
|
type index_d$f_And = And;
|
|
@@ -1604,10 +1612,41 @@ interface ListInvoicesForMultipleOrdersResponseNonNullableFields {
|
|
|
1604
1612
|
}[];
|
|
1605
1613
|
}
|
|
1606
1614
|
|
|
1615
|
+
interface HttpClient$e {
|
|
1616
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$e<TResponse, TData>): Promise<HttpResponse$e<TResponse>>;
|
|
1617
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
1618
|
+
}
|
|
1619
|
+
type RequestOptionsFactory$e<TResponse = any, TData = any> = (context: any) => RequestOptions$e<TResponse, TData>;
|
|
1620
|
+
type HttpResponse$e<T = any> = {
|
|
1621
|
+
data: T;
|
|
1622
|
+
status: number;
|
|
1623
|
+
statusText: string;
|
|
1624
|
+
headers: any;
|
|
1625
|
+
request?: any;
|
|
1626
|
+
};
|
|
1627
|
+
type RequestOptions$e<_TResponse = any, Data = any> = {
|
|
1628
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
1629
|
+
url: string;
|
|
1630
|
+
data?: Data;
|
|
1631
|
+
params?: URLSearchParams;
|
|
1632
|
+
} & APIMetadata$e;
|
|
1633
|
+
type APIMetadata$e = {
|
|
1634
|
+
methodFqn?: string;
|
|
1635
|
+
entityFqdn?: string;
|
|
1636
|
+
packageName?: string;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
declare global {
|
|
1640
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
1641
|
+
interface SymbolConstructor {
|
|
1642
|
+
readonly observable: symbol;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1607
1646
|
declare const __metadata$e: {
|
|
1608
1647
|
PACKAGE_NAME: string;
|
|
1609
1648
|
};
|
|
1610
|
-
declare function listInvoicesForMultipleOrders(httpClient: HttpClient): (orderIds: string[]) => Promise<ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields>;
|
|
1649
|
+
declare function listInvoicesForMultipleOrders(httpClient: HttpClient$e): (orderIds: string[]) => Promise<ListInvoicesForMultipleOrdersResponse$1 & ListInvoicesForMultipleOrdersResponseNonNullableFields>;
|
|
1611
1650
|
|
|
1612
1651
|
type index_d$e_GenerateInvoiceWithNumberRequest = GenerateInvoiceWithNumberRequest;
|
|
1613
1652
|
type index_d$e_GenerateInvoiceWithNumberResponse = GenerateInvoiceWithNumberResponse;
|
|
@@ -1767,11 +1806,42 @@ interface GetRecommendationOptions {
|
|
|
1767
1806
|
minimumRecommendedItems?: number;
|
|
1768
1807
|
}
|
|
1769
1808
|
|
|
1809
|
+
interface HttpClient$d {
|
|
1810
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$d<TResponse, TData>): Promise<HttpResponse$d<TResponse>>;
|
|
1811
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
1812
|
+
}
|
|
1813
|
+
type RequestOptionsFactory$d<TResponse = any, TData = any> = (context: any) => RequestOptions$d<TResponse, TData>;
|
|
1814
|
+
type HttpResponse$d<T = any> = {
|
|
1815
|
+
data: T;
|
|
1816
|
+
status: number;
|
|
1817
|
+
statusText: string;
|
|
1818
|
+
headers: any;
|
|
1819
|
+
request?: any;
|
|
1820
|
+
};
|
|
1821
|
+
type RequestOptions$d<_TResponse = any, Data = any> = {
|
|
1822
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
1823
|
+
url: string;
|
|
1824
|
+
data?: Data;
|
|
1825
|
+
params?: URLSearchParams;
|
|
1826
|
+
} & APIMetadata$d;
|
|
1827
|
+
type APIMetadata$d = {
|
|
1828
|
+
methodFqn?: string;
|
|
1829
|
+
entityFqdn?: string;
|
|
1830
|
+
packageName?: string;
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
declare global {
|
|
1834
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
1835
|
+
interface SymbolConstructor {
|
|
1836
|
+
readonly observable: symbol;
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1770
1840
|
declare const __metadata$d: {
|
|
1771
1841
|
PACKAGE_NAME: string;
|
|
1772
1842
|
};
|
|
1773
|
-
declare function listAvailableAlgorithms(httpClient: HttpClient): () => Promise<ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields>;
|
|
1774
|
-
declare function getRecommendation(httpClient: HttpClient): (algorithms: Algorithm[], options?: GetRecommendationOptions) => Promise<GetRecommendationResponse & GetRecommendationResponseNonNullableFields>;
|
|
1843
|
+
declare function listAvailableAlgorithms(httpClient: HttpClient$d): () => Promise<ListAvailableAlgorithmsResponse & ListAvailableAlgorithmsResponseNonNullableFields>;
|
|
1844
|
+
declare function getRecommendation(httpClient: HttpClient$d): (algorithms: Algorithm[], options?: GetRecommendationOptions) => Promise<GetRecommendationResponse & GetRecommendationResponseNonNullableFields>;
|
|
1775
1845
|
|
|
1776
1846
|
type index_d$d_Algorithm = Algorithm;
|
|
1777
1847
|
type index_d$d_AlgorithmConfig = AlgorithmConfig;
|
|
@@ -2470,10 +2540,49 @@ interface AbandonedCheckoutRecoveredEnvelope {
|
|
|
2470
2540
|
metadata: EventMetadata$a;
|
|
2471
2541
|
}
|
|
2472
2542
|
|
|
2543
|
+
interface HttpClient$c {
|
|
2544
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$c<TResponse, TData>): Promise<HttpResponse$c<TResponse>>;
|
|
2545
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
2546
|
+
}
|
|
2547
|
+
type RequestOptionsFactory$c<TResponse = any, TData = any> = (context: any) => RequestOptions$c<TResponse, TData>;
|
|
2548
|
+
type HttpResponse$c<T = any> = {
|
|
2549
|
+
data: T;
|
|
2550
|
+
status: number;
|
|
2551
|
+
statusText: string;
|
|
2552
|
+
headers: any;
|
|
2553
|
+
request?: any;
|
|
2554
|
+
};
|
|
2555
|
+
type RequestOptions$c<_TResponse = any, Data = any> = {
|
|
2556
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
2557
|
+
url: string;
|
|
2558
|
+
data?: Data;
|
|
2559
|
+
params?: URLSearchParams;
|
|
2560
|
+
} & APIMetadata$c;
|
|
2561
|
+
type APIMetadata$c = {
|
|
2562
|
+
methodFqn?: string;
|
|
2563
|
+
entityFqdn?: string;
|
|
2564
|
+
packageName?: string;
|
|
2565
|
+
};
|
|
2566
|
+
type EventDefinition$a<Payload = unknown, Type extends string = string> = {
|
|
2567
|
+
__type: 'event-definition';
|
|
2568
|
+
type: Type;
|
|
2569
|
+
isDomainEvent?: boolean;
|
|
2570
|
+
transformations?: (envelope: unknown) => Payload;
|
|
2571
|
+
__payload: Payload;
|
|
2572
|
+
};
|
|
2573
|
+
declare function EventDefinition$a<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$a<Payload, Type>;
|
|
2574
|
+
|
|
2575
|
+
declare global {
|
|
2576
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
2577
|
+
interface SymbolConstructor {
|
|
2578
|
+
readonly observable: symbol;
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2473
2582
|
declare const __metadata$c: {
|
|
2474
2583
|
PACKAGE_NAME: string;
|
|
2475
2584
|
};
|
|
2476
|
-
declare function getAbandonedCheckout(httpClient: HttpClient): (abandonedCheckoutId: string) => Promise<AbandonedCheckout & {
|
|
2585
|
+
declare function getAbandonedCheckout(httpClient: HttpClient$c): (abandonedCheckoutId: string) => Promise<AbandonedCheckout & {
|
|
2477
2586
|
_id: string;
|
|
2478
2587
|
status: Status$2;
|
|
2479
2588
|
buyerInfo?: {
|
|
@@ -2505,8 +2614,8 @@ declare function getAbandonedCheckout(httpClient: HttpClient): (abandonedCheckou
|
|
|
2505
2614
|
formattedConvertedAmount: string;
|
|
2506
2615
|
} | undefined;
|
|
2507
2616
|
}>;
|
|
2508
|
-
declare const onAbandonedCheckoutCreated: EventDefinition<AbandonedCheckoutCreatedEnvelope, "wix.ecom.v1.abandoned_checkout_created">;
|
|
2509
|
-
declare const onAbandonedCheckoutRecovered: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
2617
|
+
declare const onAbandonedCheckoutCreated: EventDefinition$a<AbandonedCheckoutCreatedEnvelope, "wix.ecom.v1.abandoned_checkout_created">;
|
|
2618
|
+
declare const onAbandonedCheckoutRecovered: EventDefinition$a<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
2510
2619
|
|
|
2511
2620
|
type index_d$c_AbandonedCheckout = AbandonedCheckout;
|
|
2512
2621
|
type index_d$c_AbandonedCheckoutCreatedEnvelope = AbandonedCheckoutCreatedEnvelope;
|
|
@@ -3164,10 +3273,49 @@ interface ReportItemsBackInStockOptions {
|
|
|
3164
3273
|
extraAutomationTemplateParameters?: Record<string, string>;
|
|
3165
3274
|
}
|
|
3166
3275
|
|
|
3276
|
+
interface HttpClient$b {
|
|
3277
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$b<TResponse, TData>): Promise<HttpResponse$b<TResponse>>;
|
|
3278
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
3279
|
+
}
|
|
3280
|
+
type RequestOptionsFactory$b<TResponse = any, TData = any> = (context: any) => RequestOptions$b<TResponse, TData>;
|
|
3281
|
+
type HttpResponse$b<T = any> = {
|
|
3282
|
+
data: T;
|
|
3283
|
+
status: number;
|
|
3284
|
+
statusText: string;
|
|
3285
|
+
headers: any;
|
|
3286
|
+
request?: any;
|
|
3287
|
+
};
|
|
3288
|
+
type RequestOptions$b<_TResponse = any, Data = any> = {
|
|
3289
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
3290
|
+
url: string;
|
|
3291
|
+
data?: Data;
|
|
3292
|
+
params?: URLSearchParams;
|
|
3293
|
+
} & APIMetadata$b;
|
|
3294
|
+
type APIMetadata$b = {
|
|
3295
|
+
methodFqn?: string;
|
|
3296
|
+
entityFqdn?: string;
|
|
3297
|
+
packageName?: string;
|
|
3298
|
+
};
|
|
3299
|
+
type EventDefinition$9<Payload = unknown, Type extends string = string> = {
|
|
3300
|
+
__type: 'event-definition';
|
|
3301
|
+
type: Type;
|
|
3302
|
+
isDomainEvent?: boolean;
|
|
3303
|
+
transformations?: (envelope: unknown) => Payload;
|
|
3304
|
+
__payload: Payload;
|
|
3305
|
+
};
|
|
3306
|
+
declare function EventDefinition$9<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$9<Payload, Type>;
|
|
3307
|
+
|
|
3308
|
+
declare global {
|
|
3309
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
3310
|
+
interface SymbolConstructor {
|
|
3311
|
+
readonly observable: symbol;
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
|
|
3167
3315
|
declare const __metadata$b: {
|
|
3168
3316
|
PACKAGE_NAME: string;
|
|
3169
3317
|
};
|
|
3170
|
-
declare function createBackInStockNotificationRequest(httpClient: HttpClient): (request: BackInStockNotificationRequest, itemDetails: BackInStockItemDetails) => Promise<BackInStockNotificationRequest & {
|
|
3318
|
+
declare function createBackInStockNotificationRequest(httpClient: HttpClient$b): (request: BackInStockNotificationRequest, itemDetails: BackInStockItemDetails) => Promise<BackInStockNotificationRequest & {
|
|
3171
3319
|
catalogReference?: {
|
|
3172
3320
|
catalogItemId: string;
|
|
3173
3321
|
appId: string;
|
|
@@ -3175,7 +3323,7 @@ declare function createBackInStockNotificationRequest(httpClient: HttpClient): (
|
|
|
3175
3323
|
email: string;
|
|
3176
3324
|
status: Status$1;
|
|
3177
3325
|
}>;
|
|
3178
|
-
declare function getBackInStockNotificationRequest(httpClient: HttpClient): (_id: string) => Promise<BackInStockNotificationRequest & {
|
|
3326
|
+
declare function getBackInStockNotificationRequest(httpClient: HttpClient$b): (_id: string) => Promise<BackInStockNotificationRequest & {
|
|
3179
3327
|
catalogReference?: {
|
|
3180
3328
|
catalogItemId: string;
|
|
3181
3329
|
appId: string;
|
|
@@ -3183,14 +3331,14 @@ declare function getBackInStockNotificationRequest(httpClient: HttpClient): (_id
|
|
|
3183
3331
|
email: string;
|
|
3184
3332
|
status: Status$1;
|
|
3185
3333
|
}>;
|
|
3186
|
-
declare function deleteBackInStockNotificationRequest(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
3187
|
-
declare function markAsNotificationSent(httpClient: HttpClient): (_id: string) => Promise<MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields>;
|
|
3188
|
-
declare function queryBackInStockNotificationRequests(httpClient: HttpClient): () => RequestsQueryBuilder;
|
|
3189
|
-
declare function getBackInStockNotificationRequestsCountByCatalogReferences(httpClient: HttpClient): (catalogReferences: CatalogReference$5[]) => Promise<GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields>;
|
|
3190
|
-
declare function reportItemsBackInStock(httpClient: HttpClient): (itemDetails: BackInStockItemDetails, options?: ReportItemsBackInStockOptions) => Promise<void>;
|
|
3191
|
-
declare const onBackInStockNotificationRequestCreated: EventDefinition<BackInStockNotificationRequestCreatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_created">;
|
|
3192
|
-
declare const onBackInStockNotificationRequestDeleted: EventDefinition<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
3193
|
-
declare const onBackInStockNotificationRequestUpdated: EventDefinition<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
3334
|
+
declare function deleteBackInStockNotificationRequest(httpClient: HttpClient$b): (_id: string) => Promise<void>;
|
|
3335
|
+
declare function markAsNotificationSent(httpClient: HttpClient$b): (_id: string) => Promise<MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields>;
|
|
3336
|
+
declare function queryBackInStockNotificationRequests(httpClient: HttpClient$b): () => RequestsQueryBuilder;
|
|
3337
|
+
declare function getBackInStockNotificationRequestsCountByCatalogReferences(httpClient: HttpClient$b): (catalogReferences: CatalogReference$5[]) => Promise<GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields>;
|
|
3338
|
+
declare function reportItemsBackInStock(httpClient: HttpClient$b): (itemDetails: BackInStockItemDetails, options?: ReportItemsBackInStockOptions) => Promise<void>;
|
|
3339
|
+
declare const onBackInStockNotificationRequestCreated: EventDefinition$9<BackInStockNotificationRequestCreatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_created">;
|
|
3340
|
+
declare const onBackInStockNotificationRequestDeleted: EventDefinition$9<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
3341
|
+
declare const onBackInStockNotificationRequestUpdated: EventDefinition$9<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
3194
3342
|
|
|
3195
3343
|
type index_d$b_BackInStockItemDetails = BackInStockItemDetails;
|
|
3196
3344
|
type index_d$b_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -3303,12 +3451,43 @@ interface GetSettingsResponseNonNullableFields {
|
|
|
3303
3451
|
};
|
|
3304
3452
|
}
|
|
3305
3453
|
|
|
3454
|
+
interface HttpClient$a {
|
|
3455
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$a<TResponse, TData>): Promise<HttpResponse$a<TResponse>>;
|
|
3456
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
3457
|
+
}
|
|
3458
|
+
type RequestOptionsFactory$a<TResponse = any, TData = any> = (context: any) => RequestOptions$a<TResponse, TData>;
|
|
3459
|
+
type HttpResponse$a<T = any> = {
|
|
3460
|
+
data: T;
|
|
3461
|
+
status: number;
|
|
3462
|
+
statusText: string;
|
|
3463
|
+
headers: any;
|
|
3464
|
+
request?: any;
|
|
3465
|
+
};
|
|
3466
|
+
type RequestOptions$a<_TResponse = any, Data = any> = {
|
|
3467
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
3468
|
+
url: string;
|
|
3469
|
+
data?: Data;
|
|
3470
|
+
params?: URLSearchParams;
|
|
3471
|
+
} & APIMetadata$a;
|
|
3472
|
+
type APIMetadata$a = {
|
|
3473
|
+
methodFqn?: string;
|
|
3474
|
+
entityFqdn?: string;
|
|
3475
|
+
packageName?: string;
|
|
3476
|
+
};
|
|
3477
|
+
|
|
3478
|
+
declare global {
|
|
3479
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
3480
|
+
interface SymbolConstructor {
|
|
3481
|
+
readonly observable: symbol;
|
|
3482
|
+
}
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3306
3485
|
declare const __metadata$a: {
|
|
3307
3486
|
PACKAGE_NAME: string;
|
|
3308
3487
|
};
|
|
3309
|
-
declare function startCollectingRequests(httpClient: HttpClient): (appId: string) => Promise<StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields>;
|
|
3310
|
-
declare function stopCollectingRequests(httpClient: HttpClient): (appId: string) => Promise<StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields>;
|
|
3311
|
-
declare function getSettings(httpClient: HttpClient): () => Promise<GetSettingsResponse & GetSettingsResponseNonNullableFields>;
|
|
3488
|
+
declare function startCollectingRequests(httpClient: HttpClient$a): (appId: string) => Promise<StartCollectingRequestsResponse & StartCollectingRequestsResponseNonNullableFields>;
|
|
3489
|
+
declare function stopCollectingRequests(httpClient: HttpClient$a): (appId: string) => Promise<StopCollectingRequestsResponse & StopCollectingRequestsResponseNonNullableFields>;
|
|
3490
|
+
declare function getSettings(httpClient: HttpClient$a): () => Promise<GetSettingsResponse & GetSettingsResponseNonNullableFields>;
|
|
3312
3491
|
|
|
3313
3492
|
type index_d$a_BackInStockCollectionState = BackInStockCollectionState;
|
|
3314
3493
|
type index_d$a_BackInStockSettings = BackInStockSettings;
|
|
@@ -6906,10 +7085,49 @@ interface EstimateTotalsOptions {
|
|
|
6906
7085
|
selectedMemberships?: SelectedMemberships$3;
|
|
6907
7086
|
}
|
|
6908
7087
|
|
|
7088
|
+
interface HttpClient$9 {
|
|
7089
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$9<TResponse, TData>): Promise<HttpResponse$9<TResponse>>;
|
|
7090
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
7091
|
+
}
|
|
7092
|
+
type RequestOptionsFactory$9<TResponse = any, TData = any> = (context: any) => RequestOptions$9<TResponse, TData>;
|
|
7093
|
+
type HttpResponse$9<T = any> = {
|
|
7094
|
+
data: T;
|
|
7095
|
+
status: number;
|
|
7096
|
+
statusText: string;
|
|
7097
|
+
headers: any;
|
|
7098
|
+
request?: any;
|
|
7099
|
+
};
|
|
7100
|
+
type RequestOptions$9<_TResponse = any, Data = any> = {
|
|
7101
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
7102
|
+
url: string;
|
|
7103
|
+
data?: Data;
|
|
7104
|
+
params?: URLSearchParams;
|
|
7105
|
+
} & APIMetadata$9;
|
|
7106
|
+
type APIMetadata$9 = {
|
|
7107
|
+
methodFqn?: string;
|
|
7108
|
+
entityFqdn?: string;
|
|
7109
|
+
packageName?: string;
|
|
7110
|
+
};
|
|
7111
|
+
type EventDefinition$8<Payload = unknown, Type extends string = string> = {
|
|
7112
|
+
__type: 'event-definition';
|
|
7113
|
+
type: Type;
|
|
7114
|
+
isDomainEvent?: boolean;
|
|
7115
|
+
transformations?: (envelope: unknown) => Payload;
|
|
7116
|
+
__payload: Payload;
|
|
7117
|
+
};
|
|
7118
|
+
declare function EventDefinition$8<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$8<Payload, Type>;
|
|
7119
|
+
|
|
7120
|
+
declare global {
|
|
7121
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
7122
|
+
interface SymbolConstructor {
|
|
7123
|
+
readonly observable: symbol;
|
|
7124
|
+
}
|
|
7125
|
+
}
|
|
7126
|
+
|
|
6909
7127
|
declare const __metadata$9: {
|
|
6910
7128
|
PACKAGE_NAME: string;
|
|
6911
7129
|
};
|
|
6912
|
-
declare function createCart(httpClient: HttpClient): (options?: CreateCartOptions) => Promise<Cart$1 & {
|
|
7130
|
+
declare function createCart(httpClient: HttpClient$9): (options?: CreateCartOptions) => Promise<Cart$1 & {
|
|
6913
7131
|
lineItems: {
|
|
6914
7132
|
quantity: number;
|
|
6915
7133
|
catalogReference?: {
|
|
@@ -7029,7 +7247,7 @@ declare function createCart(httpClient: HttpClient): (options?: CreateCartOption
|
|
|
7029
7247
|
code: string;
|
|
7030
7248
|
} | undefined;
|
|
7031
7249
|
}>;
|
|
7032
|
-
declare function updateCart(httpClient: HttpClient): (_id: string | null, options?: UpdateCartOptions) => Promise<Cart$1 & {
|
|
7250
|
+
declare function updateCart(httpClient: HttpClient$9): (_id: string | null, options?: UpdateCartOptions) => Promise<Cart$1 & {
|
|
7033
7251
|
lineItems: {
|
|
7034
7252
|
quantity: number;
|
|
7035
7253
|
catalogReference?: {
|
|
@@ -7149,7 +7367,7 @@ declare function updateCart(httpClient: HttpClient): (_id: string | null, option
|
|
|
7149
7367
|
code: string;
|
|
7150
7368
|
} | undefined;
|
|
7151
7369
|
}>;
|
|
7152
|
-
declare function getCart(httpClient: HttpClient): (_id: string) => Promise<Cart$1 & {
|
|
7370
|
+
declare function getCart(httpClient: HttpClient$9): (_id: string) => Promise<Cart$1 & {
|
|
7153
7371
|
lineItems: {
|
|
7154
7372
|
quantity: number;
|
|
7155
7373
|
catalogReference?: {
|
|
@@ -7269,16 +7487,16 @@ declare function getCart(httpClient: HttpClient): (_id: string) => Promise<Cart$
|
|
|
7269
7487
|
code: string;
|
|
7270
7488
|
} | undefined;
|
|
7271
7489
|
}>;
|
|
7272
|
-
declare function addToCart(httpClient: HttpClient): (_id: string, options?: AddToCartOptions) => Promise<AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
|
|
7273
|
-
declare function removeLineItems$1(httpClient: HttpClient): (_id: string, lineItemIds: string[]) => Promise<RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2>;
|
|
7274
|
-
declare function createCheckout$1(httpClient: HttpClient): (_id: string, options?: CreateCheckoutOptions$1) => Promise<CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2>;
|
|
7275
|
-
declare function removeCoupon$1(httpClient: HttpClient): (_id: string) => Promise<RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2>;
|
|
7276
|
-
declare function updateLineItemsQuantity$1(httpClient: HttpClient): (_id: string, lineItems: LineItemQuantityUpdate$2[]) => Promise<UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2>;
|
|
7277
|
-
declare function estimateTotals(httpClient: HttpClient): (_id: string, options?: EstimateTotalsOptions) => Promise<EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
|
|
7278
|
-
declare function deleteCart(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
7279
|
-
declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
|
|
7280
|
-
declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
|
|
7281
|
-
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
7490
|
+
declare function addToCart(httpClient: HttpClient$9): (_id: string, options?: AddToCartOptions) => Promise<AddToCartResponse$1 & AddToCartResponseNonNullableFields$1>;
|
|
7491
|
+
declare function removeLineItems$1(httpClient: HttpClient$9): (_id: string, lineItemIds: string[]) => Promise<RemoveLineItemsResponse$2 & RemoveLineItemsResponseNonNullableFields$2>;
|
|
7492
|
+
declare function createCheckout$1(httpClient: HttpClient$9): (_id: string, options?: CreateCheckoutOptions$1) => Promise<CreateCheckoutResponse$2 & CreateCheckoutResponseNonNullableFields$2>;
|
|
7493
|
+
declare function removeCoupon$1(httpClient: HttpClient$9): (_id: string) => Promise<RemoveCouponResponse$2 & RemoveCouponResponseNonNullableFields$2>;
|
|
7494
|
+
declare function updateLineItemsQuantity$1(httpClient: HttpClient$9): (_id: string, lineItems: LineItemQuantityUpdate$2[]) => Promise<UpdateLineItemsQuantityResponse$2 & UpdateLineItemsQuantityResponseNonNullableFields$2>;
|
|
7495
|
+
declare function estimateTotals(httpClient: HttpClient$9): (_id: string, options?: EstimateTotalsOptions) => Promise<EstimateTotalsResponse$1 & EstimateTotalsResponseNonNullableFields$1>;
|
|
7496
|
+
declare function deleteCart(httpClient: HttpClient$9): (_id: string) => Promise<void>;
|
|
7497
|
+
declare const onCartUpdated$1: EventDefinition$8<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
|
|
7498
|
+
declare const onCartDeleted$1: EventDefinition$8<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
|
|
7499
|
+
declare const onCartCreated$1: EventDefinition$8<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
7282
7500
|
|
|
7283
7501
|
type index_d$9_AddToCartOptions = AddToCartOptions;
|
|
7284
7502
|
type index_d$9_CreateCartOptions = CreateCartOptions;
|
|
@@ -10783,10 +11001,49 @@ interface EstimateCurrentCartTotalsOptions {
|
|
|
10783
11001
|
selectedMemberships?: SelectedMemberships$2;
|
|
10784
11002
|
}
|
|
10785
11003
|
|
|
11004
|
+
interface HttpClient$8 {
|
|
11005
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$8<TResponse, TData>): Promise<HttpResponse$8<TResponse>>;
|
|
11006
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
11007
|
+
}
|
|
11008
|
+
type RequestOptionsFactory$8<TResponse = any, TData = any> = (context: any) => RequestOptions$8<TResponse, TData>;
|
|
11009
|
+
type HttpResponse$8<T = any> = {
|
|
11010
|
+
data: T;
|
|
11011
|
+
status: number;
|
|
11012
|
+
statusText: string;
|
|
11013
|
+
headers: any;
|
|
11014
|
+
request?: any;
|
|
11015
|
+
};
|
|
11016
|
+
type RequestOptions$8<_TResponse = any, Data = any> = {
|
|
11017
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
11018
|
+
url: string;
|
|
11019
|
+
data?: Data;
|
|
11020
|
+
params?: URLSearchParams;
|
|
11021
|
+
} & APIMetadata$8;
|
|
11022
|
+
type APIMetadata$8 = {
|
|
11023
|
+
methodFqn?: string;
|
|
11024
|
+
entityFqdn?: string;
|
|
11025
|
+
packageName?: string;
|
|
11026
|
+
};
|
|
11027
|
+
type EventDefinition$7<Payload = unknown, Type extends string = string> = {
|
|
11028
|
+
__type: 'event-definition';
|
|
11029
|
+
type: Type;
|
|
11030
|
+
isDomainEvent?: boolean;
|
|
11031
|
+
transformations?: (envelope: unknown) => Payload;
|
|
11032
|
+
__payload: Payload;
|
|
11033
|
+
};
|
|
11034
|
+
declare function EventDefinition$7<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$7<Payload, Type>;
|
|
11035
|
+
|
|
11036
|
+
declare global {
|
|
11037
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
11038
|
+
interface SymbolConstructor {
|
|
11039
|
+
readonly observable: symbol;
|
|
11040
|
+
}
|
|
11041
|
+
}
|
|
11042
|
+
|
|
10786
11043
|
declare const __metadata$8: {
|
|
10787
11044
|
PACKAGE_NAME: string;
|
|
10788
11045
|
};
|
|
10789
|
-
declare function getCurrentCart(httpClient: HttpClient): () => Promise<Cart & {
|
|
11046
|
+
declare function getCurrentCart(httpClient: HttpClient$8): () => Promise<Cart & {
|
|
10790
11047
|
lineItems: {
|
|
10791
11048
|
quantity: number;
|
|
10792
11049
|
catalogReference?: {
|
|
@@ -10906,7 +11163,7 @@ declare function getCurrentCart(httpClient: HttpClient): () => Promise<Cart & {
|
|
|
10906
11163
|
code: string;
|
|
10907
11164
|
} | undefined;
|
|
10908
11165
|
}>;
|
|
10909
|
-
declare function updateCurrentCart(httpClient: HttpClient): (options?: UpdateCurrentCartOptions) => Promise<Cart & {
|
|
11166
|
+
declare function updateCurrentCart(httpClient: HttpClient$8): (options?: UpdateCurrentCartOptions) => Promise<Cart & {
|
|
10910
11167
|
lineItems: {
|
|
10911
11168
|
quantity: number;
|
|
10912
11169
|
catalogReference?: {
|
|
@@ -11026,16 +11283,16 @@ declare function updateCurrentCart(httpClient: HttpClient): (options?: UpdateCur
|
|
|
11026
11283
|
code: string;
|
|
11027
11284
|
} | undefined;
|
|
11028
11285
|
}>;
|
|
11029
|
-
declare function addToCurrentCart(httpClient: HttpClient): (options?: AddToCurrentCartOptions) => Promise<AddToCartResponse & AddToCartResponseNonNullableFields>;
|
|
11030
|
-
declare function removeLineItemsFromCurrentCart(httpClient: HttpClient): (lineItemIds: string[]) => Promise<RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
|
|
11031
|
-
declare function createCheckoutFromCurrentCart(httpClient: HttpClient): (options?: CreateCheckoutFromCurrentCartOptions) => Promise<CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
|
|
11032
|
-
declare function removeCouponFromCurrentCart(httpClient: HttpClient): () => Promise<RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
|
|
11033
|
-
declare function updateCurrentCartLineItemQuantity(httpClient: HttpClient): (lineItems: LineItemQuantityUpdate$1[]) => Promise<UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
11034
|
-
declare function estimateCurrentCartTotals(httpClient: HttpClient): (options?: EstimateCurrentCartTotalsOptions) => Promise<EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields>;
|
|
11035
|
-
declare function deleteCurrentCart(httpClient: HttpClient): () => Promise<void>;
|
|
11036
|
-
declare const onCartUpdated: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
|
|
11037
|
-
declare const onCartDeleted: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
|
|
11038
|
-
declare const onCartCreated: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
11286
|
+
declare function addToCurrentCart(httpClient: HttpClient$8): (options?: AddToCurrentCartOptions) => Promise<AddToCartResponse & AddToCartResponseNonNullableFields>;
|
|
11287
|
+
declare function removeLineItemsFromCurrentCart(httpClient: HttpClient$8): (lineItemIds: string[]) => Promise<RemoveLineItemsResponse$1 & RemoveLineItemsResponseNonNullableFields$1>;
|
|
11288
|
+
declare function createCheckoutFromCurrentCart(httpClient: HttpClient$8): (options?: CreateCheckoutFromCurrentCartOptions) => Promise<CreateCheckoutResponse$1 & CreateCheckoutResponseNonNullableFields$1>;
|
|
11289
|
+
declare function removeCouponFromCurrentCart(httpClient: HttpClient$8): () => Promise<RemoveCouponResponse$1 & RemoveCouponResponseNonNullableFields$1>;
|
|
11290
|
+
declare function updateCurrentCartLineItemQuantity(httpClient: HttpClient$8): (lineItems: LineItemQuantityUpdate$1[]) => Promise<UpdateLineItemsQuantityResponse$1 & UpdateLineItemsQuantityResponseNonNullableFields$1>;
|
|
11291
|
+
declare function estimateCurrentCartTotals(httpClient: HttpClient$8): (options?: EstimateCurrentCartTotalsOptions) => Promise<EstimateTotalsResponse & EstimateTotalsResponseNonNullableFields>;
|
|
11292
|
+
declare function deleteCurrentCart(httpClient: HttpClient$8): () => Promise<void>;
|
|
11293
|
+
declare const onCartUpdated: EventDefinition$7<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
|
|
11294
|
+
declare const onCartDeleted: EventDefinition$7<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
|
|
11295
|
+
declare const onCartCreated: EventDefinition$7<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
11039
11296
|
|
|
11040
11297
|
type index_d$8_AddToCartRequest = AddToCartRequest;
|
|
11041
11298
|
type index_d$8_AddToCartResponse = AddToCartResponse;
|
|
@@ -19945,10 +20202,49 @@ interface AddToCheckoutOptions {
|
|
|
19945
20202
|
lineItems?: LineItem$3[];
|
|
19946
20203
|
}
|
|
19947
20204
|
|
|
20205
|
+
interface HttpClient$7 {
|
|
20206
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$7<TResponse, TData>): Promise<HttpResponse$7<TResponse>>;
|
|
20207
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
20208
|
+
}
|
|
20209
|
+
type RequestOptionsFactory$7<TResponse = any, TData = any> = (context: any) => RequestOptions$7<TResponse, TData>;
|
|
20210
|
+
type HttpResponse$7<T = any> = {
|
|
20211
|
+
data: T;
|
|
20212
|
+
status: number;
|
|
20213
|
+
statusText: string;
|
|
20214
|
+
headers: any;
|
|
20215
|
+
request?: any;
|
|
20216
|
+
};
|
|
20217
|
+
type RequestOptions$7<_TResponse = any, Data = any> = {
|
|
20218
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
20219
|
+
url: string;
|
|
20220
|
+
data?: Data;
|
|
20221
|
+
params?: URLSearchParams;
|
|
20222
|
+
} & APIMetadata$7;
|
|
20223
|
+
type APIMetadata$7 = {
|
|
20224
|
+
methodFqn?: string;
|
|
20225
|
+
entityFqdn?: string;
|
|
20226
|
+
packageName?: string;
|
|
20227
|
+
};
|
|
20228
|
+
type EventDefinition$6<Payload = unknown, Type extends string = string> = {
|
|
20229
|
+
__type: 'event-definition';
|
|
20230
|
+
type: Type;
|
|
20231
|
+
isDomainEvent?: boolean;
|
|
20232
|
+
transformations?: (envelope: unknown) => Payload;
|
|
20233
|
+
__payload: Payload;
|
|
20234
|
+
};
|
|
20235
|
+
declare function EventDefinition$6<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$6<Payload, Type>;
|
|
20236
|
+
|
|
20237
|
+
declare global {
|
|
20238
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
20239
|
+
interface SymbolConstructor {
|
|
20240
|
+
readonly observable: symbol;
|
|
20241
|
+
}
|
|
20242
|
+
}
|
|
20243
|
+
|
|
19948
20244
|
declare const __metadata$7: {
|
|
19949
20245
|
PACKAGE_NAME: string;
|
|
19950
20246
|
};
|
|
19951
|
-
declare function createCheckout(httpClient: HttpClient): (options?: CreateCheckoutOptions) => Promise<Checkout$1 & {
|
|
20247
|
+
declare function createCheckout(httpClient: HttpClient$7): (options?: CreateCheckoutOptions) => Promise<Checkout$1 & {
|
|
19952
20248
|
lineItems: {
|
|
19953
20249
|
quantity: number;
|
|
19954
20250
|
catalogReference?: {
|
|
@@ -20650,9 +20946,9 @@ declare function createCheckout(httpClient: HttpClient): (options?: CreateChecko
|
|
|
20650
20946
|
disabledManualPayment: boolean;
|
|
20651
20947
|
} | undefined;
|
|
20652
20948
|
}>;
|
|
20653
|
-
declare function getCheckout(httpClient: HttpClient): (_id: string) => Promise<GetCheckoutResponse & GetCheckoutResponseNonNullableFields>;
|
|
20654
|
-
declare function getCheckoutUrl(httpClient: HttpClient): (_id: string) => Promise<GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields>;
|
|
20655
|
-
declare function updateCheckout(httpClient: HttpClient): (_id: string | null, checkout: UpdateCheckout, options?: UpdateCheckoutOptions) => Promise<Checkout$1 & {
|
|
20949
|
+
declare function getCheckout(httpClient: HttpClient$7): (_id: string) => Promise<GetCheckoutResponse & GetCheckoutResponseNonNullableFields>;
|
|
20950
|
+
declare function getCheckoutUrl(httpClient: HttpClient$7): (_id: string) => Promise<GetCheckoutURLResponse & GetCheckoutURLResponseNonNullableFields>;
|
|
20951
|
+
declare function updateCheckout(httpClient: HttpClient$7): (_id: string | null, checkout: UpdateCheckout, options?: UpdateCheckoutOptions) => Promise<Checkout$1 & {
|
|
20656
20952
|
lineItems: {
|
|
20657
20953
|
quantity: number;
|
|
20658
20954
|
catalogReference?: {
|
|
@@ -21354,17 +21650,17 @@ declare function updateCheckout(httpClient: HttpClient): (_id: string | null, ch
|
|
|
21354
21650
|
disabledManualPayment: boolean;
|
|
21355
21651
|
} | undefined;
|
|
21356
21652
|
}>;
|
|
21357
|
-
declare function removeCoupon(httpClient: HttpClient): (_id: string) => Promise<RemoveCouponResponse & RemoveCouponResponseNonNullableFields>;
|
|
21358
|
-
declare function removeGiftCard(httpClient: HttpClient): (_id: string) => Promise<RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields>;
|
|
21359
|
-
declare function removeOverrideCheckoutUrl(httpClient: HttpClient): (_id: string) => Promise<RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields>;
|
|
21360
|
-
declare function addToCheckout(httpClient: HttpClient): (_id: string, options?: AddToCheckoutOptions) => Promise<AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields>;
|
|
21361
|
-
declare function removeLineItems(httpClient: HttpClient): (_id: string, lineItemIds: string[]) => Promise<RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields>;
|
|
21362
|
-
declare function createOrder$1(httpClient: HttpClient): (_id: string) => Promise<CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
|
|
21363
|
-
declare function markCheckoutAsCompleted(httpClient: HttpClient): (_id: string) => Promise<void>;
|
|
21364
|
-
declare function updateLineItemsQuantity(httpClient: HttpClient): (_id: string, lineItems: LineItemQuantityUpdate[]) => Promise<UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields>;
|
|
21365
|
-
declare const onCheckoutCreated: EventDefinition<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
|
|
21366
|
-
declare const onCheckoutUpdated: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
21367
|
-
declare const onCheckoutCompleted: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
21653
|
+
declare function removeCoupon(httpClient: HttpClient$7): (_id: string) => Promise<RemoveCouponResponse & RemoveCouponResponseNonNullableFields>;
|
|
21654
|
+
declare function removeGiftCard(httpClient: HttpClient$7): (_id: string) => Promise<RemoveGiftCardResponse & RemoveGiftCardResponseNonNullableFields>;
|
|
21655
|
+
declare function removeOverrideCheckoutUrl(httpClient: HttpClient$7): (_id: string) => Promise<RemoveOverrideCheckoutUrlResponse & RemoveOverrideCheckoutUrlResponseNonNullableFields>;
|
|
21656
|
+
declare function addToCheckout(httpClient: HttpClient$7): (_id: string, options?: AddToCheckoutOptions) => Promise<AddToCheckoutResponse & AddToCheckoutResponseNonNullableFields>;
|
|
21657
|
+
declare function removeLineItems(httpClient: HttpClient$7): (_id: string, lineItemIds: string[]) => Promise<RemoveLineItemsResponse & RemoveLineItemsResponseNonNullableFields>;
|
|
21658
|
+
declare function createOrder$1(httpClient: HttpClient$7): (_id: string) => Promise<CreateOrderResponse$1 & CreateOrderResponseNonNullableFields$1>;
|
|
21659
|
+
declare function markCheckoutAsCompleted(httpClient: HttpClient$7): (_id: string) => Promise<void>;
|
|
21660
|
+
declare function updateLineItemsQuantity(httpClient: HttpClient$7): (_id: string, lineItems: LineItemQuantityUpdate[]) => Promise<UpdateLineItemsQuantityResponse & UpdateLineItemsQuantityResponseNonNullableFields>;
|
|
21661
|
+
declare const onCheckoutCreated: EventDefinition$6<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
|
|
21662
|
+
declare const onCheckoutUpdated: EventDefinition$6<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
21663
|
+
declare const onCheckoutCompleted: EventDefinition$6<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
21368
21664
|
|
|
21369
21665
|
type index_d$7_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
21370
21666
|
type index_d$7_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -21809,12 +22105,51 @@ interface CheckoutSettingsUpdatedEnvelope {
|
|
|
21809
22105
|
metadata: EventMetadata$5;
|
|
21810
22106
|
}
|
|
21811
22107
|
|
|
22108
|
+
interface HttpClient$6 {
|
|
22109
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$6<TResponse, TData>): Promise<HttpResponse$6<TResponse>>;
|
|
22110
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
22111
|
+
}
|
|
22112
|
+
type RequestOptionsFactory$6<TResponse = any, TData = any> = (context: any) => RequestOptions$6<TResponse, TData>;
|
|
22113
|
+
type HttpResponse$6<T = any> = {
|
|
22114
|
+
data: T;
|
|
22115
|
+
status: number;
|
|
22116
|
+
statusText: string;
|
|
22117
|
+
headers: any;
|
|
22118
|
+
request?: any;
|
|
22119
|
+
};
|
|
22120
|
+
type RequestOptions$6<_TResponse = any, Data = any> = {
|
|
22121
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
22122
|
+
url: string;
|
|
22123
|
+
data?: Data;
|
|
22124
|
+
params?: URLSearchParams;
|
|
22125
|
+
} & APIMetadata$6;
|
|
22126
|
+
type APIMetadata$6 = {
|
|
22127
|
+
methodFqn?: string;
|
|
22128
|
+
entityFqdn?: string;
|
|
22129
|
+
packageName?: string;
|
|
22130
|
+
};
|
|
22131
|
+
type EventDefinition$5<Payload = unknown, Type extends string = string> = {
|
|
22132
|
+
__type: 'event-definition';
|
|
22133
|
+
type: Type;
|
|
22134
|
+
isDomainEvent?: boolean;
|
|
22135
|
+
transformations?: (envelope: unknown) => Payload;
|
|
22136
|
+
__payload: Payload;
|
|
22137
|
+
};
|
|
22138
|
+
declare function EventDefinition$5<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$5<Payload, Type>;
|
|
22139
|
+
|
|
22140
|
+
declare global {
|
|
22141
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
22142
|
+
interface SymbolConstructor {
|
|
22143
|
+
readonly observable: symbol;
|
|
22144
|
+
}
|
|
22145
|
+
}
|
|
22146
|
+
|
|
21812
22147
|
declare const __metadata$6: {
|
|
21813
22148
|
PACKAGE_NAME: string;
|
|
21814
22149
|
};
|
|
21815
|
-
declare function getCheckoutSettings(httpClient: HttpClient): () => Promise<GetCheckoutSettingsResponse>;
|
|
21816
|
-
declare function updateCheckoutSettings(httpClient: HttpClient): (checkoutSettings: CheckoutSettings) => Promise<UpdateCheckoutSettingsResponse>;
|
|
21817
|
-
declare const onCheckoutSettingsUpdated: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
22150
|
+
declare function getCheckoutSettings(httpClient: HttpClient$6): () => Promise<GetCheckoutSettingsResponse>;
|
|
22151
|
+
declare function updateCheckoutSettings(httpClient: HttpClient$6): (checkoutSettings: CheckoutSettings) => Promise<UpdateCheckoutSettingsResponse>;
|
|
22152
|
+
declare const onCheckoutSettingsUpdated: EventDefinition$5<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
21818
22153
|
|
|
21819
22154
|
type index_d$6_Alignment = Alignment;
|
|
21820
22155
|
declare const index_d$6_Alignment: typeof Alignment;
|
|
@@ -23993,10 +24328,49 @@ interface CheckoutTemplatesQueryBuilder {
|
|
|
23993
24328
|
find: () => Promise<CheckoutTemplatesQueryResult>;
|
|
23994
24329
|
}
|
|
23995
24330
|
|
|
24331
|
+
interface HttpClient$5 {
|
|
24332
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$5<TResponse, TData>): Promise<HttpResponse$5<TResponse>>;
|
|
24333
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
24334
|
+
}
|
|
24335
|
+
type RequestOptionsFactory$5<TResponse = any, TData = any> = (context: any) => RequestOptions$5<TResponse, TData>;
|
|
24336
|
+
type HttpResponse$5<T = any> = {
|
|
24337
|
+
data: T;
|
|
24338
|
+
status: number;
|
|
24339
|
+
statusText: string;
|
|
24340
|
+
headers: any;
|
|
24341
|
+
request?: any;
|
|
24342
|
+
};
|
|
24343
|
+
type RequestOptions$5<_TResponse = any, Data = any> = {
|
|
24344
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
24345
|
+
url: string;
|
|
24346
|
+
data?: Data;
|
|
24347
|
+
params?: URLSearchParams;
|
|
24348
|
+
} & APIMetadata$5;
|
|
24349
|
+
type APIMetadata$5 = {
|
|
24350
|
+
methodFqn?: string;
|
|
24351
|
+
entityFqdn?: string;
|
|
24352
|
+
packageName?: string;
|
|
24353
|
+
};
|
|
24354
|
+
type EventDefinition$4<Payload = unknown, Type extends string = string> = {
|
|
24355
|
+
__type: 'event-definition';
|
|
24356
|
+
type: Type;
|
|
24357
|
+
isDomainEvent?: boolean;
|
|
24358
|
+
transformations?: (envelope: unknown) => Payload;
|
|
24359
|
+
__payload: Payload;
|
|
24360
|
+
};
|
|
24361
|
+
declare function EventDefinition$4<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$4<Payload, Type>;
|
|
24362
|
+
|
|
24363
|
+
declare global {
|
|
24364
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
24365
|
+
interface SymbolConstructor {
|
|
24366
|
+
readonly observable: symbol;
|
|
24367
|
+
}
|
|
24368
|
+
}
|
|
24369
|
+
|
|
23996
24370
|
declare const __metadata$5: {
|
|
23997
24371
|
PACKAGE_NAME: string;
|
|
23998
24372
|
};
|
|
23999
|
-
declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTemplate: CheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
24373
|
+
declare function createCheckoutTemplate(httpClient: HttpClient$5): (checkoutTemplate: CheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
24000
24374
|
status: Status;
|
|
24001
24375
|
customization?: {
|
|
24002
24376
|
webClient?: {
|
|
@@ -24035,7 +24409,7 @@ declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTempla
|
|
|
24035
24409
|
} | undefined;
|
|
24036
24410
|
}[];
|
|
24037
24411
|
}>;
|
|
24038
|
-
declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
24412
|
+
declare function getCheckoutTemplate(httpClient: HttpClient$5): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
24039
24413
|
status: Status;
|
|
24040
24414
|
customization?: {
|
|
24041
24415
|
webClient?: {
|
|
@@ -24074,7 +24448,7 @@ declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateI
|
|
|
24074
24448
|
} | undefined;
|
|
24075
24449
|
}[];
|
|
24076
24450
|
}>;
|
|
24077
|
-
declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
24451
|
+
declare function updateCheckoutTemplate(httpClient: HttpClient$5): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
24078
24452
|
status: Status;
|
|
24079
24453
|
customization?: {
|
|
24080
24454
|
webClient?: {
|
|
@@ -24113,13 +24487,13 @@ declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string |
|
|
|
24113
24487
|
} | undefined;
|
|
24114
24488
|
}[];
|
|
24115
24489
|
}>;
|
|
24116
|
-
declare function deleteCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|
|
24117
|
-
declare function queryCheckoutTemplates(httpClient: HttpClient): () => CheckoutTemplatesQueryBuilder;
|
|
24118
|
-
declare function createCheckoutFromTemplate(httpClient: HttpClient): (checkoutTemplateId: string, siteId: string) => Promise<CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields>;
|
|
24119
|
-
declare const onCheckoutTemplateCreated: EventDefinition<CheckoutTemplateCreatedEnvelope, "wix.ecom.v1.checkout_template_created">;
|
|
24120
|
-
declare const onCheckoutTemplateUpdated: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
24121
|
-
declare const onCheckoutTemplateDeleted: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
24122
|
-
declare const onCheckoutTemplateUsed: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
24490
|
+
declare function deleteCheckoutTemplate(httpClient: HttpClient$5): (checkoutTemplateId: string) => Promise<void>;
|
|
24491
|
+
declare function queryCheckoutTemplates(httpClient: HttpClient$5): () => CheckoutTemplatesQueryBuilder;
|
|
24492
|
+
declare function createCheckoutFromTemplate(httpClient: HttpClient$5): (checkoutTemplateId: string, siteId: string) => Promise<CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields>;
|
|
24493
|
+
declare const onCheckoutTemplateCreated: EventDefinition$4<CheckoutTemplateCreatedEnvelope, "wix.ecom.v1.checkout_template_created">;
|
|
24494
|
+
declare const onCheckoutTemplateUpdated: EventDefinition$4<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
24495
|
+
declare const onCheckoutTemplateDeleted: EventDefinition$4<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
24496
|
+
declare const onCheckoutTemplateUsed: EventDefinition$4<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
24123
24497
|
|
|
24124
24498
|
type index_d$5_AggregatedTaxBreakdown = AggregatedTaxBreakdown;
|
|
24125
24499
|
type index_d$5_AutoTaxFallbackCalculationDetails = AutoTaxFallbackCalculationDetails;
|
|
@@ -24784,13 +25158,52 @@ interface DeleteFulfillmentIdentifiers {
|
|
|
24784
25158
|
orderId: string;
|
|
24785
25159
|
}
|
|
24786
25160
|
|
|
25161
|
+
interface HttpClient$4 {
|
|
25162
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$4<TResponse, TData>): Promise<HttpResponse$4<TResponse>>;
|
|
25163
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
25164
|
+
}
|
|
25165
|
+
type RequestOptionsFactory$4<TResponse = any, TData = any> = (context: any) => RequestOptions$4<TResponse, TData>;
|
|
25166
|
+
type HttpResponse$4<T = any> = {
|
|
25167
|
+
data: T;
|
|
25168
|
+
status: number;
|
|
25169
|
+
statusText: string;
|
|
25170
|
+
headers: any;
|
|
25171
|
+
request?: any;
|
|
25172
|
+
};
|
|
25173
|
+
type RequestOptions$4<_TResponse = any, Data = any> = {
|
|
25174
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
25175
|
+
url: string;
|
|
25176
|
+
data?: Data;
|
|
25177
|
+
params?: URLSearchParams;
|
|
25178
|
+
} & APIMetadata$4;
|
|
25179
|
+
type APIMetadata$4 = {
|
|
25180
|
+
methodFqn?: string;
|
|
25181
|
+
entityFqdn?: string;
|
|
25182
|
+
packageName?: string;
|
|
25183
|
+
};
|
|
25184
|
+
type EventDefinition$3<Payload = unknown, Type extends string = string> = {
|
|
25185
|
+
__type: 'event-definition';
|
|
25186
|
+
type: Type;
|
|
25187
|
+
isDomainEvent?: boolean;
|
|
25188
|
+
transformations?: (envelope: unknown) => Payload;
|
|
25189
|
+
__payload: Payload;
|
|
25190
|
+
};
|
|
25191
|
+
declare function EventDefinition$3<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$3<Payload, Type>;
|
|
25192
|
+
|
|
25193
|
+
declare global {
|
|
25194
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
25195
|
+
interface SymbolConstructor {
|
|
25196
|
+
readonly observable: symbol;
|
|
25197
|
+
}
|
|
25198
|
+
}
|
|
25199
|
+
|
|
24787
25200
|
declare const __metadata$4: {
|
|
24788
25201
|
PACKAGE_NAME: string;
|
|
24789
25202
|
};
|
|
24790
|
-
declare function listFulfillmentsForSingleOrder(httpClient: HttpClient): (orderId: string) => Promise<ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields>;
|
|
24791
|
-
declare function listFulfillmentsForMultipleOrders(httpClient: HttpClient): (orderIds: string[]) => Promise<ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields>;
|
|
24792
|
-
declare function createFulfillment(httpClient: HttpClient): (orderId: string, fulfillment: Fulfillment$1) => Promise<CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields>;
|
|
24793
|
-
declare function updateFulfillment(httpClient: HttpClient): (identifiers: UpdateFulfillmentIdentifiers, options?: UpdateFulfillmentOptions) => Promise<OrderWithFulfillments & {
|
|
25203
|
+
declare function listFulfillmentsForSingleOrder(httpClient: HttpClient$4): (orderId: string) => Promise<ListFulfillmentsForSingleOrderResponse & ListFulfillmentsForSingleOrderResponseNonNullableFields>;
|
|
25204
|
+
declare function listFulfillmentsForMultipleOrders(httpClient: HttpClient$4): (orderIds: string[]) => Promise<ListFulfillmentsForMultipleOrdersResponse & ListFulfillmentsForMultipleOrdersResponseNonNullableFields>;
|
|
25205
|
+
declare function createFulfillment(httpClient: HttpClient$4): (orderId: string, fulfillment: Fulfillment$1) => Promise<CreateFulfillmentResponse & CreateFulfillmentResponseNonNullableFields>;
|
|
25206
|
+
declare function updateFulfillment(httpClient: HttpClient$4): (identifiers: UpdateFulfillmentIdentifiers, options?: UpdateFulfillmentOptions) => Promise<OrderWithFulfillments & {
|
|
24794
25207
|
orderId: string;
|
|
24795
25208
|
fulfillments: {
|
|
24796
25209
|
lineItems: {
|
|
@@ -24798,9 +25211,9 @@ declare function updateFulfillment(httpClient: HttpClient): (identifiers: Update
|
|
|
24798
25211
|
}[];
|
|
24799
25212
|
}[];
|
|
24800
25213
|
}>;
|
|
24801
|
-
declare function deleteFulfillment(httpClient: HttpClient): (identifiers: DeleteFulfillmentIdentifiers) => Promise<DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields>;
|
|
24802
|
-
declare function bulkCreateFulfillments(httpClient: HttpClient): (ordersWithFulfillments: BulkCreateOrderWithFulfillments[]) => Promise<BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields>;
|
|
24803
|
-
declare const onFulfillmentsUpdated: EventDefinition<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
|
|
25214
|
+
declare function deleteFulfillment(httpClient: HttpClient$4): (identifiers: DeleteFulfillmentIdentifiers) => Promise<DeleteFulfillmentResponse & DeleteFulfillmentResponseNonNullableFields>;
|
|
25215
|
+
declare function bulkCreateFulfillments(httpClient: HttpClient$4): (ordersWithFulfillments: BulkCreateOrderWithFulfillments[]) => Promise<BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields>;
|
|
25216
|
+
declare const onFulfillmentsUpdated: EventDefinition$3<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
|
|
24804
25217
|
|
|
24805
25218
|
type index_d$4_BulkCreateFulfillmentRequest = BulkCreateFulfillmentRequest;
|
|
24806
25219
|
type index_d$4_BulkCreateFulfillmentResponse = BulkCreateFulfillmentResponse;
|
|
@@ -27651,6 +28064,16 @@ interface NotificationSideEffects {
|
|
|
27651
28064
|
}
|
|
27652
28065
|
interface RefundResponse {
|
|
27653
28066
|
}
|
|
28067
|
+
interface ChargeSavedPaymentMethodRequest {
|
|
28068
|
+
/** Ecom Order ID. */
|
|
28069
|
+
ecomOrderId?: string;
|
|
28070
|
+
/** Amount to be charged */
|
|
28071
|
+
amount?: Price$1;
|
|
28072
|
+
}
|
|
28073
|
+
interface ChargeSavedPaymentMethodResponse {
|
|
28074
|
+
/** Payment gateway's order ID (e.g Wix Payments) */
|
|
28075
|
+
paymentGatewayOrderId?: string;
|
|
28076
|
+
}
|
|
27654
28077
|
interface DiffmatokyPayload$1 {
|
|
27655
28078
|
left?: string;
|
|
27656
28079
|
right?: string;
|
|
@@ -30934,10 +31357,49 @@ interface CancelOrderOptions {
|
|
|
30934
31357
|
restockAllItems?: boolean;
|
|
30935
31358
|
}
|
|
30936
31359
|
|
|
31360
|
+
interface HttpClient$3 {
|
|
31361
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$3<TResponse, TData>): Promise<HttpResponse$3<TResponse>>;
|
|
31362
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
31363
|
+
}
|
|
31364
|
+
type RequestOptionsFactory$3<TResponse = any, TData = any> = (context: any) => RequestOptions$3<TResponse, TData>;
|
|
31365
|
+
type HttpResponse$3<T = any> = {
|
|
31366
|
+
data: T;
|
|
31367
|
+
status: number;
|
|
31368
|
+
statusText: string;
|
|
31369
|
+
headers: any;
|
|
31370
|
+
request?: any;
|
|
31371
|
+
};
|
|
31372
|
+
type RequestOptions$3<_TResponse = any, Data = any> = {
|
|
31373
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
31374
|
+
url: string;
|
|
31375
|
+
data?: Data;
|
|
31376
|
+
params?: URLSearchParams;
|
|
31377
|
+
} & APIMetadata$3;
|
|
31378
|
+
type APIMetadata$3 = {
|
|
31379
|
+
methodFqn?: string;
|
|
31380
|
+
entityFqdn?: string;
|
|
31381
|
+
packageName?: string;
|
|
31382
|
+
};
|
|
31383
|
+
type EventDefinition$2<Payload = unknown, Type extends string = string> = {
|
|
31384
|
+
__type: 'event-definition';
|
|
31385
|
+
type: Type;
|
|
31386
|
+
isDomainEvent?: boolean;
|
|
31387
|
+
transformations?: (envelope: unknown) => Payload;
|
|
31388
|
+
__payload: Payload;
|
|
31389
|
+
};
|
|
31390
|
+
declare function EventDefinition$2<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$2<Payload, Type>;
|
|
31391
|
+
|
|
31392
|
+
declare global {
|
|
31393
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
31394
|
+
interface SymbolConstructor {
|
|
31395
|
+
readonly observable: symbol;
|
|
31396
|
+
}
|
|
31397
|
+
}
|
|
31398
|
+
|
|
30937
31399
|
declare const __metadata$3: {
|
|
30938
31400
|
PACKAGE_NAME: string;
|
|
30939
31401
|
};
|
|
30940
|
-
declare function getOrder(httpClient: HttpClient): (_id: string) => Promise<Order$1 & {
|
|
31402
|
+
declare function getOrder(httpClient: HttpClient$3): (_id: string) => Promise<Order$1 & {
|
|
30941
31403
|
number: string;
|
|
30942
31404
|
lineItems: {
|
|
30943
31405
|
_id: string;
|
|
@@ -31264,8 +31726,8 @@ declare function getOrder(httpClient: HttpClient): (_id: string) => Promise<Orde
|
|
|
31264
31726
|
} | undefined;
|
|
31265
31727
|
} | undefined;
|
|
31266
31728
|
}>;
|
|
31267
|
-
declare function searchOrders(httpClient: HttpClient): (options?: SearchOrdersOptions) => Promise<SearchOrdersResponse & SearchOrdersResponseNonNullableFields>;
|
|
31268
|
-
declare function createOrder(httpClient: HttpClient): (order: Order$1) => Promise<Order$1 & {
|
|
31729
|
+
declare function searchOrders(httpClient: HttpClient$3): (options?: SearchOrdersOptions) => Promise<SearchOrdersResponse & SearchOrdersResponseNonNullableFields>;
|
|
31730
|
+
declare function createOrder(httpClient: HttpClient$3): (order: Order$1) => Promise<Order$1 & {
|
|
31269
31731
|
number: string;
|
|
31270
31732
|
lineItems: {
|
|
31271
31733
|
_id: string;
|
|
@@ -31592,7 +32054,7 @@ declare function createOrder(httpClient: HttpClient): (order: Order$1) => Promis
|
|
|
31592
32054
|
} | undefined;
|
|
31593
32055
|
} | undefined;
|
|
31594
32056
|
}>;
|
|
31595
|
-
declare function updateOrder(httpClient: HttpClient): (_id: string | null, order: UpdateOrder) => Promise<Order$1 & {
|
|
32057
|
+
declare function updateOrder(httpClient: HttpClient$3): (_id: string | null, order: UpdateOrder) => Promise<Order$1 & {
|
|
31596
32058
|
number: string;
|
|
31597
32059
|
lineItems: {
|
|
31598
32060
|
_id: string;
|
|
@@ -31919,12 +32381,12 @@ declare function updateOrder(httpClient: HttpClient): (_id: string | null, order
|
|
|
31919
32381
|
} | undefined;
|
|
31920
32382
|
} | undefined;
|
|
31921
32383
|
}>;
|
|
31922
|
-
declare function cancelOrder(httpClient: HttpClient): (_id: string, options?: CancelOrderOptions) => Promise<CancelOrderResponse & CancelOrderResponseNonNullableFields>;
|
|
31923
|
-
declare const onOrderPaymentStatusUpdated: EventDefinition<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
|
|
31924
|
-
declare const onOrderUpdated: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
|
31925
|
-
declare const onOrderCreated: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
31926
|
-
declare const onOrderCanceled: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
31927
|
-
declare const onOrderApproved: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
32384
|
+
declare function cancelOrder(httpClient: HttpClient$3): (_id: string, options?: CancelOrderOptions) => Promise<CancelOrderResponse & CancelOrderResponseNonNullableFields>;
|
|
32385
|
+
declare const onOrderPaymentStatusUpdated: EventDefinition$2<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
|
|
32386
|
+
declare const onOrderUpdated: EventDefinition$2<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
|
32387
|
+
declare const onOrderCreated: EventDefinition$2<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
32388
|
+
declare const onOrderCanceled: EventDefinition$2<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
32389
|
+
declare const onOrderApproved: EventDefinition$2<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
31928
32390
|
|
|
31929
32391
|
type index_d$3_ActivityContentOneOf = ActivityContentOneOf;
|
|
31930
32392
|
type index_d$3_AddActivitiesRequest = AddActivitiesRequest;
|
|
@@ -32016,6 +32478,8 @@ type index_d$3_CaptureAuthorizedPaymentsResponse = CaptureAuthorizedPaymentsResp
|
|
|
32016
32478
|
type index_d$3_CatalogReference = CatalogReference;
|
|
32017
32479
|
type index_d$3_ChargeMembershipsRequest = ChargeMembershipsRequest;
|
|
32018
32480
|
type index_d$3_ChargeMembershipsResponse = ChargeMembershipsResponse;
|
|
32481
|
+
type index_d$3_ChargeSavedPaymentMethodRequest = ChargeSavedPaymentMethodRequest;
|
|
32482
|
+
type index_d$3_ChargeSavedPaymentMethodResponse = ChargeSavedPaymentMethodResponse;
|
|
32019
32483
|
type index_d$3_ChargedBy = ChargedBy;
|
|
32020
32484
|
type index_d$3_Color = Color;
|
|
32021
32485
|
type index_d$3_CommitDeltasRequest = CommitDeltasRequest;
|
|
@@ -32398,7 +32862,7 @@ declare const index_d$3_onOrderUpdated: typeof onOrderUpdated;
|
|
|
32398
32862
|
declare const index_d$3_searchOrders: typeof searchOrders;
|
|
32399
32863
|
declare const index_d$3_updateOrder: typeof updateOrder;
|
|
32400
32864
|
declare namespace index_d$3 {
|
|
32401
|
-
export { type ActionEvent$2 as ActionEvent, type Activity$1 as Activity, type index_d$3_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$3_AddActivitiesRequest as AddActivitiesRequest, type index_d$3_AddActivitiesResponse as AddActivitiesResponse, type index_d$3_AddActivityRequest as AddActivityRequest, type index_d$3_AddActivityResponse as AddActivityResponse, type index_d$3_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$3_AddInternalActivityResponse as AddInternalActivityResponse, type index_d$3_AdditionalFee as AdditionalFee, type index_d$3_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$3_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type index_d$3_AdditionalFeeRefund as AdditionalFeeRefund, type index_d$3_AdditionalFeeRefundOption as AdditionalFeeRefundOption, type Address$1 as Address, type index_d$3_AddressDescription as AddressDescription, type index_d$3_AddressLocation as AddressLocation, type index_d$3_AddressWithContact as AddressWithContact, type index_d$3_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$3_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type index_d$3_App as App, type ApplicationError$1 as ApplicationError, type index_d$3_AppliedDiscount as AppliedDiscount, type index_d$3_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$3_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type index_d$3_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d$3_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$3_ArchiveOrderResponse as ArchiveOrderResponse, index_d$3_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$1 as AuthorizationActionFailureDetails, type AuthorizationCapture$1 as AuthorizationCapture, AuthorizationCaptureStatus$1 as AuthorizationCaptureStatus, type AuthorizationDetails$1 as AuthorizationDetails, type AuthorizationVoid$1 as AuthorizationVoid, AuthorizationVoidStatus$1 as AuthorizationVoidStatus, type index_d$3_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$3_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$3_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$3_Balance as Balance, type index_d$3_BalanceSummary as BalanceSummary, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$3_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$3_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$3_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$3_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$3_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$3_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$3_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$3_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$3_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$3_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$3_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$3_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$3_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$3_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$3_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$3_BulkOrderResult as BulkOrderResult, type index_d$3_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$3_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$3_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$3_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$3_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$3_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$3_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$3_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$3_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$3_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$3_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$3_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$3_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type BuyerInfo$1 as BuyerInfo, type index_d$3_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$3_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type index_d$3_CalculateRefundV1Request as CalculateRefundV1Request, type index_d$3_CalculateRefundV1Response as CalculateRefundV1Response, type index_d$3_CalculateRefundV2Request as CalculateRefundV2Request, type index_d$3_CalculateRefundV2Response as CalculateRefundV2Response, type index_d$3_CalculateRefundV2ResponseStatusOneOf as CalculateRefundV2ResponseStatusOneOf, type index_d$3_CalculatedAdditionalFeeRefund as CalculatedAdditionalFeeRefund, type index_d$3_CalculatedLineItemRefund as CalculatedLineItemRefund, type index_d$3_CalculatedRefundDetails as CalculatedRefundDetails, type index_d$3_CalculatedRefundNotAvailableStatus as CalculatedRefundNotAvailableStatus, type index_d$3_CalculatedRefundSummary as CalculatedRefundSummary, type index_d$3_CalculatedShippingRefund as CalculatedShippingRefund, type index_d$3_CalculatedTax as CalculatedTax, type index_d$3_CalculatedTaxes as CalculatedTaxes, type index_d$3_CalculationError as CalculationError, type index_d$3_CalculationErrorItemOneOf as CalculationErrorItemOneOf, type index_d$3_Cancel as Cancel, type index_d$3_CancelOrderOptions as CancelOrderOptions, type index_d$3_CancelOrderRequest as CancelOrderRequest, type index_d$3_CancelOrderResponse as CancelOrderResponse, type index_d$3_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$3_CaptureAuthorizedPaymentRequest as CaptureAuthorizedPaymentRequest, type index_d$3_CaptureAuthorizedPaymentResponse as CaptureAuthorizedPaymentResponse, type index_d$3_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$3_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$3_CatalogReference as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$3_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$3_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$3_ChargedBy as ChargedBy, type index_d$3_Color as Color, type index_d$3_CommitDeltasRequest as CommitDeltasRequest, type index_d$3_CommitDeltasResponse as CommitDeltasResponse, type index_d$3_CommittedDiffs as CommittedDiffs, type index_d$3_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$3_CommonAddress as CommonAddress, type index_d$3_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$3_Company as Company, type index_d$3_Complete as Complete, type index_d$3_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type index_d$3_Coupon as Coupon, type index_d$3_CreateOrderRequest as CreateOrderRequest, type index_d$3_CreateOrderResponse as CreateOrderResponse, type index_d$3_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$3_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$3_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$3_CreatedBy as CreatedBy, type index_d$3_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$3_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$3_CustomFieldGroup as CustomFieldGroup, type index_d$3_CustomFieldValue as CustomFieldValue, type index_d$3_Customer as Customer, type index_d$3_DecrementData as DecrementData, type index_d$3_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$3_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$3_DeleteActivityRequest as DeleteActivityRequest, type index_d$3_DeleteActivityResponse as DeleteActivityResponse, type index_d$3_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$3_DeleteByIdsOperation as DeleteByIdsOperation, type index_d$3_DeliveryLogistics as DeliveryLogistics, type index_d$3_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$3_DeliveryTimeSlot as DeliveryTimeSlot, index_d$3_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$3_Deposit as Deposit, index_d$3_DepositType as DepositType, type index_d$3_DescriptionLine as DescriptionLine, type index_d$3_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$3_DescriptionLineName as DescriptionLineName, index_d$3_DescriptionLineType as DescriptionLineType, type index_d$3_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$3_Details as Details, type index_d$3_DetailsKindOneOf as DetailsKindOneOf, type DiffmatokyPayload$1 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$3_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$3_DiscountReason as DiscountReason, type index_d$3_DiscountRule as DiscountRule, type index_d$3_DiscountRuleName as DiscountRuleName, index_d$3_DiscountType as DiscountType, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$3_DownloadLinkSent as DownloadLinkSent, type index_d$3_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$3_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$3_DraftOrderDiffs as DraftOrderDiffs, type index_d$3_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$3_Email as Email, type index_d$3_EmailEdited as EmailEdited, type index_d$3_Empty as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$2 as EventMetadata, type index_d$3_ExtendedFields as ExtendedFields, type index_d$3_ExternalUriMapping as ExternalUriMapping, type index_d$3_FieldViolation as FieldViolation, type index_d$3_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$3_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$3_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type index_d$3_FullAddressContactDetails as FullAddressContactDetails, type index_d$3_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$3_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$3_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$3_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$3_GetOrderRequest as GetOrderRequest, type index_d$3_GetOrderResponse as GetOrderResponse, type index_d$3_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$3_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$3_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$3_GetRefundOptionsRequest as GetRefundOptionsRequest, type index_d$3_GetRefundOptionsResponse as GetRefundOptionsResponse, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$3_GetShipmentsRequest as GetShipmentsRequest, type index_d$3_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type index_d$3_HtmlApplication as HtmlApplication, type index_d$3_IdAndVersion as IdAndVersion, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$3_InternalActivity as InternalActivity, type index_d$3_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$3_InternalDocument as InternalDocument, type index_d$3_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$3_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$3_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$3_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$3_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$3_InventoryAction as InventoryAction, type index_d$3_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$3_InvoiceAdded as InvoiceAdded, type index_d$3_InvoiceDates as InvoiceDates, type index_d$3_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$3_InvoiceFields as InvoiceFields, type index_d$3_InvoiceSent as InvoiceSent, type index_d$3_InvoiceSentEvent as InvoiceSentEvent, index_d$3_InvoiceStatus as InvoiceStatus, type index_d$3_InvoicesPayment as InvoicesPayment, type index_d$3_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type index_d$3_ItemTaxFullDetails as ItemTaxFullDetails, type index_d$3_ItemType as ItemType, index_d$3_ItemTypeItemType as ItemTypeItemType, type index_d$3_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, type index_d$3_ItemizedFee as ItemizedFee, index_d$3_JurisdictionType as JurisdictionType, type LineItem$1 as LineItem, type index_d$3_LineItemAmount as LineItemAmount, type index_d$3_LineItemChanges as LineItemChanges, type index_d$3_LineItemDelta as LineItemDelta, type index_d$3_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type index_d$3_LineItemDiscount as LineItemDiscount, type index_d$3_LineItemExchangeData as LineItemExchangeData, type index_d$3_LineItemMetaData as LineItemMetaData, type index_d$3_LineItemPriceChange as LineItemPriceChange, type index_d$3_LineItemQuantityChange as LineItemQuantityChange, index_d$3_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$3_LineItemRefund as LineItemRefund, type index_d$3_LineItemRefundOption as LineItemRefundOption, type index_d$3_LineItemTax as LineItemTax, type index_d$3_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$3_LineItemTaxInfo as LineItemTaxInfo, type index_d$3_LineItemUpdate as LineItemUpdate, type index_d$3_LineItems as LineItems, type index_d$3_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$3_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$3_Locale as Locale, type index_d$3_LocationAndQuantity as LocationAndQuantity, type index_d$3_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$3_ManagedDiscount as ManagedDiscount, type index_d$3_ManagedLineItem as ManagedLineItem, type index_d$3_ManuallyRefundablePaymentStatus as ManuallyRefundablePaymentStatus, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$3_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$3_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$3_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$3_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$3_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$3_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$3_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$3_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$3_MaskedOrder as MaskedOrder, type index_d$3_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$3_MembershipChargeItem as MembershipChargeItem, type MembershipName$1 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, MembershipPaymentStatus$1 as MembershipPaymentStatus, type index_d$3_MembershipPaymentSummary as MembershipPaymentSummary, type index_d$3_MerchantComment as MerchantComment, type index_d$3_MerchantDiscount as MerchantDiscount, type index_d$3_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$2 as MessageEnvelope, type index_d$3_MetaData as MetaData, type index_d$3_MetaSite as MetaSite, type index_d$3_MetaTag as MetaTag, type index_d$3_MonetaryPaymentSummary as MonetaryPaymentSummary, index_d$3_Namespace as Namespace, type index_d$3_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$3_NonRefundablePaymentStatus as NonRefundablePaymentStatus, NonRefundableReason$1 as NonRefundableReason, type index_d$3_NotificationSideEffects as NotificationSideEffects, type Order$1 as Order, index_d$3_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$3_OrderApproved as OrderApproved, type index_d$3_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$3_OrderCanceled as OrderCanceled, type index_d$3_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$3_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$3_OrderChange as OrderChange, type index_d$3_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$3_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$3_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$3_OrderCreationSettings as OrderCreationSettings, type index_d$3_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$3_OrderFulfilled as OrderFulfilled, type index_d$3_OrderItemsRestocked as OrderItemsRestocked, type index_d$3_OrderLineItem as OrderLineItem, type index_d$3_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$3_OrderNotFulfilled as OrderNotFulfilled, type index_d$3_OrderPaid as OrderPaid, type index_d$3_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$3_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$3_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, index_d$3_OrderStatus as OrderStatus, type index_d$3_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$3_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type index_d$3_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$3_OrdersExperiments as OrdersExperiments, type index_d$3_OrdersV1RestockItem as OrdersV1RestockItem, type Payment$1 as Payment, type index_d$3_PaymentCapture as PaymentCapture, index_d$3_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$3_PaymentInfo as PaymentInfo, type index_d$3_PaymentInfoPaymentMethodDetailsOneOf as PaymentInfoPaymentMethodDetailsOneOf, type index_d$3_PaymentInfoSummaryOneOf as PaymentInfoSummaryOneOf, index_d$3_PaymentOptionType as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$3_PaymentRefundOption as PaymentRefundOption, type index_d$3_PaymentRefundOptionStatusOneOf as PaymentRefundOptionStatusOneOf, PaymentStatus$1 as PaymentStatus, type index_d$3_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$3_Payments as Payments, type index_d$3_PaymentsSummary as PaymentsSummary, type index_d$3_Phone as Phone, type index_d$3_PhysicalProperties as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$1 as PickupDetails, index_d$3_PickupMethod as PickupMethod, type index_d$3_PickupReadyEmailSent as PickupReadyEmailSent, index_d$3_Placement as Placement, type index_d$3_PlainTextValue as PlainTextValue, type index_d$3_PlatformPaging as PlatformPaging, type index_d$3_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$3_PlatformQuery as PlatformQuery, type index_d$3_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$3_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$3_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$3_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$3_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$3_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$3_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$3_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$3_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$3_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$3_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$3_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$3_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$3_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$3_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$3_PreviewEmailType as PreviewEmailType, type index_d$3_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$3_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$3_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$3_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$3_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$3_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$1 as Price, type index_d$3_PriceDescription as PriceDescription, type index_d$3_PriceSummary as PriceSummary, type index_d$3_ProductName as ProductName, type index_d$3_PublicActivity as PublicActivity, type index_d$3_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$3_QueryOrderRequest as QueryOrderRequest, type index_d$3_QueryOrderResponse as QueryOrderResponse, type index_d$3_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$3_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$3_QuotesAddress as QuotesAddress, type index_d$3_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$3_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$3_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$1 as RefundDetails, type RefundItem$1 as RefundItem, type index_d$3_RefundRequest as RefundRequest, type index_d$3_RefundResponse as RefundResponse, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$1 as RefundStatus, type RefundTransaction$1 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$3_RefundabilityManuallyRefundableReason as RefundabilityManuallyRefundableReason, index_d$3_RefundabilityNonRefundableReason as RefundabilityNonRefundableReason, RefundableStatus$1 as RefundableStatus, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$3_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, type index_d$3_RestockSideEffects as RestockSideEffects, RestockType$1 as RestockType, index_d$3_RuleType as RuleType, type index_d$3_SavedPaymentMethod as SavedPaymentMethod, type index_d$3_SearchOrdersOptions as SearchOrdersOptions, type index_d$3_SearchOrdersRequest as SearchOrdersRequest, type index_d$3_SearchOrdersResponse as SearchOrdersResponse, type index_d$3_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$3_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$3_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$3_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$3_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$3_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$3_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$3_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$3_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$3_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$3_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$3_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$3_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$3_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$3_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$3_SeoData as SeoData, type index_d$3_ServiceProperties as ServiceProperties, type index_d$3_ShippingAddressEdited as ShippingAddressEdited, type index_d$3_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type index_d$3_ShippingInformation as ShippingInformation, type index_d$3_ShippingPrice as ShippingPrice, type index_d$3_ShippingRefund as ShippingRefund, type index_d$3_ShippingRefundOption as ShippingRefundOption, type index_d$3_ShippingRegion as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$3_Source as Source, index_d$3_SourceType as SourceType, type index_d$3_StandardDetails as StandardDetails, index_d$3_State as State, type index_d$3_StreetAddress as StreetAddress, type index_d$3_Subdivision as Subdivision, index_d$3_SubdivisionType as SubdivisionType, SubscriptionFrequency$1 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$3_SystemError as SystemError, type index_d$3_TagList as TagList, type index_d$3_Tags as Tags, type index_d$3_Task as Task, type index_d$3_TaskAction as TaskAction, type index_d$3_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$3_TaskKey as TaskKey, type index_d$3_TaxSummary as TaxSummary, type index_d$3_TestUrlAdditionalBindingsRequest as TestUrlAdditionalBindingsRequest, type index_d$3_TestUrlAdditionalBindingsResponse as TestUrlAdditionalBindingsResponse, type index_d$3_TotalPrice as TotalPrice, type index_d$3_TotalPriceChange as TotalPriceChange, type index_d$3_TrackingLinkAdded as TrackingLinkAdded, type index_d$3_TrackingNumberAdded as TrackingNumberAdded, type index_d$3_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type index_d$3_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$3_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$3_TriggerReindexRequest as TriggerReindexRequest, type index_d$3_TriggerReindexResponse as TriggerReindexResponse, type index_d$3_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$3_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$3_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$3_UndeleteInfo as UndeleteInfo, type index_d$3_UpdateActivityRequest as UpdateActivityRequest, type index_d$3_UpdateActivityResponse as UpdateActivityResponse, type index_d$3_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$3_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$3_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$3_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$3_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$3_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$3_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$3_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$3_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$3_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$3_UpdateOrder as UpdateOrder, type index_d$3_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$3_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$3_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$3_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$3_UpdateOrderRequest as UpdateOrderRequest, type index_d$3_UpdateOrderResponse as UpdateOrderResponse, type index_d$3_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$3_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$3_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$3_UserDataResponse as UserDataResponse, type index_d$3_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$3_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$3_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$3_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$3_V1LineItemDelta as V1LineItemDelta, type index_d$3_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$3_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$3_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$3_V1PaymentRefund as V1PaymentRefund, type index_d$3_V1RefundDetails as V1RefundDetails, type index_d$3_V1RefundSideEffects as V1RefundSideEffects, type index_d$3_V1RestockItem as V1RestockItem, type index_d$3_ValidationError as ValidationError, type index_d$3_Value as Value, index_d$3_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type index_d$3_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$3_VersionedDocumentId as VersionedDocumentId, type index_d$3_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$3_VersioningMode as VersioningMode, type index_d$3_VoidAuthorizedPaymentRequest as VoidAuthorizedPaymentRequest, type index_d$3_VoidAuthorizedPaymentResponse as VoidAuthorizedPaymentResponse, type index_d$3_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$3_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, WebhookIdentityType$2 as WebhookIdentityType, WeightUnit$1 as WeightUnit, __metadata$3 as __metadata, index_d$3_cancelOrder as cancelOrder, index_d$3_createOrder as createOrder, index_d$3_getOrder as getOrder, index_d$3_onOrderApproved as onOrderApproved, index_d$3_onOrderCanceled as onOrderCanceled, index_d$3_onOrderCreated as onOrderCreated, index_d$3_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$3_onOrderUpdated as onOrderUpdated, index_d$3_searchOrders as searchOrders, index_d$3_updateOrder as updateOrder };
|
|
32865
|
+
export { type ActionEvent$2 as ActionEvent, type Activity$1 as Activity, type index_d$3_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$3_AddActivitiesRequest as AddActivitiesRequest, type index_d$3_AddActivitiesResponse as AddActivitiesResponse, type index_d$3_AddActivityRequest as AddActivityRequest, type index_d$3_AddActivityResponse as AddActivityResponse, type index_d$3_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$3_AddInternalActivityResponse as AddInternalActivityResponse, type index_d$3_AdditionalFee as AdditionalFee, type index_d$3_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$3_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type index_d$3_AdditionalFeeRefund as AdditionalFeeRefund, type index_d$3_AdditionalFeeRefundOption as AdditionalFeeRefundOption, type Address$1 as Address, type index_d$3_AddressDescription as AddressDescription, type index_d$3_AddressLocation as AddressLocation, type index_d$3_AddressWithContact as AddressWithContact, type index_d$3_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$3_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$1 as AggregatedRefundSummary, type index_d$3_App as App, type ApplicationError$1 as ApplicationError, type index_d$3_AppliedDiscount as AppliedDiscount, type index_d$3_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$3_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type index_d$3_AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOf, type index_d$3_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$3_ArchiveOrderResponse as ArchiveOrderResponse, index_d$3_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$1 as AuthorizationActionFailureDetails, type AuthorizationCapture$1 as AuthorizationCapture, AuthorizationCaptureStatus$1 as AuthorizationCaptureStatus, type AuthorizationDetails$1 as AuthorizationDetails, type AuthorizationVoid$1 as AuthorizationVoid, AuthorizationVoidStatus$1 as AuthorizationVoidStatus, type index_d$3_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$3_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$3_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$3_Balance as Balance, type index_d$3_BalanceSummary as BalanceSummary, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$3_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$3_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$3_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$3_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$3_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$3_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$3_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$3_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$3_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$3_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$3_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$3_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$3_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$3_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$3_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$3_BulkOrderResult as BulkOrderResult, type index_d$3_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$3_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$3_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$3_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$3_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$3_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$3_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$3_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$3_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$3_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$3_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$3_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$3_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type BuyerInfo$1 as BuyerInfo, type index_d$3_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$3_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type index_d$3_CalculateRefundV1Request as CalculateRefundV1Request, type index_d$3_CalculateRefundV1Response as CalculateRefundV1Response, type index_d$3_CalculateRefundV2Request as CalculateRefundV2Request, type index_d$3_CalculateRefundV2Response as CalculateRefundV2Response, type index_d$3_CalculateRefundV2ResponseStatusOneOf as CalculateRefundV2ResponseStatusOneOf, type index_d$3_CalculatedAdditionalFeeRefund as CalculatedAdditionalFeeRefund, type index_d$3_CalculatedLineItemRefund as CalculatedLineItemRefund, type index_d$3_CalculatedRefundDetails as CalculatedRefundDetails, type index_d$3_CalculatedRefundNotAvailableStatus as CalculatedRefundNotAvailableStatus, type index_d$3_CalculatedRefundSummary as CalculatedRefundSummary, type index_d$3_CalculatedShippingRefund as CalculatedShippingRefund, type index_d$3_CalculatedTax as CalculatedTax, type index_d$3_CalculatedTaxes as CalculatedTaxes, type index_d$3_CalculationError as CalculationError, type index_d$3_CalculationErrorItemOneOf as CalculationErrorItemOneOf, type index_d$3_Cancel as Cancel, type index_d$3_CancelOrderOptions as CancelOrderOptions, type index_d$3_CancelOrderRequest as CancelOrderRequest, type index_d$3_CancelOrderResponse as CancelOrderResponse, type index_d$3_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$3_CaptureAuthorizedPaymentRequest as CaptureAuthorizedPaymentRequest, type index_d$3_CaptureAuthorizedPaymentResponse as CaptureAuthorizedPaymentResponse, type index_d$3_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$3_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$3_CatalogReference as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$3_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$3_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$3_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$3_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$3_ChargedBy as ChargedBy, type index_d$3_Color as Color, type index_d$3_CommitDeltasRequest as CommitDeltasRequest, type index_d$3_CommitDeltasResponse as CommitDeltasResponse, type index_d$3_CommittedDiffs as CommittedDiffs, type index_d$3_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$3_CommonAddress as CommonAddress, type index_d$3_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$3_Company as Company, type index_d$3_Complete as Complete, type index_d$3_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type index_d$3_Coupon as Coupon, type index_d$3_CreateOrderRequest as CreateOrderRequest, type index_d$3_CreateOrderResponse as CreateOrderResponse, type index_d$3_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$3_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$3_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$3_CreatedBy as CreatedBy, type index_d$3_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$1 as CreditCardPaymentMethodDetails, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorSearch$1 as CursorSearch, type CursorSearchPagingMethodOneOf$1 as CursorSearchPagingMethodOneOf, type Cursors$1 as Cursors, type index_d$3_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$3_CustomFieldGroup as CustomFieldGroup, type index_d$3_CustomFieldValue as CustomFieldValue, type index_d$3_Customer as Customer, type index_d$3_DecrementData as DecrementData, type index_d$3_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$3_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$3_DeleteActivityRequest as DeleteActivityRequest, type index_d$3_DeleteActivityResponse as DeleteActivityResponse, type index_d$3_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$3_DeleteByIdsOperation as DeleteByIdsOperation, type index_d$3_DeliveryLogistics as DeliveryLogistics, type index_d$3_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$3_DeliveryTimeSlot as DeliveryTimeSlot, index_d$3_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$3_Deposit as Deposit, index_d$3_DepositType as DepositType, type index_d$3_DescriptionLine as DescriptionLine, type index_d$3_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$3_DescriptionLineName as DescriptionLineName, index_d$3_DescriptionLineType as DescriptionLineType, type index_d$3_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$3_Details as Details, type index_d$3_DetailsKindOneOf as DetailsKindOneOf, type DiffmatokyPayload$1 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$3_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$3_DiscountReason as DiscountReason, type index_d$3_DiscountRule as DiscountRule, type index_d$3_DiscountRuleName as DiscountRuleName, index_d$3_DiscountType as DiscountType, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type index_d$3_DownloadLinkSent as DownloadLinkSent, type index_d$3_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$3_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$3_DraftOrderDiffs as DraftOrderDiffs, type index_d$3_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$3_Email as Email, type index_d$3_EmailEdited as EmailEdited, type index_d$3_Empty as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$2 as EventMetadata, type index_d$3_ExtendedFields as ExtendedFields, type index_d$3_ExternalUriMapping as ExternalUriMapping, type index_d$3_FieldViolation as FieldViolation, type index_d$3_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$3_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$3_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type index_d$3_FullAddressContactDetails as FullAddressContactDetails, type index_d$3_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$3_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$3_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$3_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$3_GetOrderRequest as GetOrderRequest, type index_d$3_GetOrderResponse as GetOrderResponse, type index_d$3_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$3_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$3_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$3_GetRefundOptionsRequest as GetRefundOptionsRequest, type index_d$3_GetRefundOptionsResponse as GetRefundOptionsResponse, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$3_GetShipmentsRequest as GetShipmentsRequest, type index_d$3_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$1 as GiftCardPaymentDetails, type index_d$3_HtmlApplication as HtmlApplication, type index_d$3_IdAndVersion as IdAndVersion, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$3_InternalActivity as InternalActivity, type index_d$3_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$3_InternalDocument as InternalDocument, type index_d$3_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$3_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$3_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$3_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$3_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$3_InventoryAction as InventoryAction, type index_d$3_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$3_InvoiceAdded as InvoiceAdded, type index_d$3_InvoiceDates as InvoiceDates, type index_d$3_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$3_InvoiceFields as InvoiceFields, type index_d$3_InvoiceSent as InvoiceSent, type index_d$3_InvoiceSentEvent as InvoiceSentEvent, index_d$3_InvoiceStatus as InvoiceStatus, type index_d$3_InvoicesPayment as InvoicesPayment, type index_d$3_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type index_d$3_ItemTaxFullDetails as ItemTaxFullDetails, type index_d$3_ItemType as ItemType, index_d$3_ItemTypeItemType as ItemTypeItemType, type index_d$3_ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOf, type index_d$3_ItemizedFee as ItemizedFee, index_d$3_JurisdictionType as JurisdictionType, type LineItem$1 as LineItem, type index_d$3_LineItemAmount as LineItemAmount, type index_d$3_LineItemChanges as LineItemChanges, type index_d$3_LineItemDelta as LineItemDelta, type index_d$3_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type index_d$3_LineItemDiscount as LineItemDiscount, type index_d$3_LineItemExchangeData as LineItemExchangeData, type index_d$3_LineItemMetaData as LineItemMetaData, type index_d$3_LineItemPriceChange as LineItemPriceChange, type index_d$3_LineItemQuantityChange as LineItemQuantityChange, index_d$3_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$3_LineItemRefund as LineItemRefund, type index_d$3_LineItemRefundOption as LineItemRefundOption, type index_d$3_LineItemTax as LineItemTax, type index_d$3_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$3_LineItemTaxInfo as LineItemTaxInfo, type index_d$3_LineItemUpdate as LineItemUpdate, type index_d$3_LineItems as LineItems, type index_d$3_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$3_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$3_Locale as Locale, type index_d$3_LocationAndQuantity as LocationAndQuantity, type index_d$3_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$3_ManagedDiscount as ManagedDiscount, type index_d$3_ManagedLineItem as ManagedLineItem, type index_d$3_ManuallyRefundablePaymentStatus as ManuallyRefundablePaymentStatus, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$3_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$3_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$3_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$3_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$3_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$3_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$3_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$3_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$3_MaskedOrder as MaskedOrder, type index_d$3_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$3_MembershipChargeItem as MembershipChargeItem, type MembershipName$1 as MembershipName, type MembershipPaymentDetails$1 as MembershipPaymentDetails, MembershipPaymentStatus$1 as MembershipPaymentStatus, type index_d$3_MembershipPaymentSummary as MembershipPaymentSummary, type index_d$3_MerchantComment as MerchantComment, type index_d$3_MerchantDiscount as MerchantDiscount, type index_d$3_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$2 as MessageEnvelope, type index_d$3_MetaData as MetaData, type index_d$3_MetaSite as MetaSite, type index_d$3_MetaTag as MetaTag, type index_d$3_MonetaryPaymentSummary as MonetaryPaymentSummary, index_d$3_Namespace as Namespace, type index_d$3_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$3_NonRefundablePaymentStatus as NonRefundablePaymentStatus, NonRefundableReason$1 as NonRefundableReason, type index_d$3_NotificationSideEffects as NotificationSideEffects, type Order$1 as Order, index_d$3_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$3_OrderApproved as OrderApproved, type index_d$3_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$3_OrderCanceled as OrderCanceled, type index_d$3_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$3_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$3_OrderChange as OrderChange, type index_d$3_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$3_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$3_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$3_OrderCreationSettings as OrderCreationSettings, type index_d$3_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$3_OrderFulfilled as OrderFulfilled, type index_d$3_OrderItemsRestocked as OrderItemsRestocked, type index_d$3_OrderLineItem as OrderLineItem, type index_d$3_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$3_OrderNotFulfilled as OrderNotFulfilled, type index_d$3_OrderPaid as OrderPaid, type index_d$3_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$3_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$3_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, index_d$3_OrderStatus as OrderStatus, type index_d$3_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$3_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$1 as OrderTransactions, type index_d$3_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$3_OrdersExperiments as OrdersExperiments, type index_d$3_OrdersV1RestockItem as OrdersV1RestockItem, type Payment$1 as Payment, type index_d$3_PaymentCapture as PaymentCapture, index_d$3_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$3_PaymentInfo as PaymentInfo, type index_d$3_PaymentInfoPaymentMethodDetailsOneOf as PaymentInfoPaymentMethodDetailsOneOf, type index_d$3_PaymentInfoSummaryOneOf as PaymentInfoSummaryOneOf, index_d$3_PaymentOptionType as PaymentOptionType, type PaymentPaymentDetailsOneOf$1 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$3_PaymentRefundOption as PaymentRefundOption, type index_d$3_PaymentRefundOptionStatusOneOf as PaymentRefundOptionStatusOneOf, PaymentStatus$1 as PaymentStatus, type index_d$3_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$3_Payments as Payments, type index_d$3_PaymentsSummary as PaymentsSummary, type index_d$3_Phone as Phone, type index_d$3_PhysicalProperties as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$1 as PickupDetails, index_d$3_PickupMethod as PickupMethod, type index_d$3_PickupReadyEmailSent as PickupReadyEmailSent, index_d$3_Placement as Placement, type index_d$3_PlainTextValue as PlainTextValue, type index_d$3_PlatformPaging as PlatformPaging, type index_d$3_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$3_PlatformQuery as PlatformQuery, type index_d$3_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$3_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$3_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$3_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$3_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$3_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$3_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$3_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$3_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$3_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$3_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$3_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$3_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$3_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$3_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$3_PreviewEmailType as PreviewEmailType, type index_d$3_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$3_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$3_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$3_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$3_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$3_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$1 as Price, type index_d$3_PriceDescription as PriceDescription, type index_d$3_PriceSummary as PriceSummary, type index_d$3_ProductName as ProductName, type index_d$3_PublicActivity as PublicActivity, type index_d$3_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$3_QueryOrderRequest as QueryOrderRequest, type index_d$3_QueryOrderResponse as QueryOrderResponse, type index_d$3_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$3_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$3_QuotesAddress as QuotesAddress, type index_d$3_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$3_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$3_RedirectUrls as RedirectUrls, type Refund$1 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$1 as RefundDetails, type RefundItem$1 as RefundItem, type index_d$3_RefundRequest as RefundRequest, type index_d$3_RefundResponse as RefundResponse, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$1 as RefundStatus, type RefundTransaction$1 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$3_RefundabilityManuallyRefundableReason as RefundabilityManuallyRefundableReason, index_d$3_RefundabilityNonRefundableReason as RefundabilityNonRefundableReason, RefundableStatus$1 as RefundableStatus, type RegularPaymentDetails$1 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$1 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$3_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, type index_d$3_RestockSideEffects as RestockSideEffects, RestockType$1 as RestockType, index_d$3_RuleType as RuleType, type index_d$3_SavedPaymentMethod as SavedPaymentMethod, type index_d$3_SearchOrdersOptions as SearchOrdersOptions, type index_d$3_SearchOrdersRequest as SearchOrdersRequest, type index_d$3_SearchOrdersResponse as SearchOrdersResponse, type index_d$3_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$3_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$3_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$3_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$3_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$3_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$3_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$3_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$3_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$3_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$3_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$3_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$3_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$3_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$3_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$3_SeoData as SeoData, type index_d$3_ServiceProperties as ServiceProperties, type index_d$3_ShippingAddressEdited as ShippingAddressEdited, type index_d$3_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type index_d$3_ShippingInformation as ShippingInformation, type index_d$3_ShippingPrice as ShippingPrice, type index_d$3_ShippingRefund as ShippingRefund, type index_d$3_ShippingRefundOption as ShippingRefundOption, type index_d$3_ShippingRegion as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$3_Source as Source, index_d$3_SourceType as SourceType, type index_d$3_StandardDetails as StandardDetails, index_d$3_State as State, type index_d$3_StreetAddress as StreetAddress, type index_d$3_Subdivision as Subdivision, index_d$3_SubdivisionType as SubdivisionType, SubscriptionFrequency$1 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$3_SystemError as SystemError, type index_d$3_TagList as TagList, type index_d$3_Tags as Tags, type index_d$3_Task as Task, type index_d$3_TaskAction as TaskAction, type index_d$3_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$3_TaskKey as TaskKey, type index_d$3_TaxSummary as TaxSummary, type index_d$3_TestUrlAdditionalBindingsRequest as TestUrlAdditionalBindingsRequest, type index_d$3_TestUrlAdditionalBindingsResponse as TestUrlAdditionalBindingsResponse, type index_d$3_TotalPrice as TotalPrice, type index_d$3_TotalPriceChange as TotalPriceChange, type index_d$3_TrackingLinkAdded as TrackingLinkAdded, type index_d$3_TrackingNumberAdded as TrackingNumberAdded, type index_d$3_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$1 as TransactionStatus, type index_d$3_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$3_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$3_TriggerReindexRequest as TriggerReindexRequest, type index_d$3_TriggerReindexResponse as TriggerReindexResponse, type index_d$3_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$3_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$3_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$3_UndeleteInfo as UndeleteInfo, type index_d$3_UpdateActivityRequest as UpdateActivityRequest, type index_d$3_UpdateActivityResponse as UpdateActivityResponse, type index_d$3_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$3_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$3_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$3_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$3_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$3_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$3_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$3_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$3_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$3_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$3_UpdateOrder as UpdateOrder, type index_d$3_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$3_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$3_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$3_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$3_UpdateOrderRequest as UpdateOrderRequest, type index_d$3_UpdateOrderResponse as UpdateOrderResponse, type index_d$3_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$3_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$3_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$3_UserDataResponse as UserDataResponse, type index_d$3_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$3_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$3_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$3_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$3_V1LineItemDelta as V1LineItemDelta, type index_d$3_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$3_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$3_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$3_V1PaymentRefund as V1PaymentRefund, type index_d$3_V1RefundDetails as V1RefundDetails, type index_d$3_V1RefundSideEffects as V1RefundSideEffects, type index_d$3_V1RestockItem as V1RestockItem, type index_d$3_ValidationError as ValidationError, type index_d$3_Value as Value, index_d$3_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type index_d$3_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$3_VersionedDocumentId as VersionedDocumentId, type index_d$3_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$3_VersioningMode as VersioningMode, type index_d$3_VoidAuthorizedPaymentRequest as VoidAuthorizedPaymentRequest, type index_d$3_VoidAuthorizedPaymentResponse as VoidAuthorizedPaymentResponse, type index_d$3_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$3_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, WebhookIdentityType$2 as WebhookIdentityType, WeightUnit$1 as WeightUnit, __metadata$3 as __metadata, index_d$3_cancelOrder as cancelOrder, index_d$3_createOrder as createOrder, index_d$3_getOrder as getOrder, index_d$3_onOrderApproved as onOrderApproved, index_d$3_onOrderCanceled as onOrderCanceled, index_d$3_onOrderCreated as onOrderCreated, index_d$3_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$3_onOrderUpdated as onOrderUpdated, index_d$3_searchOrders as searchOrders, index_d$3_updateOrder as updateOrder };
|
|
32402
32866
|
}
|
|
32403
32867
|
|
|
32404
32868
|
interface OrderTransactions {
|
|
@@ -34203,15 +34667,54 @@ interface BulkUpdatePaymentStatusesOptions {
|
|
|
34203
34667
|
status?: TransactionStatus;
|
|
34204
34668
|
}
|
|
34205
34669
|
|
|
34670
|
+
interface HttpClient$2 {
|
|
34671
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
|
|
34672
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
34673
|
+
}
|
|
34674
|
+
type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
|
|
34675
|
+
type HttpResponse$2<T = any> = {
|
|
34676
|
+
data: T;
|
|
34677
|
+
status: number;
|
|
34678
|
+
statusText: string;
|
|
34679
|
+
headers: any;
|
|
34680
|
+
request?: any;
|
|
34681
|
+
};
|
|
34682
|
+
type RequestOptions$2<_TResponse = any, Data = any> = {
|
|
34683
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
34684
|
+
url: string;
|
|
34685
|
+
data?: Data;
|
|
34686
|
+
params?: URLSearchParams;
|
|
34687
|
+
} & APIMetadata$2;
|
|
34688
|
+
type APIMetadata$2 = {
|
|
34689
|
+
methodFqn?: string;
|
|
34690
|
+
entityFqdn?: string;
|
|
34691
|
+
packageName?: string;
|
|
34692
|
+
};
|
|
34693
|
+
type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
34694
|
+
__type: 'event-definition';
|
|
34695
|
+
type: Type;
|
|
34696
|
+
isDomainEvent?: boolean;
|
|
34697
|
+
transformations?: (envelope: unknown) => Payload;
|
|
34698
|
+
__payload: Payload;
|
|
34699
|
+
};
|
|
34700
|
+
declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
|
|
34701
|
+
|
|
34702
|
+
declare global {
|
|
34703
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
34704
|
+
interface SymbolConstructor {
|
|
34705
|
+
readonly observable: symbol;
|
|
34706
|
+
}
|
|
34707
|
+
}
|
|
34708
|
+
|
|
34206
34709
|
declare const __metadata$2: {
|
|
34207
34710
|
PACKAGE_NAME: string;
|
|
34208
34711
|
};
|
|
34209
|
-
declare function listTransactionsForSingleOrder(httpClient: HttpClient): (orderId: string) => Promise<ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields>;
|
|
34210
|
-
declare function listTransactionsForMultipleOrders(httpClient: HttpClient): (orderIds: string[]) => Promise<ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields>;
|
|
34211
|
-
declare function addPayments(httpClient: HttpClient): (orderId: string, payments: Payment[]) => Promise<AddPaymentsResponse & AddPaymentsResponseNonNullableFields>;
|
|
34212
|
-
declare function updatePaymentStatus(httpClient: HttpClient): (identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions) => Promise<UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields>;
|
|
34213
|
-
declare function bulkUpdatePaymentStatuses(httpClient: HttpClient): (paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions) => Promise<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
|
|
34214
|
-
declare const onOrderTransactionsUpdated: EventDefinition<OrderTransactionsUpdatedEnvelope, "wix.ecom.v1.order_transactions_updated">;
|
|
34712
|
+
declare function listTransactionsForSingleOrder(httpClient: HttpClient$2): (orderId: string) => Promise<ListTransactionsForSingleOrderResponse & ListTransactionsForSingleOrderResponseNonNullableFields>;
|
|
34713
|
+
declare function listTransactionsForMultipleOrders(httpClient: HttpClient$2): (orderIds: string[]) => Promise<ListTransactionsForMultipleOrdersResponse & ListTransactionsForMultipleOrdersResponseNonNullableFields>;
|
|
34714
|
+
declare function addPayments(httpClient: HttpClient$2): (orderId: string, payments: Payment[]) => Promise<AddPaymentsResponse & AddPaymentsResponseNonNullableFields>;
|
|
34715
|
+
declare function updatePaymentStatus(httpClient: HttpClient$2): (identifiers: UpdatePaymentStatusIdentifiers, options?: UpdatePaymentStatusOptions) => Promise<UpdatePaymentStatusResponse & UpdatePaymentStatusResponseNonNullableFields>;
|
|
34716
|
+
declare function bulkUpdatePaymentStatuses(httpClient: HttpClient$2): (paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions) => Promise<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
|
|
34717
|
+
declare const onOrderTransactionsUpdated: EventDefinition$1<OrderTransactionsUpdatedEnvelope, "wix.ecom.v1.order_transactions_updated">;
|
|
34215
34718
|
|
|
34216
34719
|
type index_d$2_Activity = Activity;
|
|
34217
34720
|
type index_d$2_ActivityType = ActivityType;
|
|
@@ -34612,11 +35115,50 @@ interface OrdersSettingsUpdatedEnvelope {
|
|
|
34612
35115
|
metadata: EventMetadata;
|
|
34613
35116
|
}
|
|
34614
35117
|
|
|
35118
|
+
interface HttpClient$1 {
|
|
35119
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
|
|
35120
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
35121
|
+
}
|
|
35122
|
+
type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
|
|
35123
|
+
type HttpResponse$1<T = any> = {
|
|
35124
|
+
data: T;
|
|
35125
|
+
status: number;
|
|
35126
|
+
statusText: string;
|
|
35127
|
+
headers: any;
|
|
35128
|
+
request?: any;
|
|
35129
|
+
};
|
|
35130
|
+
type RequestOptions$1<_TResponse = any, Data = any> = {
|
|
35131
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
35132
|
+
url: string;
|
|
35133
|
+
data?: Data;
|
|
35134
|
+
params?: URLSearchParams;
|
|
35135
|
+
} & APIMetadata$1;
|
|
35136
|
+
type APIMetadata$1 = {
|
|
35137
|
+
methodFqn?: string;
|
|
35138
|
+
entityFqdn?: string;
|
|
35139
|
+
packageName?: string;
|
|
35140
|
+
};
|
|
35141
|
+
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
35142
|
+
__type: 'event-definition';
|
|
35143
|
+
type: Type;
|
|
35144
|
+
isDomainEvent?: boolean;
|
|
35145
|
+
transformations?: (envelope: unknown) => Payload;
|
|
35146
|
+
__payload: Payload;
|
|
35147
|
+
};
|
|
35148
|
+
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
35149
|
+
|
|
35150
|
+
declare global {
|
|
35151
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
35152
|
+
interface SymbolConstructor {
|
|
35153
|
+
readonly observable: symbol;
|
|
35154
|
+
}
|
|
35155
|
+
}
|
|
35156
|
+
|
|
34615
35157
|
declare const __metadata$1: {
|
|
34616
35158
|
PACKAGE_NAME: string;
|
|
34617
35159
|
};
|
|
34618
|
-
declare function getOrdersSettings(httpClient: HttpClient): () => Promise<GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields>;
|
|
34619
|
-
declare function updateOrdersSettings(httpClient: HttpClient): (ordersSettings: OrdersSettings) => Promise<UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields>;
|
|
35160
|
+
declare function getOrdersSettings(httpClient: HttpClient$1): () => Promise<GetOrdersSettingsResponse & GetOrdersSettingsResponseNonNullableFields>;
|
|
35161
|
+
declare function updateOrdersSettings(httpClient: HttpClient$1): (ordersSettings: OrdersSettings) => Promise<UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields>;
|
|
34620
35162
|
declare const onOrdersSettingsUpdated: EventDefinition<OrdersSettingsUpdatedEnvelope, "wix.ecom.v1.orders_settings_updated">;
|
|
34621
35163
|
|
|
34622
35164
|
type index_d$1_ActionEvent = ActionEvent;
|
|
@@ -34728,6 +35270,37 @@ interface GetConversionRateIdentifiers {
|
|
|
34728
35270
|
to: string;
|
|
34729
35271
|
}
|
|
34730
35272
|
|
|
35273
|
+
interface HttpClient {
|
|
35274
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
35275
|
+
fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
|
|
35276
|
+
}
|
|
35277
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
35278
|
+
type HttpResponse<T = any> = {
|
|
35279
|
+
data: T;
|
|
35280
|
+
status: number;
|
|
35281
|
+
statusText: string;
|
|
35282
|
+
headers: any;
|
|
35283
|
+
request?: any;
|
|
35284
|
+
};
|
|
35285
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
35286
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
35287
|
+
url: string;
|
|
35288
|
+
data?: Data;
|
|
35289
|
+
params?: URLSearchParams;
|
|
35290
|
+
} & APIMetadata;
|
|
35291
|
+
type APIMetadata = {
|
|
35292
|
+
methodFqn?: string;
|
|
35293
|
+
entityFqdn?: string;
|
|
35294
|
+
packageName?: string;
|
|
35295
|
+
};
|
|
35296
|
+
|
|
35297
|
+
declare global {
|
|
35298
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
35299
|
+
interface SymbolConstructor {
|
|
35300
|
+
readonly observable: symbol;
|
|
35301
|
+
}
|
|
35302
|
+
}
|
|
35303
|
+
|
|
34731
35304
|
declare const __metadata: {
|
|
34732
35305
|
PACKAGE_NAME: string;
|
|
34733
35306
|
};
|