@medusajs/types 1.12.0-snapshot-20240904130551 → 1.12.0-snapshot-20240905140403
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/admin/extensions.d.ts +2 -2
- package/dist/common/batch.d.ts +1 -5
- package/dist/common/batch.d.ts.map +1 -1
- package/dist/common/common.d.ts +9 -59
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +1 -2
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/http/claim/admin/payloads.d.ts +2 -2
- package/dist/http/claim/admin/payloads.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +9 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.d.ts +2 -2
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +2 -1
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/payment/store/queries.d.ts +3 -3
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +4 -5
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +2 -1
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/store/queries.d.ts +1 -1
- package/dist/http/product-category/store/queries.d.ts.map +1 -1
- package/dist/http/promotion/admin/responses.d.ts +2 -3
- package/dist/http/promotion/admin/responses.d.ts.map +1 -1
- package/dist/http/region/admin/queries.d.ts +3 -3
- package/dist/http/region/admin/queries.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +1 -1
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/region/store/queries.d.ts +1 -1
- package/dist/http/region/store/queries.d.ts.map +1 -1
- package/dist/http/return/admin/payloads.d.ts +2 -2
- package/dist/http/return/admin/payloads.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/responses.d.ts +2 -3
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/responses.d.ts +4 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
- package/dist/order/common.d.ts +1 -1
- package/dist/order/common.d.ts.map +1 -1
- package/dist/product/common.d.ts +42 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +221 -1
- package/dist/product/service.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +10 -1
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +22 -7
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/transaction-base/transaction-base.d.ts +0 -2
- package/dist/transaction-base/transaction-base.d.ts.map +1 -1
- package/dist/workflow/order/shipping-method.d.ts +4 -4
- package/dist/workflow/order/shipping-method.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +5 -1
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- package/package.json +1 -1
@@ -9,13 +9,13 @@
|
|
9
9
|
* @example
|
10
10
|
* ```tsx
|
11
11
|
* import type { DetailWidgetProps, AdminProduct } from "@medusajs/types"
|
12
|
-
* import {
|
12
|
+
* import { defineWidgetConfig } from "@medusajs/admin-sdk"
|
13
13
|
*
|
14
14
|
* const ProductWidget = ({ data }: DetailWidgetProps<AdminProduct>) => {
|
15
15
|
* return <div>{data.title}</div>
|
16
16
|
* }
|
17
17
|
*
|
18
|
-
* export const config =
|
18
|
+
* export const config = defineWidgetConfig({
|
19
19
|
* zone: "product.details.after",
|
20
20
|
* })
|
21
21
|
*
|
package/dist/common/batch.d.ts
CHANGED
@@ -15,11 +15,7 @@ export type BatchMethodRequest<TCreate, TUpdate, TDelete = string> = {
|
|
15
15
|
export type BatchMethodResponse<T> = {
|
16
16
|
created: T[];
|
17
17
|
updated: T[];
|
18
|
-
deleted:
|
19
|
-
ids: string[];
|
20
|
-
object: string;
|
21
|
-
deleted: boolean;
|
22
|
-
};
|
18
|
+
deleted: string[];
|
23
19
|
};
|
24
20
|
export type BatchWorkflowInput<TCreate, TUpdate, TDelete = string> = BatchMethodRequest<TCreate, TUpdate, TDelete>;
|
25
21
|
export type BatchWorkflowOutput<T> = BatchMethodResponse<T>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../src/common/batch.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,IAAI;IACnE,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI;IACnC,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE
|
1
|
+
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../src/common/batch.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,IAAI;IACnE,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI;IACnC,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAC5B,OAAO,EACP,OAAO,EACP,OAAO,GAAG,MAAM,IACd,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAEjD,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAA"}
|
package/dist/common/common.d.ts
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
import { FindManyOptions, FindOneOptions, FindOperator, FindOptionsSelect, FindOptionsWhere, OrderByCondition } from "typeorm";
|
2
|
-
import { FindOptionsOrder } from "typeorm/find-options/FindOptionsOrder";
|
3
|
-
import { FindOptionsRelations } from "typeorm/find-options/FindOptionsRelations";
|
4
1
|
/**
|
5
2
|
* Prettify complex types to a flat object structure
|
6
3
|
*/
|
@@ -45,12 +42,6 @@ export interface SoftDeletableEntity extends BaseEntity {
|
|
45
42
|
*/
|
46
43
|
deleted_at: Date | null;
|
47
44
|
}
|
48
|
-
/**
|
49
|
-
* @ignore
|
50
|
-
*/
|
51
|
-
export type Writable<T> = {
|
52
|
-
-readonly [key in keyof T]: T[key] | FindOperator<T[key]> | FindOperator<T[key][]> | FindOperator<string[]>;
|
53
|
-
};
|
54
45
|
/**
|
55
46
|
* @interface
|
56
47
|
*
|
@@ -95,60 +86,10 @@ export interface FindConfig<Entity> {
|
|
95
86
|
*/
|
96
87
|
options?: Record<string, any>;
|
97
88
|
}
|
98
|
-
/**
|
99
|
-
* @ignore
|
100
|
-
*/
|
101
|
-
export type ExtendedFindConfig<TEntity> = (Omit<FindOneOptions<TEntity>, "where" | "relations" | "select"> | Omit<FindManyOptions<TEntity>, "where" | "relations" | "select">) & {
|
102
|
-
select?: FindOptionsSelect<TEntity>;
|
103
|
-
relations?: FindOptionsRelations<TEntity>;
|
104
|
-
where: FindOptionsWhere<TEntity> | FindOptionsWhere<TEntity>[];
|
105
|
-
order?: FindOptionsOrder<TEntity>;
|
106
|
-
skip?: number;
|
107
|
-
take?: number;
|
108
|
-
};
|
109
|
-
/**
|
110
|
-
* @ignore
|
111
|
-
*/
|
112
|
-
export type QuerySelector<TEntity> = Selector<TEntity> & {
|
113
|
-
q?: string;
|
114
|
-
};
|
115
|
-
/**
|
116
|
-
* @ignore
|
117
|
-
*/
|
118
|
-
export type TreeQuerySelector<TEntity> = QuerySelector<TEntity> & {
|
119
|
-
include_descendants_tree?: boolean;
|
120
|
-
};
|
121
|
-
/**
|
122
|
-
* @ignore
|
123
|
-
*/
|
124
|
-
export type Selector<TEntity> = {
|
125
|
-
[key in keyof TEntity]?: TEntity[key] | TEntity[key][] | DateComparisonOperator | StringComparisonOperator | NumericalComparisonOperator | FindOperator<TEntity[key][] | string | string[]>;
|
126
|
-
};
|
127
89
|
/**
|
128
90
|
* @ignore
|
129
91
|
*/
|
130
92
|
export type TotalField = "shipping_total" | "discount_total" | "tax_total" | "refunded_total" | "total" | "subtotal" | "refundable_amount" | "gift_card_total" | "gift_card_tax_total";
|
131
|
-
/**
|
132
|
-
* @ignore
|
133
|
-
*/
|
134
|
-
export interface CustomFindOptions<TModel, InKeys extends keyof TModel> {
|
135
|
-
select?: FindManyOptions<TModel>["select"];
|
136
|
-
where?: FindManyOptions<TModel>["where"] & {
|
137
|
-
[P in InKeys]?: TModel[P][];
|
138
|
-
};
|
139
|
-
order?: OrderByCondition;
|
140
|
-
skip?: number;
|
141
|
-
take?: number;
|
142
|
-
}
|
143
|
-
/**
|
144
|
-
* @ignore
|
145
|
-
*/
|
146
|
-
export type QueryConfig<TEntity extends BaseEntity> = {
|
147
|
-
deafults?: (keyof TEntity | string)[];
|
148
|
-
allowed?: (keyof TEntity | string)[];
|
149
|
-
defaultLimit?: number;
|
150
|
-
isList?: boolean;
|
151
|
-
};
|
152
93
|
/**
|
153
94
|
* @interface
|
154
95
|
*
|
@@ -272,4 +213,13 @@ export type RawRounding = {
|
|
272
213
|
value: string;
|
273
214
|
precision: number;
|
274
215
|
};
|
216
|
+
/**
|
217
|
+
* @ignore
|
218
|
+
*/
|
219
|
+
export type QueryConfig<TEntity extends BaseEntity> = {
|
220
|
+
deafults?: (keyof TEntity | string)[];
|
221
|
+
allowed?: (keyof TEntity | string)[];
|
222
|
+
defaultLimit?: number;
|
223
|
+
isList?: boolean;
|
224
|
+
};
|
275
225
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common/common.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG;KAC1D,QAAQ,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC;CAC/B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI;KAC7C,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAChB,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM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,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IACpC,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC,EAAE,GACtC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GACpB,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GACrD,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GAChC,CAAC,CAAA;AAEP,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,OAAO,SAAS,UAAU,IAAI;IACpD,QAAQ,CAAC,EAAE,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,CAAA;IACrC,OAAO,CAAC,EAAE,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,CAAA;IACpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { ExternalModuleDeclaration, InternalModuleDeclaration } from "../modules-sdk";
|
2
2
|
import type { RedisOptions } from "ioredis";
|
3
|
-
import type { LoggerOptions } from "typeorm";
|
4
3
|
import type { InlineConfig } from "vite";
|
5
4
|
/**
|
6
5
|
* @interface
|
@@ -252,7 +251,7 @@ export type ProjectConfigOptions = {
|
|
252
251
|
* })
|
253
252
|
* ```
|
254
253
|
*/
|
255
|
-
databaseLogging?:
|
254
|
+
databaseLogging?: boolean;
|
256
255
|
/**
|
257
256
|
* @ignore
|
258
257
|
* @deprecated
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IACnB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;;;;;;OAaG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAA;CAC9C,CAAA;AAED;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,MA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H,KAAK,CAAC,EAAE,YAAY,CAAA;IAEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,OAAO,EAAE,CACL;QACE,OAAO,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACjC,GACD,MAAM,CACT,EAAE,CAAA;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,OAAO,CAAC,EAAE,MAAM,CACd,MAAM,EACN,OAAO,GAAG,OAAO,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CACzE,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CACzE,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
@@ -21,13 +21,13 @@ interface AdminClaimUpdateItem {
|
|
21
21
|
}
|
22
22
|
interface AdminClaimAddShippingMethod {
|
23
23
|
shipping_option_id: string;
|
24
|
-
|
24
|
+
custom_amount?: number;
|
25
25
|
description?: string;
|
26
26
|
internal_note?: string;
|
27
27
|
metadata?: Record<string, unknown> | null;
|
28
28
|
}
|
29
29
|
interface AdminClaimUpdateShippingMethod {
|
30
|
-
|
30
|
+
custom_amount?: number | null;
|
31
31
|
internal_note?: string;
|
32
32
|
metadata?: Record<string, unknown> | null;
|
33
33
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/payloads.ts"],"names":[],"mapp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C,EAAE,OAAO,CAAA;CAC1B"}
|
@@ -23,4 +23,13 @@ export type PaginatedResponse<T> = {
|
|
23
23
|
offset: number;
|
24
24
|
count: number;
|
25
25
|
} & T;
|
26
|
+
export type BatchResponse<T> = {
|
27
|
+
created: T[];
|
28
|
+
updated: T[];
|
29
|
+
deleted: {
|
30
|
+
ids: string[];
|
31
|
+
object: string;
|
32
|
+
deleted: boolean;
|
33
|
+
};
|
34
|
+
};
|
26
35
|
//# sourceMappingURL=response.d.ts.map
|
@@ -1 +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,IAAI;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IACvE,cAAc,CAAC,OAAO,CAAC,GACvB;IACE;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAEH,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"}
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/http/common/response.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,MAAM,IAAI;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,GAAG,EAAE,IACvE,cAAc,CAAC,OAAO,CAAC,GACvB;IACE;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAEH,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;AAEL,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC7B,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF,CAAA"}
|
@@ -21,13 +21,13 @@ interface AdminExchangeUpdateItem {
|
|
21
21
|
}
|
22
22
|
interface AdminExchangeAddShippingMethod {
|
23
23
|
shipping_option_id: string;
|
24
|
-
|
24
|
+
custom_amount?: number;
|
25
25
|
description?: string;
|
26
26
|
internal_note?: string;
|
27
27
|
metadata?: Record<string, unknown> | null;
|
28
28
|
}
|
29
29
|
interface AdminExchangeUpdateShippingMethod {
|
30
|
-
|
30
|
+
custom_amount?: number | null;
|
31
31
|
internal_note?: string;
|
32
32
|
metadata?: Record<string, unknown> | null;
|
33
33
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/payloads.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc;IACjB,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;CAChB;AAED,UAAU,qBAAqB;IAC7B,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,cA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AAED,UAAU,iCAAiC;IACzC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;CAAG;AACvE,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;CAAG;AAE3E,MAAM,WAAW,4BAA6B,SAAQ,qBAAqB;CAAG;AAC9E,MAAM,WAAW,8BACf,SAAQ,uBAAuB;CAAG;AAEpC,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;CAAG;AAC/E,MAAM,WAAW,+BACf,SAAQ,uBAAuB;CAAG;AAEpC,MAAM,WAAW,+BACf,SAAQ,8BAA8B;CAAG;AAC3C,MAAM,WAAW,kCACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,gCACf,SAAQ,8BAA8B;CAAG;AAC3C,MAAM,WAAW,mCACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,oBAAoB;IACnC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { BaseFilterable } from "../../../dal";
|
2
|
+
import { OrderStatus } from "../../../order";
|
2
3
|
import { FindParams } from "../../common";
|
3
4
|
export interface StoreOrderFilters extends FindParams, BaseFilterable<StoreOrderFilters> {
|
4
5
|
id?: string | string[];
|
5
|
-
|
6
|
+
status?: OrderStatus | OrderStatus[];
|
6
7
|
}
|
7
8
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SACjC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SACjC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;CACrC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { BasePaymentCollectionFilters,
|
2
|
-
export interface StorePaymentProviderFilters
|
3
|
-
|
1
|
+
import { BasePaymentCollectionFilters, BasePaymentSessionFilters } from "../common";
|
2
|
+
export interface StorePaymentProviderFilters {
|
3
|
+
region_id: string;
|
4
4
|
}
|
5
5
|
export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
|
6
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAE5B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;CAClB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
|
1
|
+
import { BatchResponse, DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
|
3
2
|
import { AdminProduct, AdminProductOption, AdminProductVariant, AdminProductVariantInventoryLink } from "./entitites";
|
4
3
|
import { AdminInventoryItem } from "../../inventory";
|
5
4
|
export interface AdminProductResponse {
|
@@ -10,7 +9,7 @@ export type AdminProductListResponse = PaginatedResponse<{
|
|
10
9
|
}>;
|
11
10
|
export interface AdminProductDeleteResponse extends DeleteResponse<"product"> {
|
12
11
|
}
|
13
|
-
export interface AdminBatchProductResponse extends
|
12
|
+
export interface AdminBatchProductResponse extends BatchResponse<AdminProduct> {
|
14
13
|
}
|
15
14
|
export interface AdminProductVariantResponse {
|
16
15
|
variant: AdminProductVariant;
|
@@ -30,9 +29,9 @@ export interface AdminImportProductResponse {
|
|
30
29
|
toUpdate: number;
|
31
30
|
};
|
32
31
|
}
|
33
|
-
export interface AdminBatchProductVariantResponse extends
|
32
|
+
export interface AdminBatchProductVariantResponse extends BatchResponse<AdminProductVariant> {
|
34
33
|
}
|
35
|
-
export interface AdminBatchProductVariantInventoryItemResponse extends
|
34
|
+
export interface AdminBatchProductVariantInventoryItemResponse extends BatchResponse<AdminInventoryItem> {
|
36
35
|
}
|
37
36
|
export interface AdminProductOptionResponse {
|
38
37
|
product_option: AdminProductOption;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACzG,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA2B,SAAQ,cAAc,CAAC,SAAS,CAAC;CAAG;AAEhF,MAAM,WAAW,yBACf,SAAQ,aAAa,CAAC,YAAY,CAAC;CAAG;AAExC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,mBAAmB,CAAA;CAC7B;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,QAAQ,EAAE,mBAAmB,EAAE,CAAA;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,wBAAwB,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAE9D,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF;AAED,MAAM,WAAW,gCACf,SAAQ,aAAa,CAAC,mBAAmB,CAAC;CAAG;AAE/C,MAAM,WAAW,6CACf,SAAQ,aAAa,CAAC,kBAAkB,CAAC;CAAG;AAE9C,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,WAAW,gCACf,SAAQ,wBAAwB,CAAC,gBAAgB,EAAE,YAAY,CAAC;CAAG;AAErE,MAAM,MAAM,oCAAoC,GAAG,gCAAgC,GAAG,gCAAgC,EAAE,CAAA;AAExH,MAAM,WAAW,yCAAyC;IACxD,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;CAC9C;AAED,MAAM,WAAW,8CAA8C;IAC7D,EAAE,EAAE,gCAAgC,CAAA;IACpC,MAAM,EAAE,6BAA6B,CAAA;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,mBAAmB,CAAA;CAC5B"}
|
@@ -3,7 +3,8 @@ export interface StoreProductOptionParams extends BaseProductOptionParams {
|
|
3
3
|
}
|
4
4
|
export interface StoreProductVariantParams extends BaseProductVariantParams {
|
5
5
|
}
|
6
|
-
export interface StoreProductParams extends BaseProductListParams {
|
6
|
+
export interface StoreProductParams extends Omit<BaseProductListParams, "tags" | "status" | "categories"> {
|
7
|
+
tag_id?: string | string[];
|
7
8
|
region_id?: string;
|
8
9
|
currency_code?: string;
|
9
10
|
variants?: StoreProductVariantParams;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAC;IACvG,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BaseProductCategoryListParams, BaseProductCategoryParams } from "../common";
|
2
|
-
export interface StoreProductCategoryListParams extends BaseProductCategoryListParams {
|
2
|
+
export interface StoreProductCategoryListParams extends Omit<BaseProductCategoryListParams, "is_internal" | "is_active"> {
|
3
3
|
}
|
4
4
|
export interface StoreProductCategoryParams extends BaseProductCategoryParams {
|
5
5
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,8BACf,SAAQ,6BAA6B;CAAG;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,6BAA6B,EAAE,aAAa,GAAG,WAAW,CAAC;CAAG;AAE7E,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { DeleteResponse, PaginatedResponse } from "../../common";
|
1
|
+
import { BatchResponse, DeleteResponse, PaginatedResponse } from "../../common";
|
3
2
|
import { AdminPromotion, AdminPromotionRule, AdminRuleAttributeOption, AdminRuleOperatorOption, AdminRuleValueOption } from "./entities";
|
4
3
|
export interface AdminPromotionResponse {
|
5
4
|
promotion: AdminPromotion;
|
@@ -37,6 +36,6 @@ export interface RuleValueOptionsResponse {
|
|
37
36
|
export type AdminRuleValueOptionsListResponse = {
|
38
37
|
values: AdminRuleValueOption[];
|
39
38
|
};
|
40
|
-
export type AdminPromotionRuleBatchResponse =
|
39
|
+
export type AdminPromotionRuleBatchResponse = BatchResponse<AdminPromotionRule>;
|
41
40
|
export type AdminPromotionDeleteResponse = DeleteResponse<"promotion">;
|
42
41
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,cAAc,CAAA;CAC1B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,kBAAkB,EAAE,CAAA;CAC5B,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,wBAAwB,EAAE,CAAA;CACtC;AAED,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,EAAE,wBAAwB,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,uBAAuB,CAAA;CAClC;AAED,MAAM,MAAM,oCAAoC,GAAG,iBAAiB,CAAC;IACnE,SAAS,EAAE,uBAAuB,EAAE,CAAA;CACrC,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,oBAAoB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,oBAAoB,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAA;AAE/E,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
2
|
import { FindParams } from "../../common";
|
3
|
-
import { BaseRegionCountryFilters
|
4
|
-
export interface AdminRegionFilters extends FindParams, BaseFilterable<
|
3
|
+
import { BaseRegionCountryFilters } from "../common";
|
4
|
+
export interface AdminRegionFilters extends FindParams, BaseFilterable<AdminRegionFilters> {
|
5
5
|
q?: string;
|
6
6
|
id?: string | string[];
|
7
|
-
|
7
|
+
currency_code?: string | string[];
|
8
8
|
name?: string | string[];
|
9
9
|
created_at?: OperatorMap<string>;
|
10
10
|
updated_at?: OperatorMap<string>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,wBAAwB,
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,wBAAwB,EAEzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,UAAU,EAAE,cAAc,CAAC,kBAAkB,CAAC;IACxF,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AACD,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
|
@@ -23,7 +23,7 @@ export interface BaseRegionFilters extends BaseFilterable<BaseRegionFilters> {
|
|
23
23
|
q?: string;
|
24
24
|
id?: string[] | string | OperatorMap<string | string[]>;
|
25
25
|
name?: string | string[];
|
26
|
-
|
26
|
+
currency_code?: string | string[];
|
27
27
|
created_at?: OperatorMap<string>;
|
28
28
|
updated_at?: OperatorMap<string>;
|
29
29
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC1E,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/region/common.ts"],"names":[],"mappings":"AA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AAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BaseRegionCountryFilters, BaseRegionFilters } from "../common";
|
2
|
-
export interface StoreRegionFilters extends BaseRegionFilters {
|
2
|
+
export interface StoreRegionFilters extends Omit<BaseRegionFilters, "created_at" | "updated_at"> {
|
3
3
|
}
|
4
4
|
export interface StoreRegionCountryFilters extends BaseRegionCountryFilters {
|
5
5
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,GAAG,YAAY,CAAC;CAAG;AACnG,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
|
@@ -23,13 +23,13 @@ export interface AdminUpdateReturnItems {
|
|
23
23
|
}
|
24
24
|
export interface AdminAddReturnShipping {
|
25
25
|
shipping_option_id: string;
|
26
|
-
|
26
|
+
custom_amount?: number;
|
27
27
|
description?: string;
|
28
28
|
internal_note?: string;
|
29
29
|
metadata?: Record<string, unknown>;
|
30
30
|
}
|
31
31
|
export interface AdminUpdateReturnShipping {
|
32
|
-
|
32
|
+
custom_amount?: number;
|
33
33
|
internal_note?: string;
|
34
34
|
metadata?: Record<string, unknown>;
|
35
35
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,kBAAkB,EAAE,CAAA;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE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DeleteResponse, PaginatedResponse } from "../../common";
|
3
2
|
import { AdminShippingOption, AdminShippingOptionRule } from "./entities";
|
4
3
|
export interface AdminShippingOptionResponse {
|
5
4
|
shipping_option: AdminShippingOption;
|
@@ -9,5 +8,5 @@ export type AdminShippingOptionListResponse = PaginatedResponse<{
|
|
9
8
|
}>;
|
10
9
|
export interface AdminShippingOptionDeleteResponse extends DeleteResponse<"shipping_option"> {
|
11
10
|
}
|
12
|
-
export type AdminUpdateShippingOptionRulesResponse =
|
11
|
+
export type AdminUpdateShippingOptionRulesResponse = BatchResponse<AdminShippingOptionRule>;
|
13
12
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC/E,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AAEzE,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;CACxC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG;AAE9C,MAAM,MAAM,sCAAsC,GAAG,aAAa,CAAC,uBAAuB,CAAC,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Acknowledgement } from "../../../workflows-sdk";
|
1
2
|
import { PaginatedResponse } from "../../common/response";
|
2
3
|
import { AdminWorkflowExecution } from "./entities";
|
3
4
|
export interface AdminWorkflowExecutionResponse {
|
@@ -6,4 +7,7 @@ export interface AdminWorkflowExecutionResponse {
|
|
6
7
|
export type AdminWorkflowExecutionListResponse = PaginatedResponse<{
|
7
8
|
workflow_executions: AdminWorkflowExecution[];
|
8
9
|
}>;
|
10
|
+
export type AdminWorkflowRunResponse = {
|
11
|
+
acknowledgement: Acknowledgement;
|
12
|
+
};
|
9
13
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA"}
|
package/dist/order/common.d.ts
CHANGED
@@ -779,7 +779,7 @@ export interface OrderItemDTO {
|
|
779
779
|
/**
|
780
780
|
* The order's status.
|
781
781
|
*/
|
782
|
-
type OrderStatus = "pending" | "completed" | "draft" | "archived" | "canceled" | "requires_action";
|
782
|
+
export type OrderStatus = "pending" | "completed" | "draft" | "archived" | "canceled" | "requires_action";
|
783
783
|
/**
|
784
784
|
* The order details.
|
785
785
|
*/
|