@mercurjs/types 2.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commission/common.d.ts +127 -0
- package/dist/commission/common.d.ts.map +1 -0
- package/dist/commission/common.js +13 -0
- package/dist/commission/index.d.ts +3 -0
- package/dist/commission/index.d.ts.map +1 -0
- package/dist/commission/index.js +18 -0
- package/dist/commission/mutations.d.ts +36 -0
- package/dist/commission/mutations.d.ts.map +1 -0
- package/dist/commission/mutations.js +2 -0
- package/dist/http/campaign.d.ts +10 -0
- package/dist/http/campaign.d.ts.map +1 -0
- package/dist/http/campaign.js +2 -0
- package/dist/http/collection.d.ts +14 -0
- package/dist/http/collection.d.ts.map +1 -0
- package/dist/http/collection.js +2 -0
- package/dist/http/commission.d.ts +15 -0
- package/dist/http/commission.d.ts.map +1 -0
- package/dist/http/commission.js +2 -0
- package/dist/http/currency.d.ts +9 -0
- package/dist/http/currency.d.ts.map +1 -0
- package/dist/http/currency.js +2 -0
- package/dist/http/customer.d.ts +14 -0
- package/dist/http/customer.d.ts.map +1 -0
- package/dist/http/customer.js +2 -0
- package/dist/http/fulfillment-set.d.ts +28 -0
- package/dist/http/fulfillment-set.d.ts.map +1 -0
- package/dist/http/fulfillment-set.js +2 -0
- package/dist/http/index.d.ts +31 -0
- package/dist/http/index.d.ts.map +1 -0
- package/dist/http/index.js +47 -0
- package/dist/http/inventory-item.d.ts +25 -0
- package/dist/http/inventory-item.d.ts.map +1 -0
- package/dist/http/inventory-item.js +2 -0
- package/dist/http/order-group.d.ts +53 -0
- package/dist/http/order-group.d.ts.map +1 -0
- package/dist/http/order-group.js +2 -0
- package/dist/http/order.d.ts +32 -0
- package/dist/http/order.d.ts.map +1 -0
- package/dist/http/order.js +2 -0
- package/dist/http/payment.d.ts +20 -0
- package/dist/http/payment.d.ts.map +1 -0
- package/dist/http/payment.js +2 -0
- package/dist/http/payout.d.ts +30 -0
- package/dist/http/payout.d.ts.map +1 -0
- package/dist/http/payout.js +2 -0
- package/dist/http/price-list.d.ts +22 -0
- package/dist/http/price-list.d.ts.map +1 -0
- package/dist/http/price-list.js +2 -0
- package/dist/http/price-preference.d.ts +14 -0
- package/dist/http/price-preference.d.ts.map +1 -0
- package/dist/http/price-preference.js +2 -0
- package/dist/http/product-category.d.ts +20 -0
- package/dist/http/product-category.d.ts.map +1 -0
- package/dist/http/product-category.js +2 -0
- package/dist/http/product-tag.d.ts +14 -0
- package/dist/http/product-tag.d.ts.map +1 -0
- package/dist/http/product-tag.js +2 -0
- package/dist/http/product-type.d.ts +14 -0
- package/dist/http/product-type.d.ts.map +1 -0
- package/dist/http/product-type.js +2 -0
- package/dist/http/product.d.ts +40 -0
- package/dist/http/product.d.ts.map +1 -0
- package/dist/http/product.js +2 -0
- package/dist/http/promotion.d.ts +45 -0
- package/dist/http/promotion.d.ts.map +1 -0
- package/dist/http/promotion.js +2 -0
- package/dist/http/refund-reason.d.ts +14 -0
- package/dist/http/refund-reason.d.ts.map +1 -0
- package/dist/http/refund-reason.js +2 -0
- package/dist/http/return-reason.d.ts +14 -0
- package/dist/http/return-reason.d.ts.map +1 -0
- package/dist/http/return-reason.js +2 -0
- package/dist/http/return.d.ts +35 -0
- package/dist/http/return.d.ts.map +1 -0
- package/dist/http/return.js +2 -0
- package/dist/http/sales-channel.d.ts +14 -0
- package/dist/http/sales-channel.d.ts.map +1 -0
- package/dist/http/sales-channel.js +2 -0
- package/dist/http/seller.d.ts +34 -0
- package/dist/http/seller.d.ts.map +1 -0
- package/dist/http/seller.js +2 -0
- package/dist/http/shipping-option-type.d.ts +14 -0
- package/dist/http/shipping-option-type.d.ts.map +1 -0
- package/dist/http/shipping-option-type.js +2 -0
- package/dist/http/shipping-option.d.ts +39 -0
- package/dist/http/shipping-option.d.ts.map +1 -0
- package/dist/http/shipping-option.js +2 -0
- package/dist/http/shipping-profile.d.ts +15 -0
- package/dist/http/shipping-profile.d.ts.map +1 -0
- package/dist/http/shipping-profile.js +2 -0
- package/dist/http/stock-location.d.ts +14 -0
- package/dist/http/stock-location.d.ts.map +1 -0
- package/dist/http/stock-location.js +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +52 -0
- package/dist/modules.d.ts +6 -0
- package/dist/modules.d.ts.map +1 -0
- package/dist/modules.js +9 -0
- package/dist/order-group/common.d.ts +11 -0
- package/dist/order-group/common.d.ts.map +1 -0
- package/dist/order-group/common.js +2 -0
- package/dist/order-group/index.d.ts +3 -0
- package/dist/order-group/index.d.ts.map +1 -0
- package/dist/order-group/index.js +18 -0
- package/dist/order-group/mutation.d.ts +10 -0
- package/dist/order-group/mutation.d.ts.map +1 -0
- package/dist/order-group/mutation.js +2 -0
- package/dist/payout/common.d.ts +80 -0
- package/dist/payout/common.d.ts.map +1 -0
- package/dist/payout/common.js +30 -0
- package/dist/payout/index.d.ts +4 -0
- package/dist/payout/index.d.ts.map +1 -0
- package/dist/payout/index.js +19 -0
- package/dist/payout/mutations.d.ts +34 -0
- package/dist/payout/mutations.d.ts.map +1 -0
- package/dist/payout/mutations.js +2 -0
- package/dist/payout/provider.d.ts +48 -0
- package/dist/payout/provider.d.ts.map +1 -0
- package/dist/payout/provider.js +2 -0
- package/dist/seller/common.d.ts +25 -0
- package/dist/seller/common.d.ts.map +1 -0
- package/dist/seller/common.js +9 -0
- package/dist/seller/index.d.ts +3 -0
- package/dist/seller/index.d.ts.map +1 -0
- package/dist/seller/index.js +18 -0
- package/dist/seller/mutation.d.ts +33 -0
- package/dist/seller/mutation.d.ts.map +1 -0
- package/dist/seller/mutation.js +2 -0
- package/package.json +36 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PaginatedResponse } from "@medusajs/types";
|
|
2
|
+
import { OnboardingDTO, PayoutAccountDTO, PayoutDTO } from "../payout";
|
|
3
|
+
export interface VendorPayoutAccountResponse {
|
|
4
|
+
payout_account: PayoutAccountDTO;
|
|
5
|
+
}
|
|
6
|
+
export type VendorPayoutAccountListResponse = PaginatedResponse<{
|
|
7
|
+
payout_accounts: PayoutAccountDTO[];
|
|
8
|
+
}>;
|
|
9
|
+
export interface VendorOnboardingResponse {
|
|
10
|
+
onboarding: OnboardingDTO;
|
|
11
|
+
}
|
|
12
|
+
export interface VendorPayoutResponse {
|
|
13
|
+
payout: PayoutDTO;
|
|
14
|
+
}
|
|
15
|
+
export type VendorPayoutListResponse = PaginatedResponse<{
|
|
16
|
+
payouts: PayoutDTO[];
|
|
17
|
+
}>;
|
|
18
|
+
export interface AdminPayoutResponse {
|
|
19
|
+
payout: PayoutDTO;
|
|
20
|
+
}
|
|
21
|
+
export type AdminPayoutListResponse = PaginatedResponse<{
|
|
22
|
+
payouts: PayoutDTO[];
|
|
23
|
+
}>;
|
|
24
|
+
export interface AdminPayoutAccountResponse {
|
|
25
|
+
payout_account: PayoutAccountDTO;
|
|
26
|
+
}
|
|
27
|
+
export type AdminPayoutAccountListResponse = PaginatedResponse<{
|
|
28
|
+
payout_accounts: PayoutAccountDTO[];
|
|
29
|
+
}>;
|
|
30
|
+
//# sourceMappingURL=payout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout.d.ts","sourceRoot":"","sources":["../../src/http/payout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAEtE,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,gBAAgB,CAAA;CACjC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,eAAe,EAAE,gBAAgB,EAAE,CAAA;CACpC,CAAC,CAAA;AAEF,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,aAAa,CAAA;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,OAAO,EAAE,SAAS,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,SAAS,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,gBAAgB,CAAA;CACjC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,gBAAgB,EAAE,CAAA;CACpC,CAAC,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaginatedResponse, PriceListDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorPriceListResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The price list's details.
|
|
5
|
+
*/
|
|
6
|
+
price_list: PriceListDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorPriceListListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of price lists.
|
|
11
|
+
*/
|
|
12
|
+
price_lists: PriceListDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
export type VendorPriceListPricesResponse = PaginatedResponse<{
|
|
15
|
+
prices: Record<string, unknown>[];
|
|
16
|
+
}>;
|
|
17
|
+
export interface VendorPriceListBatchResponse {
|
|
18
|
+
created: Record<string, unknown>[];
|
|
19
|
+
updated: Record<string, unknown>[];
|
|
20
|
+
deleted: Record<string, unknown>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=price-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"price-list.d.ts","sourceRoot":"","sources":["../../src/http/price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEjE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,UAAU,EAAE,YAAY,CAAA;CACzB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D;;OAEG;IACH,WAAW,EAAE,YAAY,EAAE,CAAA;CAC5B,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;CAClC,CAAC,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACjC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, PricePreferenceDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorPricePreferenceResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The price preference's details.
|
|
5
|
+
*/
|
|
6
|
+
price_preference: PricePreferenceDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorPricePreferenceListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of price preferences.
|
|
11
|
+
*/
|
|
12
|
+
price_preferences: PricePreferenceDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=price-preference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"price-preference.d.ts","sourceRoot":"","sources":["../../src/http/price-preference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEvE,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,gBAAgB,EAAE,kBAAkB,CAAA;CACrC;AAED,MAAM,MAAM,iCAAiC,GAAG,iBAAiB,CAAC;IAChE;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,EAAE,CAAA;CACxC,CAAC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PaginatedResponse, ProductCategoryDTO, ProductDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorProductCategoryResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The product category's details.
|
|
5
|
+
*/
|
|
6
|
+
product_category: ProductCategoryDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorProductCategoryListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of product categories.
|
|
11
|
+
*/
|
|
12
|
+
product_categories: ProductCategoryDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
export type VendorProductCategoryProductsResponse = PaginatedResponse<{
|
|
15
|
+
/**
|
|
16
|
+
* The list of products in the category.
|
|
17
|
+
*/
|
|
18
|
+
products: ProductDTO[];
|
|
19
|
+
}>;
|
|
20
|
+
//# sourceMappingURL=product-category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-category.d.ts","sourceRoot":"","sources":["../../src/http/product-category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEnF,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,gBAAgB,EAAE,kBAAkB,CAAA;CACrC;AAED,MAAM,MAAM,iCAAiC,GAAG,iBAAiB,CAAC;IAChE;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,EAAE,CAAA;CACzC,CAAC,CAAA;AAEF,MAAM,MAAM,qCAAqC,GAAG,iBAAiB,CAAC;IACpE;;OAEG;IACH,QAAQ,EAAE,UAAU,EAAE,CAAA;CACvB,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, ProductTagDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorProductTagResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The product tag's details.
|
|
5
|
+
*/
|
|
6
|
+
product_tag: ProductTagDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorProductTagListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of product tags.
|
|
11
|
+
*/
|
|
12
|
+
product_tags: ProductTagDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=product-tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-tag.d.ts","sourceRoot":"","sources":["../../src/http/product-tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAElE,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,aAAa,CAAA;CAC3B;AAED,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC3D;;OAEG;IACH,YAAY,EAAE,aAAa,EAAE,CAAA;CAC9B,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, ProductTypeDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorProductTypeResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The product type's details.
|
|
5
|
+
*/
|
|
6
|
+
product_type: ProductTypeDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorProductTypeListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of product types.
|
|
11
|
+
*/
|
|
12
|
+
product_types: ProductTypeDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=product-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-type.d.ts","sourceRoot":"","sources":["../../src/http/product-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEnE,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,YAAY,EAAE,cAAc,CAAA;CAC7B;AAED,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC5D;;OAEG;IACH,aAAa,EAAE,cAAc,EAAE,CAAA;CAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PaginatedResponse, ProductDTO, ProductVariantDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorProductResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The product's details.
|
|
5
|
+
*/
|
|
6
|
+
product: ProductDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorProductListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of products.
|
|
11
|
+
*/
|
|
12
|
+
products: ProductDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
export interface VendorProductVariantResponse {
|
|
15
|
+
/**
|
|
16
|
+
* The product variant's details.
|
|
17
|
+
*/
|
|
18
|
+
variant: ProductVariantDTO;
|
|
19
|
+
}
|
|
20
|
+
export type VendorProductVariantListResponse = PaginatedResponse<{
|
|
21
|
+
/**
|
|
22
|
+
* The list of product variants.
|
|
23
|
+
*/
|
|
24
|
+
variants: ProductVariantDTO[];
|
|
25
|
+
}>;
|
|
26
|
+
export interface VendorDeleteResponse {
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the deleted resource.
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* The type of the deleted resource.
|
|
33
|
+
*/
|
|
34
|
+
object: string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the resource was deleted.
|
|
37
|
+
*/
|
|
38
|
+
deleted: boolean;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/http/product.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EAClB,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,UAAU,CAAA;CACpB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD;;OAEG;IACH,QAAQ,EAAE,UAAU,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D;;OAEG;IACH,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DeleteResponse, PaginatedResponse, PromotionDTO, PromotionRuleDTO } from "@medusajs/types";
|
|
2
|
+
export type VendorPromotion = PromotionDTO;
|
|
3
|
+
export type VendorPromotionRule = PromotionRuleDTO;
|
|
4
|
+
export type VendorPromotionResponse = {
|
|
5
|
+
promotion: VendorPromotion;
|
|
6
|
+
};
|
|
7
|
+
export type VendorPromotionListResponse = PaginatedResponse<{
|
|
8
|
+
promotions: VendorPromotion[];
|
|
9
|
+
}>;
|
|
10
|
+
export type VendorPromotionDeleteResponse = DeleteResponse<"promotion">;
|
|
11
|
+
export type VendorPromotionRuleListResponse = {
|
|
12
|
+
rules: VendorPromotionRule[];
|
|
13
|
+
};
|
|
14
|
+
export type VendorPromotionRuleBatchResponse = {
|
|
15
|
+
created: VendorPromotionRule[];
|
|
16
|
+
updated: VendorPromotionRule[];
|
|
17
|
+
deleted: {
|
|
18
|
+
ids: string[];
|
|
19
|
+
object: string;
|
|
20
|
+
deleted: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type VendorRuleAttributeOption = {
|
|
24
|
+
id: string;
|
|
25
|
+
value: string;
|
|
26
|
+
label: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
field_type: string;
|
|
29
|
+
operators: {
|
|
30
|
+
id: string;
|
|
31
|
+
value: string;
|
|
32
|
+
label: string;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
export type VendorRuleAttributeOptionsListResponse = {
|
|
36
|
+
attributes: VendorRuleAttributeOption[];
|
|
37
|
+
};
|
|
38
|
+
export type VendorRuleValueOption = {
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
};
|
|
42
|
+
export type VendorRuleValueOptionsListResponse = PaginatedResponse<{
|
|
43
|
+
values: VendorRuleValueOption[];
|
|
44
|
+
}>;
|
|
45
|
+
//# sourceMappingURL=promotion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../src/http/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAEnG,MAAM,MAAM,eAAe,GAAG,YAAY,CAAA;AAE1C,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA;AAEvE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,mBAAmB,EAAE,CAAA;IAC9B,OAAO,EAAE,mBAAmB,EAAE,CAAA;IAC9B,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,MAAM,CAAA;KACd,EAAE,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,sCAAsC,GAAG;IACnD,UAAU,EAAE,yBAAyB,EAAE,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE,MAAM,EAAE,qBAAqB,EAAE,CAAA;CAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, RefundReasonDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorRefundReasonResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The refund reason's details.
|
|
5
|
+
*/
|
|
6
|
+
refund_reason: RefundReasonDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorRefundReasonListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of refund reasons.
|
|
11
|
+
*/
|
|
12
|
+
refund_reasons: RefundReasonDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=refund-reason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refund-reason.d.ts","sourceRoot":"","sources":["../../src/http/refund-reason.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEpE,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D;;OAEG;IACH,cAAc,EAAE,eAAe,EAAE,CAAA;CAClC,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, OrderReturnReasonDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorReturnReasonResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The return reason's details.
|
|
5
|
+
*/
|
|
6
|
+
return_reason: OrderReturnReasonDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorReturnReasonListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of return reasons.
|
|
11
|
+
*/
|
|
12
|
+
return_reasons: OrderReturnReasonDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=return-reason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"return-reason.d.ts","sourceRoot":"","sources":["../../src/http/return-reason.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEzE,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,oBAAoB,CAAA;CACpC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D;;OAEG;IACH,cAAc,EAAE,oBAAoB,EAAE,CAAA;CACvC,CAAC,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DeleteResponse, OrderDTO, OrderPreviewDTO, PaginatedResponse, ReturnDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorReturnResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The return's details.
|
|
5
|
+
*/
|
|
6
|
+
return: ReturnDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorReturnListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of returns.
|
|
11
|
+
*/
|
|
12
|
+
returns: ReturnDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
export interface VendorOrderReturnResponse {
|
|
15
|
+
/**
|
|
16
|
+
* The order's details.
|
|
17
|
+
*/
|
|
18
|
+
order: OrderDTO;
|
|
19
|
+
/**
|
|
20
|
+
* The return's details.
|
|
21
|
+
*/
|
|
22
|
+
return: ReturnDTO;
|
|
23
|
+
}
|
|
24
|
+
export interface VendorReturnPreviewResponse {
|
|
25
|
+
/**
|
|
26
|
+
* The order preview.
|
|
27
|
+
*/
|
|
28
|
+
order_preview: OrderPreviewDTO;
|
|
29
|
+
/**
|
|
30
|
+
* The return's details.
|
|
31
|
+
*/
|
|
32
|
+
return: ReturnDTO;
|
|
33
|
+
}
|
|
34
|
+
export type VendorReturnDeleteResponse = DeleteResponse<"return">;
|
|
35
|
+
//# sourceMappingURL=return.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"return.d.ts","sourceRoot":"","sources":["../../src/http/return.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,SAAS,EACV,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD;;OAEG;IACH,OAAO,EAAE,SAAS,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,aAAa,EAAE,eAAe,CAAA;IAC9B;;OAEG;IACH,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, SalesChannelDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorSalesChannelResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The sales channel's details.
|
|
5
|
+
*/
|
|
6
|
+
sales_channel: SalesChannelDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorSalesChannelListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of sales channels.
|
|
11
|
+
*/
|
|
12
|
+
sales_channels: SalesChannelDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=sales-channel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sales-channel.d.ts","sourceRoot":"","sources":["../../src/http/sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEpE,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D;;OAEG;IACH,cAAc,EAAE,eAAe,EAAE,CAAA;CAClC,CAAC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "@medusajs/types";
|
|
2
|
+
import { SellerDTO } from "../seller";
|
|
3
|
+
export interface VendorSellerResponse {
|
|
4
|
+
/**
|
|
5
|
+
* The seller's details.
|
|
6
|
+
*/
|
|
7
|
+
seller: SellerDTO;
|
|
8
|
+
}
|
|
9
|
+
export type VendorSellerListResponse = PaginatedResponse<{
|
|
10
|
+
/**
|
|
11
|
+
* The list of sellers.
|
|
12
|
+
*/
|
|
13
|
+
sellers: SellerDTO[];
|
|
14
|
+
}>;
|
|
15
|
+
export type VendorSellerDeleteResponse = DeleteResponse<"seller">;
|
|
16
|
+
export interface StoreSellerResponse {
|
|
17
|
+
/**
|
|
18
|
+
* The seller's details.
|
|
19
|
+
*/
|
|
20
|
+
seller: SellerDTO;
|
|
21
|
+
}
|
|
22
|
+
export type StoreSellerListResponse = PaginatedResponse<{
|
|
23
|
+
/**
|
|
24
|
+
* The list of sellers.
|
|
25
|
+
*/
|
|
26
|
+
sellers: SellerDTO[];
|
|
27
|
+
}>;
|
|
28
|
+
export interface AdminSellerResponse {
|
|
29
|
+
seller: SellerDTO;
|
|
30
|
+
}
|
|
31
|
+
export type AdminSellerListResponse = PaginatedResponse<{
|
|
32
|
+
sellers: SellerDTO[];
|
|
33
|
+
}>;
|
|
34
|
+
//# sourceMappingURL=seller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seller.d.ts","sourceRoot":"","sources":["../../src/http/seller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD;;OAEG;IACH,OAAO,EAAE,SAAS,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA;AAEjE,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD;;OAEG;IACH,OAAO,EAAE,SAAS,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,SAAS,EAAE,CAAA;CACrB,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, ShippingOptionTypeDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorShippingOptionTypeResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The shipping option type's details.
|
|
5
|
+
*/
|
|
6
|
+
shipping_option_type: ShippingOptionTypeDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorShippingOptionTypeListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of shipping option types.
|
|
11
|
+
*/
|
|
12
|
+
shipping_option_types: ShippingOptionTypeDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=shipping-option-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipping-option-type.d.ts","sourceRoot":"","sources":["../../src/http/shipping-option-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAE1E,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,oBAAoB,EAAE,qBAAqB,CAAA;CAC5C;AAED,MAAM,MAAM,oCAAoC,GAAG,iBAAiB,CAAC;IACnE;;OAEG;IACH,qBAAqB,EAAE,qBAAqB,EAAE,CAAA;CAC/C,CAAC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DeleteResponse, PaginatedResponse, ShippingOptionDTO, ShippingOptionRuleDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorShippingOptionResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The shipping option's details.
|
|
5
|
+
*/
|
|
6
|
+
shipping_option: ShippingOptionDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorShippingOptionListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of shipping options.
|
|
11
|
+
*/
|
|
12
|
+
shipping_options: ShippingOptionDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
export type VendorShippingOptionDeleteResponse = DeleteResponse<"shipping_option">;
|
|
15
|
+
export interface VendorUpdateShippingOptionRulesResponse {
|
|
16
|
+
/**
|
|
17
|
+
* The created shipping option rules.
|
|
18
|
+
*/
|
|
19
|
+
created: ShippingOptionRuleDTO[];
|
|
20
|
+
/**
|
|
21
|
+
* The updated shipping option rules.
|
|
22
|
+
*/
|
|
23
|
+
updated: ShippingOptionRuleDTO[];
|
|
24
|
+
/**
|
|
25
|
+
* The deleted shipping option rules.
|
|
26
|
+
*/
|
|
27
|
+
deleted: {
|
|
28
|
+
ids: string[];
|
|
29
|
+
object: "shipping_option_rule";
|
|
30
|
+
deleted: boolean;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface StoreSellerShippingOptionsResponse {
|
|
34
|
+
/**
|
|
35
|
+
* The shipping options grouped by seller ID.
|
|
36
|
+
*/
|
|
37
|
+
shipping_options: Record<string, ShippingOptionDTO[]>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=shipping-option.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../src/http/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,eAAe,EAAE,iBAAiB,CAAA;CACnC;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAA;AAElF,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,OAAO,EAAE,qBAAqB,EAAE,CAAA;IAChC;;OAEG;IACH,OAAO,EAAE,qBAAqB,EAAE,CAAA;IAChC;;OAEG;IACH,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,sBAAsB,CAAA;QAC9B,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF;AAED,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAA;CACtD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DeleteResponse, PaginatedResponse, ShippingProfileDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorShippingProfileResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The shipping profile's details.
|
|
5
|
+
*/
|
|
6
|
+
shipping_profile: ShippingProfileDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorShippingProfileListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of shipping profiles.
|
|
11
|
+
*/
|
|
12
|
+
shipping_profiles: ShippingProfileDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
export type VendorShippingProfileDeleteResponse = DeleteResponse<"shipping_profile">;
|
|
15
|
+
//# sourceMappingURL=shipping-profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../src/http/shipping-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,gBAAgB,EAAE,kBAAkB,CAAA;CACrC;AAED,MAAM,MAAM,iCAAiC,GAAG,iBAAiB,CAAC;IAChE;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,EAAE,CAAA;CACxC,CAAC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaginatedResponse, StockLocationDTO } from "@medusajs/types";
|
|
2
|
+
export interface VendorStockLocationResponse {
|
|
3
|
+
/**
|
|
4
|
+
* The stock location's details.
|
|
5
|
+
*/
|
|
6
|
+
stock_location: StockLocationDTO;
|
|
7
|
+
}
|
|
8
|
+
export type VendorStockLocationListResponse = PaginatedResponse<{
|
|
9
|
+
/**
|
|
10
|
+
* The list of stock locations.
|
|
11
|
+
*/
|
|
12
|
+
stock_locations: StockLocationDTO[];
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=stock-location.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stock-location.d.ts","sourceRoot":"","sources":["../../src/http/stock-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAErE,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,cAAc,EAAE,gBAAgB,CAAA;CACjC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D;;OAEG;IACH,eAAe,EAAE,gBAAgB,EAAE,CAAA;CACpC,CAAC,CAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAG/B,cAAc,UAAU,CAAA;AAGxB,cAAc,eAAe,CAAA;AAG7B,cAAc,cAAc,CAAA;AAG5B,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AAGnC,cAAc,UAAU,CAAA;AAGxB,cAAc,WAAW,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.HttpTypes = void 0;
|
|
40
|
+
__exportStar(require("@medusajs/types"), exports);
|
|
41
|
+
// Seller types
|
|
42
|
+
__exportStar(require("./seller"), exports);
|
|
43
|
+
// Order Group types
|
|
44
|
+
__exportStar(require("./order-group"), exports);
|
|
45
|
+
// Commission types
|
|
46
|
+
__exportStar(require("./commission"), exports);
|
|
47
|
+
// HTTP types
|
|
48
|
+
exports.HttpTypes = __importStar(require("./http"));
|
|
49
|
+
// Payout types
|
|
50
|
+
__exportStar(require("./payout"), exports);
|
|
51
|
+
// Modules
|
|
52
|
+
__exportStar(require("./modules"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,MAAM,WAAW;CACpB"}
|