@medusajs/types 1.12.0-snapshot-20240516152256 → 1.12.0-snapshot-20240520151134
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/common.d.ts +0 -107
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/common/common.d.ts +0 -160
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +267 -186
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +12 -0
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/http/api-key/admin/api-key.d.ts +3 -12
- package/dist/http/api-key/admin/api-key.d.ts.map +1 -1
- package/dist/http/campaign/admin/campaign.d.ts +2 -11
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
- package/dist/http/cart/common.d.ts +636 -0
- package/dist/http/cart/common.d.ts.map +1 -0
- package/dist/http/{common/deleted-response.js → cart/common.js} +1 -1
- package/dist/http/cart/common.js.map +1 -0
- package/dist/http/cart/index.d.ts +2 -0
- package/dist/http/cart/index.d.ts.map +1 -0
- package/dist/http/cart/index.js +18 -0
- package/dist/http/cart/index.js.map +1 -0
- package/dist/http/cart/store.d.ts +45 -0
- package/dist/http/cart/store.d.ts.map +1 -0
- package/dist/http/{order/admin/index.js → cart/store.js} +1 -1
- package/dist/http/cart/store.js.map +1 -0
- package/dist/http/collection/admin.d.ts +6 -0
- package/dist/http/collection/admin.d.ts.map +1 -0
- package/dist/http/{common/paginated-response.js → collection/admin.js} +1 -1
- package/dist/http/collection/admin.js.map +1 -0
- package/dist/http/collection/common.d.ts +19 -0
- package/dist/http/collection/common.d.ts.map +1 -0
- package/dist/http/collection/common.js +3 -0
- package/dist/http/collection/common.js.map +1 -0
- package/dist/http/collection/index.d.ts +3 -0
- package/dist/http/collection/index.d.ts.map +1 -0
- package/dist/http/collection/index.js +19 -0
- package/dist/http/collection/index.js.map +1 -0
- package/dist/http/collection/store.d.ts +6 -0
- package/dist/http/collection/store.d.ts.map +1 -0
- package/dist/http/collection/store.js +3 -0
- package/dist/http/collection/store.js.map +1 -0
- package/dist/http/common/index.d.ts +2 -2
- package/dist/http/common/index.d.ts.map +1 -1
- package/dist/http/common/index.js +2 -2
- package/dist/http/common/index.js.map +1 -1
- package/dist/http/common/request.d.ts +9 -0
- package/dist/http/common/request.d.ts.map +1 -0
- package/dist/http/common/request.js +3 -0
- package/dist/http/common/request.js.map +1 -0
- package/dist/http/common/response.d.ts +24 -0
- package/dist/http/common/response.d.ts.map +1 -0
- package/dist/http/common/response.js +3 -0
- package/dist/http/common/response.js.map +1 -0
- package/dist/http/customer/admin/customer.d.ts +5 -26
- package/dist/http/customer/admin/customer.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -6
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts +1 -7
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -3
- package/dist/http/fulfillment/admin/geo-zone.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +0 -9
- package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -3
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -3
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +2 -14
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +3 -9
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
- package/dist/http/index.d.ts +6 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +6 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/inventory-level.d.ts +2 -8
- package/dist/http/inventory/inventory-level.d.ts.map +1 -1
- package/dist/http/inventory/inventory.d.ts +2 -8
- package/dist/http/inventory/inventory.d.ts.map +1 -1
- package/dist/http/order/admin.d.ts +4 -0
- package/dist/http/order/admin.d.ts.map +1 -0
- package/dist/http/order/admin.js +3 -0
- package/dist/http/order/admin.js.map +1 -0
- package/dist/http/order/{admin/index.d.ts → common.d.ts} +30 -96
- package/dist/http/order/common.d.ts.map +1 -0
- package/dist/http/order/common.js +3 -0
- package/dist/http/order/common.js.map +1 -0
- package/dist/http/order/index.d.ts +1 -0
- package/dist/http/order/index.d.ts.map +1 -1
- package/dist/http/order/index.js +1 -0
- package/dist/http/order/index.js.map +1 -1
- package/dist/http/order/store.d.ts +4 -0
- package/dist/http/order/store.d.ts.map +1 -0
- package/dist/http/order/store.js +3 -0
- package/dist/http/order/store.js.map +1 -0
- package/dist/http/payment/admin.d.ts +16 -0
- package/dist/http/payment/admin.d.ts.map +1 -0
- package/dist/http/payment/admin.js +3 -0
- package/dist/http/payment/admin.js.map +1 -0
- package/dist/http/payment/common.d.ts +339 -0
- package/dist/http/payment/common.d.ts.map +1 -0
- package/dist/http/payment/common.js +3 -0
- package/dist/http/payment/common.js.map +1 -0
- package/dist/http/payment/index.d.ts +3 -0
- package/dist/http/payment/index.d.ts.map +1 -0
- package/dist/http/payment/index.js +19 -0
- package/dist/http/payment/index.js.map +1 -0
- package/dist/http/payment/store.d.ts +14 -0
- package/dist/http/payment/store.d.ts.map +1 -0
- package/dist/http/payment/store.js +3 -0
- package/dist/http/payment/store.js.map +1 -0
- package/dist/http/product/admin.d.ts +33 -0
- package/dist/http/product/admin.d.ts.map +1 -0
- package/dist/http/product/admin.js +3 -0
- package/dist/http/product/admin.js.map +1 -0
- package/dist/http/product/common.d.ts +176 -0
- package/dist/http/product/common.d.ts.map +1 -0
- package/dist/http/product/common.js +3 -0
- package/dist/http/product/common.js.map +1 -0
- package/dist/http/product/index.d.ts +3 -0
- package/dist/http/product/index.d.ts.map +1 -0
- package/dist/http/product/index.js +19 -0
- package/dist/http/product/index.js.map +1 -0
- package/dist/http/product/store.d.ts +30 -0
- package/dist/http/product/store.d.ts.map +1 -0
- package/dist/http/product/store.js +3 -0
- package/dist/http/product/store.js.map +1 -0
- package/dist/http/product-category/admin.d.ts +3 -9
- package/dist/http/product-category/admin.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +0 -3
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store.d.ts +3 -9
- package/dist/http/product-category/store.d.ts.map +1 -1
- package/dist/http/promotion/admin/promotion-rule.d.ts +0 -6
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +0 -6
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
- package/dist/http/promotion/admin/rule-operator-options.d.ts +0 -6
- package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -1
- package/dist/http/region/admin.d.ts +26 -0
- package/dist/http/region/admin.d.ts.map +1 -0
- package/dist/http/region/admin.js +3 -0
- package/dist/http/region/admin.js.map +1 -0
- package/dist/http/region/common.d.ts +39 -0
- package/dist/http/region/common.d.ts.map +1 -0
- package/dist/http/region/common.js +3 -0
- package/dist/http/region/common.js.map +1 -0
- package/dist/http/region/index.d.ts +3 -0
- package/dist/http/region/index.d.ts.map +1 -0
- package/dist/http/region/index.js +19 -0
- package/dist/http/region/index.js.map +1 -0
- package/dist/http/region/store.d.ts +10 -0
- package/dist/http/region/store.d.ts.map +1 -0
- package/dist/http/region/store.js +3 -0
- package/dist/http/region/store.js.map +1 -0
- package/dist/http/reservation/admin/reservation.d.ts +3 -12
- package/dist/http/reservation/admin/reservation.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/sales-channel.d.ts +2 -11
- package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -1
- package/dist/http/tax/admin/tax-rates.d.ts +3 -12
- package/dist/http/tax/admin/tax-rates.d.ts.map +1 -1
- package/dist/http/tax/admin/tax-regions.d.ts +3 -12
- package/dist/http/tax/admin/tax-regions.d.ts.map +1 -1
- package/dist/order/common.d.ts +6 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/service.d.ts +4 -0
- package/dist/order/service.d.ts.map +1 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +1 -0
- package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/common/deleted-response.d.ts +0 -18
- package/dist/http/common/deleted-response.d.ts.map +0 -1
- package/dist/http/common/deleted-response.js.map +0 -1
- package/dist/http/common/paginated-response.d.ts +0 -6
- package/dist/http/common/paginated-response.d.ts.map +0 -1
- package/dist/http/common/paginated-response.js.map +0 -1
- package/dist/http/order/admin/index.d.ts.map +0 -1
- package/dist/http/order/admin/index.js.map +0 -1
@@ -0,0 +1,45 @@
|
|
1
|
+
import { BaseCart, BaseCartAddress, BaseCartLineItem, BaseCartShippingMethod } from "./common";
|
2
|
+
export interface StoreCart extends BaseCart {
|
3
|
+
}
|
4
|
+
export interface StoreCartLineItem extends BaseCartLineItem {
|
5
|
+
}
|
6
|
+
export interface StoreCartAddress extends BaseCartAddress {
|
7
|
+
}
|
8
|
+
export interface StoreCartShippingMethod extends BaseCartShippingMethod {
|
9
|
+
}
|
10
|
+
export interface StoreCreateCart {
|
11
|
+
region_id?: string;
|
12
|
+
shipping_address?: StoreCartAddress;
|
13
|
+
billing_address?: StoreCartAddress;
|
14
|
+
email?: string;
|
15
|
+
currency_code?: string;
|
16
|
+
items?: StoreCartLineItem[];
|
17
|
+
sales_channel_id?: string;
|
18
|
+
metadata?: Record<string, unknown>;
|
19
|
+
}
|
20
|
+
export interface StoreUpdateCart {
|
21
|
+
region_id?: string;
|
22
|
+
shipping_address?: StoreCartAddress;
|
23
|
+
billing_address?: StoreCartAddress;
|
24
|
+
email?: string;
|
25
|
+
sales_channel_id?: string;
|
26
|
+
metadata?: Record<string, unknown>;
|
27
|
+
promo_codes?: string[];
|
28
|
+
}
|
29
|
+
export interface StoreAddCartLineItem {
|
30
|
+
variant_id: string;
|
31
|
+
quantity: number;
|
32
|
+
metadata?: Record<string, unknown>;
|
33
|
+
}
|
34
|
+
export interface StoreUpdateCartLineItem {
|
35
|
+
quantity: number;
|
36
|
+
metadata?: Record<string, unknown>;
|
37
|
+
}
|
38
|
+
export interface StoreAddCartShippingMethods {
|
39
|
+
option_id: string;
|
40
|
+
data?: Record<string, unknown>;
|
41
|
+
}
|
42
|
+
export interface StoreCompleteCart {
|
43
|
+
idempotency_key?: string;
|
44
|
+
}
|
45
|
+
//# sourceMappingURL=store.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/cart/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,SAAU,SAAQ,QAAQ;CAAG;AAC9C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAE1E,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/cart/store.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { BaseProductCollection, BaseProductCollectionFilters } from "./common";
|
2
|
+
export interface AdminCollection extends BaseProductCollection {
|
3
|
+
}
|
4
|
+
export interface AdminCollectionFilters extends BaseProductCollectionFilters {
|
5
|
+
}
|
6
|
+
//# sourceMappingURL=admin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/collection/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAE9E,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;CAAG;AACjE,MAAM,WAAW,sBAAuB,SAAQ,4BAA4B;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/collection/admin.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { BaseFilterable } from "../../dal";
|
2
|
+
import { BaseProduct } from "../product/common";
|
3
|
+
export interface BaseProductCollection {
|
4
|
+
id?: string;
|
5
|
+
title?: string;
|
6
|
+
handle?: string;
|
7
|
+
created_at?: string;
|
8
|
+
updated_at?: string;
|
9
|
+
deleted_at?: string | null;
|
10
|
+
products?: BaseProduct[];
|
11
|
+
metadata?: Record<string, unknown> | null;
|
12
|
+
}
|
13
|
+
export interface BaseProductCollectionFilters extends BaseFilterable<BaseProductCollectionFilters> {
|
14
|
+
q?: string;
|
15
|
+
id?: string | string[];
|
16
|
+
handle?: string | string[];
|
17
|
+
title?: string | string[];
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/collection/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAe,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,4BAA4B,CAAC;IACpD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/collection/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/collection/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./admin"), exports);
|
18
|
+
__exportStar(require("./store"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/collection/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { BaseProductCollection, BaseProductCollectionFilters } from "./common";
|
2
|
+
export interface StoreCollection extends BaseProductCollection {
|
3
|
+
}
|
4
|
+
export interface StoreCollectionFilters extends BaseProductCollectionFilters {
|
5
|
+
}
|
6
|
+
//# sourceMappingURL=store.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/collection/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAE9E,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;CAAG;AACjE,MAAM,WAAW,sBAAuB,SAAQ,4BAA4B;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/collection/store.ts"],"names":[],"mappings":""}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from "./
|
2
|
-
export * from "./
|
1
|
+
export * from "./request";
|
2
|
+
export * from "./response";
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
18
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./request"), exports);
|
18
|
+
__exportStar(require("./response"), exports);
|
19
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/http/common/request.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/http/common/request.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export type DeleteResponse<TObject extends string, TParent = {}> = {
|
2
|
+
/**
|
3
|
+
* The ID of the item that was deleted.
|
4
|
+
*/
|
5
|
+
id: string;
|
6
|
+
/**
|
7
|
+
* The type of the item that was deleted.
|
8
|
+
*/
|
9
|
+
object: TObject;
|
10
|
+
/**
|
11
|
+
* Whether the item was deleted successfully.
|
12
|
+
*/
|
13
|
+
deleted: boolean;
|
14
|
+
/**
|
15
|
+
* The parent resource of the item that was deleted, if applicable.
|
16
|
+
*/
|
17
|
+
parent?: TParent;
|
18
|
+
};
|
19
|
+
export type PaginatedResponse<T> = {
|
20
|
+
limit: number;
|
21
|
+
offset: number;
|
22
|
+
count: number;
|
23
|
+
} & T;
|
24
|
+
//# sourceMappingURL=response.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IAAI;IACjE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":""}
|
@@ -1,7 +1,4 @@
|
|
1
|
-
import { PaginatedResponse } from "
|
2
|
-
/**
|
3
|
-
* @experimental
|
4
|
-
*/
|
1
|
+
import { PaginatedResponse } from "../../common";
|
5
2
|
export interface CustomerGroupResponse {
|
6
3
|
id: string;
|
7
4
|
name: string | null;
|
@@ -10,9 +7,6 @@ export interface CustomerGroupResponse {
|
|
10
7
|
created_at: string;
|
11
8
|
updated_at: string;
|
12
9
|
}
|
13
|
-
/**
|
14
|
-
* @experimental
|
15
|
-
*/
|
16
10
|
export interface CustomerAddressResponse {
|
17
11
|
id: string;
|
18
12
|
address_name: string | null;
|
@@ -33,9 +27,6 @@ export interface CustomerAddressResponse {
|
|
33
27
|
created_at: string;
|
34
28
|
updated_at: string;
|
35
29
|
}
|
36
|
-
/**
|
37
|
-
* @experimental
|
38
|
-
*/
|
39
30
|
interface CustomerResponse {
|
40
31
|
id: string;
|
41
32
|
email: string;
|
@@ -54,29 +45,17 @@ interface CustomerResponse {
|
|
54
45
|
created_at?: Date | string;
|
55
46
|
updated_at?: Date | string;
|
56
47
|
}
|
57
|
-
/**
|
58
|
-
* @experimental
|
59
|
-
*/
|
60
48
|
export interface AdminCustomerResponse {
|
61
49
|
customer: CustomerResponse;
|
62
50
|
}
|
63
|
-
|
64
|
-
* @experimental
|
65
|
-
*/
|
66
|
-
export interface AdminCustomerListResponse extends PaginatedResponse {
|
51
|
+
export type AdminCustomerListResponse = PaginatedResponse<{
|
67
52
|
customers: CustomerResponse[];
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* @experimental
|
71
|
-
*/
|
53
|
+
}>;
|
72
54
|
export interface AdminCustomerGroupResponse {
|
73
55
|
customer_group: CustomerGroupResponse;
|
74
56
|
}
|
75
|
-
|
76
|
-
* @experimental
|
77
|
-
*/
|
78
|
-
export interface AdminCustomerGroupListResponse extends PaginatedResponse {
|
57
|
+
export type AdminCustomerGroupListResponse = PaginatedResponse<{
|
79
58
|
customer_groups: CustomerGroupResponse[];
|
80
|
-
}
|
59
|
+
}>;
|
81
60
|
export {};
|
82
61
|
//# sourceMappingURL=customer.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,gBAAgB,EAAE,CAAA;IAC7B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,EAAE,OAAO,CAAA;IAC5B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAA;IACzC,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,uBAAuB,EAAE,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,MAAM,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-address.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-address.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"fulfillment-address.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-address.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-item.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-item.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-label.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-label.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-provider.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-provider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1,7 +1,4 @@
|
|
1
1
|
import { ServiceZoneResponse } from "./service-zone";
|
2
|
-
/**
|
3
|
-
* @experimental
|
4
|
-
*/
|
5
2
|
export interface FulfillmentSetResponse {
|
6
3
|
id: string;
|
7
4
|
name: string;
|
@@ -12,9 +9,6 @@ export interface FulfillmentSetResponse {
|
|
12
9
|
updated_at: Date;
|
13
10
|
deleted_at: Date | null;
|
14
11
|
}
|
15
|
-
/**
|
16
|
-
* @experimental
|
17
|
-
*/
|
18
12
|
export interface AdminFulfillmentSetResponse {
|
19
13
|
fulfillment_set: FulfillmentSetResponse;
|
20
14
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEpD
|
1
|
+
{"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEpD,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,mBAAmB,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,sBAAsB,CAAA;CACxC"}
|
@@ -1,11 +1,8 @@
|
|
1
|
-
import { DeleteResponse } from "
|
1
|
+
import { DeleteResponse } from "../../common";
|
2
2
|
import { AdminFulfillmentAddressResponse } from "./fulfillment-address";
|
3
3
|
import { AdminFulfillmentItemResponse } from "./fulfillment-item";
|
4
4
|
import { AdminFulfillmentLabelResponse } from "./fulfillment-label";
|
5
5
|
import { AdminFulfillmentProviderResponse } from "./fulfillment-provider";
|
6
|
-
/**
|
7
|
-
* @experimental
|
8
|
-
*/
|
9
6
|
export interface AdminFulfillmentResponse {
|
10
7
|
id: string;
|
11
8
|
location_id: string;
|
@@ -25,9 +22,6 @@ export interface AdminFulfillmentResponse {
|
|
25
22
|
updated_at: Date;
|
26
23
|
deleted_at: Date | null;
|
27
24
|
}
|
28
|
-
/**
|
29
|
-
* @experimental
|
30
|
-
*/
|
31
25
|
export interface AdminFulfillmentSetsDeleteResponse extends DeleteResponse<"fulfillment_set"> {
|
32
26
|
}
|
33
27
|
//# sourceMappingURL=fulfillment.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"fulfillment.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AAEzE,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IACzB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,gBAAgB,EAAE,+BAA+B,CAAA;IACjD,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,MAAM,EAAE,6BAA6B,EAAE,CAAA;IACvC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,kCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAElD
|
1
|
+
{"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAElD,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACjD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1,23 +1,14 @@
|
|
1
1
|
import { FulfillmentSetResponse } from "./fulfillment-set";
|
2
2
|
import { AdminGeoZoneResponse } from "./geo-zone";
|
3
|
-
/**
|
4
|
-
* @experimental
|
5
|
-
*/
|
6
3
|
export interface AdminServiceZoneResponse {
|
7
4
|
service_zone: ServiceZoneResponse;
|
8
5
|
}
|
9
|
-
/**
|
10
|
-
* @experimental
|
11
|
-
*/
|
12
6
|
export interface AdminServiceZoneDeleteResponse {
|
13
7
|
id: string;
|
14
8
|
object: "service-zone";
|
15
9
|
deleted: boolean;
|
16
10
|
parent: FulfillmentSetResponse;
|
17
11
|
}
|
18
|
-
/**
|
19
|
-
* @experimental
|
20
|
-
*/
|
21
12
|
export interface ServiceZoneResponse {
|
22
13
|
id: string;
|
23
14
|
name: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/service-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD
|
1
|
+
{"version":3,"file":"service-zone.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/service-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,mBAAmB,CAAA;CAClC;AAED,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,sBAAsB,CAAA;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,SAAS,EAAE,oBAAoB,EAAE,CAAA;IACjC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-option-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-rule.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"shipping-option-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-rule.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAA;IAC1C,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-option-type.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-type.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"shipping-option-type.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option-type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -6,9 +6,6 @@ import { AdminShippingProfileResponse } from "./shipping-profile";
|
|
6
6
|
import { AdminFulfillmentProviderResponse } from "./fulfillment-provider";
|
7
7
|
import { AdminPriceSetPriceResponse } from "../../pricing";
|
8
8
|
import { DeleteResponse, PaginatedResponse } from "../../common";
|
9
|
-
/**
|
10
|
-
* @experimental
|
11
|
-
*/
|
12
9
|
interface AdminShippingOptionResponse {
|
13
10
|
id: string;
|
14
11
|
name: string;
|
@@ -29,21 +26,12 @@ interface AdminShippingOptionResponse {
|
|
29
26
|
updated_at: Date;
|
30
27
|
deleted_at: Date | null;
|
31
28
|
}
|
32
|
-
/**
|
33
|
-
* @experimental
|
34
|
-
*/
|
35
29
|
export interface AdminShippingOptionRetrieveResponse {
|
36
30
|
shipping_option: AdminShippingOptionResponse;
|
37
31
|
}
|
38
|
-
|
39
|
-
* @experimental
|
40
|
-
*/
|
41
|
-
export interface AdminShippingOptionListResponse extends PaginatedResponse {
|
32
|
+
export type AdminShippingOptionListResponse = PaginatedResponse<{
|
42
33
|
shipping_options: AdminShippingOptionResponse[];
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* @experimental
|
46
|
-
*/
|
34
|
+
}>;
|
47
35
|
export interface AdminShippingOptionDeleteResponse extends DeleteResponse<"shipping_option"> {
|
48
36
|
}
|
49
37
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE
|
1
|
+
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,UAAU,2BAA2B;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,YAAY,EAAE,wBAAwB,CAAA;IACtC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,IAAI,EAAE,+BAA+B,CAAA;IACrC,KAAK,EAAE,+BAA+B,EAAE,CAAA;IACxC,MAAM,EAAE,0BAA0B,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,2BAA2B,CAAA;CAC7C;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,2BAA2B,EAAE,CAAA;CAChD,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
|
@@ -1,7 +1,4 @@
|
|
1
|
-
import { DeleteResponse, PaginatedResponse } from "
|
2
|
-
/**
|
3
|
-
* @experimental
|
4
|
-
*/
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
5
2
|
export interface ShippingProfileResponse {
|
6
3
|
id: string;
|
7
4
|
name: string;
|
@@ -14,12 +11,9 @@ export interface ShippingProfileResponse {
|
|
14
11
|
export interface AdminShippingProfileResponse {
|
15
12
|
shipping_profile: ShippingProfileResponse;
|
16
13
|
}
|
17
|
-
export
|
14
|
+
export type AdminShippingProfilesResponse = PaginatedResponse<{
|
18
15
|
shipping_profiles: ShippingProfileResponse[];
|
19
|
-
}
|
20
|
-
/**
|
21
|
-
* @experimental
|
22
|
-
*/
|
16
|
+
}>;
|
23
17
|
export interface AdminShippingProfileDeleteResponse extends DeleteResponse<"shipping_profile"> {
|
24
18
|
}
|
25
19
|
//# sourceMappingURL=shipping-profile.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC5D,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C,CAAC,CAAA;AAEF,MAAM,WAAW,kCACf,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
|
package/dist/http/index.d.ts
CHANGED
@@ -12,4 +12,10 @@ export * from "./stock-locations";
|
|
12
12
|
export * from "./tax";
|
13
13
|
export * from "./product-category";
|
14
14
|
export * from "./reservation";
|
15
|
+
export * from "./region";
|
16
|
+
export * from "./product";
|
17
|
+
export * from "./cart";
|
18
|
+
export * from "./payment";
|
19
|
+
export * from "./collection";
|
20
|
+
export * from "./common";
|
15
21
|
//# sourceMappingURL=index.d.ts.map
|