@medusajs/types 1.12.0-snapshot-20240827104434 → 1.12.0-snapshot-20240829144419

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. package/dist/auth/provider.d.ts +1 -0
  2. package/dist/auth/provider.d.ts.map +1 -1
  3. package/dist/auth/service.d.ts +1 -0
  4. package/dist/auth/service.d.ts.map +1 -1
  5. package/dist/cart/service.d.ts +1 -1
  6. package/dist/cart/service.d.ts.map +1 -1
  7. package/dist/http/api-key/admin/api-key.d.ts +3 -3
  8. package/dist/http/api-key/admin/api-key.d.ts.map +1 -1
  9. package/dist/http/api-key/admin/index.d.ts +2 -0
  10. package/dist/http/api-key/admin/index.d.ts.map +1 -1
  11. package/dist/http/api-key/admin/index.js +2 -0
  12. package/dist/http/api-key/admin/index.js.map +1 -1
  13. package/dist/http/api-key/admin/payloads.d.ts +12 -0
  14. package/dist/http/api-key/admin/payloads.d.ts.map +1 -0
  15. package/dist/http/api-key/admin/payloads.js +3 -0
  16. package/dist/http/api-key/admin/payloads.js.map +1 -0
  17. package/dist/http/api-key/admin/queries.d.ts +17 -0
  18. package/dist/http/api-key/admin/queries.d.ts.map +1 -0
  19. package/dist/http/api-key/admin/queries.js +3 -0
  20. package/dist/http/api-key/admin/queries.js.map +1 -0
  21. package/dist/http/campaign/admin/responses.d.ts +3 -3
  22. package/dist/http/campaign/admin/responses.d.ts.map +1 -1
  23. package/dist/http/customer/admin/entities.d.ts +2 -3
  24. package/dist/http/customer/admin/entities.d.ts.map +1 -1
  25. package/dist/http/customer/admin/responses.d.ts +1 -7
  26. package/dist/http/customer/admin/responses.d.ts.map +1 -1
  27. package/dist/http/customer-group/admin/entities.d.ts +4 -0
  28. package/dist/http/customer-group/admin/entities.d.ts.map +1 -0
  29. package/dist/http/customer-group/admin/entities.js +3 -0
  30. package/dist/http/customer-group/admin/entities.js.map +1 -0
  31. package/dist/http/customer-group/admin/index.d.ts +5 -0
  32. package/dist/http/customer-group/admin/index.d.ts.map +1 -0
  33. package/dist/http/customer-group/admin/index.js +21 -0
  34. package/dist/http/customer-group/admin/index.js.map +1 -0
  35. package/dist/http/customer-group/admin/payloads.d.ts +9 -0
  36. package/dist/http/customer-group/admin/payloads.d.ts.map +1 -0
  37. package/dist/http/customer-group/admin/payloads.js +3 -0
  38. package/dist/http/customer-group/admin/payloads.js.map +1 -0
  39. package/dist/http/customer-group/admin/queries.d.ts +32 -0
  40. package/dist/http/customer-group/admin/queries.d.ts.map +1 -0
  41. package/dist/http/customer-group/admin/queries.js +3 -0
  42. package/dist/http/customer-group/admin/queries.js.map +1 -0
  43. package/dist/http/customer-group/admin/responses.d.ts +9 -0
  44. package/dist/http/customer-group/admin/responses.d.ts.map +1 -0
  45. package/dist/http/customer-group/admin/responses.js +3 -0
  46. package/dist/http/customer-group/admin/responses.js.map +1 -0
  47. package/dist/http/customer-group/common.d.ts +10 -0
  48. package/dist/http/customer-group/common.d.ts.map +1 -0
  49. package/dist/http/customer-group/common.js +3 -0
  50. package/dist/http/customer-group/common.js.map +1 -0
  51. package/dist/http/customer-group/index.d.ts +2 -0
  52. package/dist/http/customer-group/index.d.ts.map +1 -0
  53. package/dist/http/customer-group/index.js +18 -0
  54. package/dist/http/customer-group/index.js.map +1 -0
  55. package/dist/http/index.d.ts +1 -0
  56. package/dist/http/index.d.ts.map +1 -1
  57. package/dist/http/index.js +1 -0
  58. package/dist/http/index.js.map +1 -1
  59. package/dist/http/order/admin/entities.d.ts +2 -0
  60. package/dist/http/order/admin/entities.d.ts.map +1 -1
  61. package/dist/http/order/admin/responses.d.ts +4 -0
  62. package/dist/http/order/admin/responses.d.ts.map +1 -1
  63. package/dist/http/payment/admin/queries.d.ts +7 -0
  64. package/dist/http/payment/admin/queries.d.ts.map +1 -1
  65. package/dist/http/product-category/common.d.ts +1 -0
  66. package/dist/http/product-category/common.d.ts.map +1 -1
  67. package/dist/http/promotion/common.d.ts +2 -2
  68. package/dist/http/promotion/common.d.ts.map +1 -1
  69. package/dist/http/reservation/admin/entities.d.ts +1 -1
  70. package/dist/http/reservation/admin/entities.d.ts.map +1 -1
  71. package/dist/http/reservation/admin/index.d.ts +2 -0
  72. package/dist/http/reservation/admin/index.d.ts.map +1 -1
  73. package/dist/http/reservation/admin/index.js +2 -0
  74. package/dist/http/reservation/admin/index.js.map +1 -1
  75. package/dist/http/reservation/admin/payloads.d.ts +15 -0
  76. package/dist/http/reservation/admin/payloads.d.ts.map +1 -0
  77. package/dist/http/reservation/admin/payloads.js +3 -0
  78. package/dist/http/reservation/admin/payloads.js.map +1 -0
  79. package/dist/http/reservation/admin/queries.d.ts +17 -0
  80. package/dist/http/reservation/admin/queries.d.ts.map +1 -0
  81. package/dist/http/reservation/admin/queries.js +3 -0
  82. package/dist/http/reservation/admin/queries.js.map +1 -0
  83. package/dist/http/reservation/admin/responses.d.ts +3 -3
  84. package/dist/http/reservation/admin/responses.d.ts.map +1 -1
  85. package/dist/http/return/common.d.ts +2 -0
  86. package/dist/http/return/common.d.ts.map +1 -1
  87. package/dist/http/workflow-execution/admin/entities.d.ts +54 -4
  88. package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
  89. package/dist/http/workflow-execution/admin/index.d.ts +1 -0
  90. package/dist/http/workflow-execution/admin/index.d.ts.map +1 -1
  91. package/dist/http/workflow-execution/admin/index.js +1 -0
  92. package/dist/http/workflow-execution/admin/index.js.map +1 -1
  93. package/dist/http/workflow-execution/admin/queries.d.ts +6 -0
  94. package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -0
  95. package/dist/http/workflow-execution/admin/queries.js +3 -0
  96. package/dist/http/workflow-execution/admin/queries.js.map +1 -0
  97. package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
  98. package/dist/notification/common.d.ts +35 -0
  99. package/dist/notification/common.d.ts.map +1 -1
  100. package/dist/notification/provider.d.ts +9 -0
  101. package/dist/notification/provider.d.ts.map +1 -1
  102. package/dist/order/mutations.d.ts +3 -0
  103. package/dist/order/mutations.d.ts.map +1 -1
  104. package/dist/order/service.d.ts +175 -175
  105. package/dist/order/service.d.ts.map +1 -1
  106. package/dist/shared-context.d.ts +5 -0
  107. package/dist/shared-context.d.ts.map +1 -1
  108. package/dist/workflow/order/cancel-claim.d.ts +1 -0
  109. package/dist/workflow/order/cancel-claim.d.ts.map +1 -1
  110. package/dist/workflow/order/cancel-exchange.d.ts +1 -0
  111. package/dist/workflow/order/cancel-exchange.d.ts.map +1 -1
  112. package/dist/workflow/order/cancel-fulfillment.d.ts +1 -0
  113. package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -1
  114. package/dist/workflow/order/cancel-order.d.ts +1 -0
  115. package/dist/workflow/order/cancel-order.d.ts.map +1 -1
  116. package/dist/workflow/order/cancel-return.d.ts +1 -0
  117. package/dist/workflow/order/cancel-return.d.ts.map +1 -1
  118. package/package.json +1 -1
@@ -17,6 +17,7 @@ export interface AuthIdentityProviderService {
17
17
  */
18
18
  export interface IAuthProvider {
19
19
  authenticate(data: AuthenticationInput, authIdentityProviderService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
20
+ register(data: AuthenticationInput, authIdentityProviderService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
20
21
  validateCallback(data: AuthenticationInput, authIdentityProviderService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
21
22
  }
22
23
  //# sourceMappingURL=provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/auth/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,UAAU,CAAA;AAGjB,MAAM,WAAW,2BAA2B;IAE1C,QAAQ,EAAE,CAAC,QAAQ,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IACvE,MAAM,EAAE,CAAC,IAAI,EAAE;QACb,SAAS,EAAE,MAAM,CAAA;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,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AE,2BAA2B,GACvD,OAAO,CAAC,sBAAsB,CAAC,CAAA;CACnC"}
@@ -33,6 +33,7 @@ export interface IAuthModuleService extends IModuleService {
33
33
  * ```
34
34
  */
35
35
  authenticate(provider: string, providerData: AuthenticationInput): Promise<AuthenticationResponse>;
36
+ register(provider: string, providerData: AuthenticationInput): Promise<AuthenticationResponse>;
36
37
  /**
37
38
  * When authenticating users with a third-party provider, such as Google, the user performs an
38
39
  * action to finish the authentication, such as enter their credentials in Google's sign-in
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/auth/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC/B,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,YAAY,CACV,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,mBAAmB,GAChC,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,gBAAgB,CACd,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,mBAAmB,GAChC,OAAO,CAAC,sBAAsB,CAAC,CAAA;IAElC;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,EACpC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,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wBAAwB,CACtB,IAAI,EAAE,yBAAyB,EAAE,EACjC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAEjC;;;;;;;;;;;;;OAaG;IACH,wBAAwB,CACtB,IAAI,EAAE,yBAAyB,EAC/B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,mBAAmB,CAAC,CAAA;IAE/B;;;;;;;;;;;;;OAaG;IACH,uBAAuB,CACrB,IAAI,EAAE,yBAAyB,EAAE,EACjC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAEjC;;;;;;;;;;;OAWG;IACH,uBAAuB,CACrB,IAAI,EAAE,yBAAyB,EAC/B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,mBAAmB,CAAC,CAAA;IAE/B;;;;;;;;;OASG;IACH,wBAAwB,CACtB,GAAG,EAAE,MAAM,EAAE,EACb,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;CACjB"}
@@ -3,7 +3,7 @@ import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
3
  import { IModuleService } from "../modules-sdk";
4
4
  import { Context } from "../shared-context";
5
5
  import { CartAddressDTO, CartDTO, CartLineItemDTO, CartShippingMethodDTO, FilterableAddressProps, FilterableCartProps, FilterableLineItemAdjustmentProps, FilterableLineItemProps, FilterableLineItemTaxLineProps, FilterableShippingMethodAdjustmentProps, FilterableShippingMethodProps, FilterableShippingMethodTaxLineProps, LineItemAdjustmentDTO, LineItemTaxLineDTO, ShippingMethodAdjustmentDTO, ShippingMethodTaxLineDTO } from "./common";
6
- import { CreateAddressDTO, CreateCartDTO, CreateLineItemAdjustmentDTO, CreateLineItemDTO, CreateLineItemForCartDTO, CreateLineItemTaxLineDTO, CreateShippingMethodAdjustmentDTO, CreateShippingMethodDTO, CreateShippingMethodForSingleCartDTO, CreateShippingMethodTaxLineDTO, UpdateAddressDTO, UpdateCartDataDTO, UpdateCartDTO, UpdateLineItemDTO, UpdateLineItemTaxLineDTO, UpdateLineItemWithSelectorDTO, UpdateShippingMethodAdjustmentDTO, UpdateShippingMethodTaxLineDTO, UpsertLineItemAdjustmentDTO } from "./mutations";
6
+ import { CreateAddressDTO, CreateCartDTO, CreateLineItemAdjustmentDTO, CreateLineItemDTO, CreateLineItemForCartDTO, CreateLineItemTaxLineDTO, CreateShippingMethodAdjustmentDTO, CreateShippingMethodDTO, CreateShippingMethodForSingleCartDTO, CreateShippingMethodTaxLineDTO, UpdateAddressDTO, UpdateCartDTO, UpdateCartDataDTO, UpdateLineItemDTO, UpdateLineItemTaxLineDTO, UpdateLineItemWithSelectorDTO, UpdateShippingMethodAdjustmentDTO, UpdateShippingMethodTaxLineDTO, UpsertLineItemAdjustmentDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the Cart Module.
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/cart/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,iCAAiC,EACjC,uBAAuB,EACvB,8BAA8B,EAC9B,uCAAuC,EACvC,6BAA6B,EAC7B,oCAAoC,EACpC,qBAAqB,EACrB,kBAAkB,EAClB,2BAA2B,EAC3B,wBAAwB,EACzB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,EACxB,iCA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,CAAC,CAAA;CAC7D"}
@@ -1,6 +1,6 @@
1
1
  import { ApiKeyType } from "../../../api-key";
2
2
  import { PaginatedResponse } from "../../common";
3
- interface ApiKeyResponse {
3
+ interface AdminApiKey {
4
4
  id: string;
5
5
  token: string;
6
6
  redacted: string;
@@ -13,10 +13,10 @@ interface ApiKeyResponse {
13
13
  revoked_at: Date | null;
14
14
  }
15
15
  export interface AdminApiKeyResponse {
16
- api_key: ApiKeyResponse;
16
+ api_key: AdminApiKey;
17
17
  }
18
18
  export type AdminApiKeyListResponse = PaginatedResponse<{
19
- api_keys: ApiKeyResponse[];
19
+ api_keys: AdminApiKey[];
20
20
  }>;
21
21
  export {};
22
22
  //# sourceMappingURL=api-key.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../../src/http/api-key/admin/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;IAChB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,cAAc,CAAA;CACxB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,QAAQ,EAAE,cAAc,EAAE,CAAA;CAC3B,CAAC,CAAA"}
1
+ {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../../src/http/api-key/admin/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,UAAU,WAAW;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;IAChB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,WAAW,CAAA;CACrB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB,CAAC,CAAA"}
@@ -1,2 +1,4 @@
1
1
  export * from "./api-key";
2
+ export * from "./payloads";
3
+ export * from "./queries";
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/api-key/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/api-key/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./api-key"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/api-key/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/api-key/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,4CAAyB"}
@@ -0,0 +1,12 @@
1
+ import { ApiKeyType } from "../../../api-key";
2
+ export interface AdminCreateApiKey {
3
+ title: string;
4
+ type: ApiKeyType;
5
+ }
6
+ export interface AdminUpdateApiKey {
7
+ title: string;
8
+ }
9
+ export interface AdminRevokeApiKey {
10
+ revoke_in?: number;
11
+ }
12
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/api-key/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/api-key/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { ApiKeyType } from "../../../api-key";
2
+ import { BaseFilterable, OperatorMap } from "../../../dal";
3
+ import { FindParams } from "../../common";
4
+ export interface AdminGetApiKeysParams extends FindParams, BaseFilterable<AdminGetApiKeysParams> {
5
+ q?: string;
6
+ id?: string | string[];
7
+ title?: string | string[];
8
+ token?: string | string[];
9
+ type?: ApiKeyType;
10
+ created_at?: OperatorMap<string>;
11
+ updated_at?: OperatorMap<string>;
12
+ deleted_at?: OperatorMap<string>;
13
+ revoked_at?: OperatorMap<string>;
14
+ $and?: AdminGetApiKeysParams[];
15
+ $or?: AdminGetApiKeysParams[];
16
+ }
17
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/api-key/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,qBACf,SAAQ,UAAU,EAChB,cAAc,CAAC,qBAAqB,CAAC;IACvC,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,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;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAC9B,GAAG,CAAC,EAAE,qBAAqB,EAAE,CAAA;CAC9B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/api-key/admin/queries.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import { CampaignBudgetTypeValues } from "../../../promotion";
2
2
  import { PaginatedResponse } from "../../common";
3
- export interface CampaignResponse {
3
+ export interface AdminCampaign {
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
@@ -17,9 +17,9 @@ export interface CampaignResponse {
17
17
  };
18
18
  }
19
19
  export type AdminCampaignListResponse = PaginatedResponse<{
20
- campaigns: CampaignResponse[];
20
+ campaigns: AdminCampaign[];
21
21
  }>;
22
22
  export interface AdminCampaignResponse {
23
- campaign: CampaignResponse;
23
+ campaign: AdminCampaign;
24
24
  }
25
25
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,wBAAwB,CAAA;QAC9B,aAAa,EAAE,MAAM,CAAA;QACrB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,wBAAwB,CAAA;QAC9B,aAAa,EAAE,MAAM,CAAA;QACrB,KAAK,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB"}
@@ -1,6 +1,5 @@
1
- import { BaseCustomer, BaseCustomerAddress, BaseCustomerGroup } from "../common";
2
- export interface AdminCustomerGroup extends BaseCustomerGroup {
3
- }
1
+ import { AdminCustomerGroup } from "../../customer-group";
2
+ import { BaseCustomer, BaseCustomerAddress } from "../common";
4
3
  export interface AdminCustomer extends BaseCustomer {
5
4
  has_account: boolean;
6
5
  groups?: AdminCustomerGroup[];
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE7D,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
@@ -1,17 +1,11 @@
1
1
  import { PaginatedResponse } from "../../common";
2
- import { AdminCustomer, AdminCustomerAddress, AdminCustomerGroup } from "./entities";
2
+ import { AdminCustomer, AdminCustomerAddress } from "./entities";
3
3
  export interface AdminCustomerResponse {
4
4
  customer: AdminCustomer;
5
5
  }
6
6
  export type AdminCustomerListResponse = PaginatedResponse<{
7
7
  customers: AdminCustomer;
8
8
  }>;
9
- export interface AdminCustomerGroupResponse {
10
- customer_group: AdminCustomerGroup;
11
- }
12
- export type AdminCustomerGroupListResponse = PaginatedResponse<{
13
- customer_groups: AdminCustomerGroup[];
14
- }>;
15
9
  export interface AdminCustomerAddressResponse {
16
10
  address: AdminCustomerAddress;
17
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAAC,CAAA;AAEvF,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,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { BaseCustomerGroup } from "../common";
2
+ export interface AdminCustomerGroup extends BaseCustomerGroup {
3
+ }
4
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./queries";
4
+ export * from "./responses";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -0,0 +1,21 @@
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("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
20
+ __exportStar(require("./responses"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,9 @@
1
+ export interface AdminCreateCustomerGroup {
2
+ name: string;
3
+ metadata?: Record<string, unknown> | null;
4
+ }
5
+ export interface AdminUpdateCustomerGroup {
6
+ name?: string;
7
+ metadata?: Record<string, unknown> | null;
8
+ }
9
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { OperatorMap } from "../../../dal";
2
+ import { SelectParams } from "../../common";
3
+ export interface AdminCustomerInGroupFilters {
4
+ id?: string | string[];
5
+ email?: string | string[] | OperatorMap<string>;
6
+ default_billing_address_id?: string | string[];
7
+ default_shipping_address_id?: string | string[];
8
+ company_name?: string | string[];
9
+ first_name?: string | string[];
10
+ last_name?: string | string[];
11
+ created_by?: string | string[];
12
+ created_at?: OperatorMap<string>;
13
+ updated_at?: OperatorMap<string>;
14
+ deleted_at?: OperatorMap<string>;
15
+ }
16
+ export interface AdminGetCustomerGroupsParams {
17
+ limit?: number;
18
+ offset?: number;
19
+ q?: string;
20
+ id?: string | string[];
21
+ name?: string | string[];
22
+ customers?: string | string[] | AdminCustomerInGroupFilters;
23
+ created_by?: string | string[];
24
+ created_at?: OperatorMap<string>;
25
+ updated_at?: OperatorMap<string>;
26
+ deleted_at?: OperatorMap<string>;
27
+ $and?: AdminGetCustomerGroupsParams[];
28
+ $or?: AdminGetCustomerGroupsParams[];
29
+ }
30
+ export interface AdminGetCustomerGroupParams extends SelectParams {
31
+ }
32
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,WAAW,2BAA2B;IAC1C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9C,2BAA2B,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/C,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,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;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,2BAA2B,CAAA;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,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;IAChC,IAAI,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACrC,GAAG,CAAC,EAAE,4BAA4B,EAAE,CAAA;CACrC;AAED,MAAM,WAAW,2BAA4B,SAAQ,YAAY;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { PaginatedResponse } from "../../common";
2
+ import { AdminCustomerGroup } from "./entities";
3
+ export interface AdminCustomerGroupResponse {
4
+ customer_group: AdminCustomerGroup;
5
+ }
6
+ export type AdminCustomerGroupListResponse = PaginatedResponse<{
7
+ customer_groups: AdminCustomerGroup[];
8
+ }>;
9
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/customer-group/admin/responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { BaseCustomer } from "../customer/common";
2
+ export interface BaseCustomerGroup {
3
+ id: string;
4
+ name: string | null;
5
+ customers: BaseCustomer[];
6
+ metadata: Record<string, unknown> | null;
7
+ created_at: string;
8
+ updated_at: string;
9
+ }
10
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/customer-group/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/customer-group/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./admin";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/customer-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/customer-group/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -6,6 +6,7 @@ export * from "./collection";
6
6
  export * from "./common";
7
7
  export * from "./currency";
8
8
  export * from "./customer";
9
+ export * from "./customer-group";
9
10
  export * from "./exchange";
10
11
  export * from "./file";
11
12
  export * from "./fulfillment";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings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CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,sBAAsB,CAAA"}
@@ -22,6 +22,7 @@ __exportStar(require("./collection"), exports);
22
22
  __exportStar(require("./common"), exports);
23
23
  __exportStar(require("./currency"), exports);
24
24
  __exportStar(require("./customer"), exports);
25
+ __exportStar(require("./customer-group"), exports);
25
26
  __exportStar(require("./exchange"), exports);
26
27
  __exportStar(require("./file"), exports);
27
28
  __exportStar(require("./fulfillment"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAA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B;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB;AACtB,uDAAoC"}
@@ -4,6 +4,8 @@ export interface AdminOrder extends BaseOrder {
4
4
  payment_collections: AdminPaymentCollection[];
5
5
  fulfillments?: BaseOrderFulfillment[];
6
6
  }
7
+ export interface AdminOrderLineItem extends BaseOrderLineItem {
8
+ }
7
9
  export interface AdminOrderFulfillment extends BaseOrderFulfillment {
8
10
  }
9
11
  export interface AdminOrderLineItem extends BaseOrderLineItem {
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;IAC7C,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAA;CACtC;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACtD,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,eAAe,CAAA;IAC7B,KAAK,EAAE,CAAC,iBAAiB,GAAG;QAAE,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACpE,gBAAgB,EAAE,CAAC,uBAAuB,GAAG;QAC3C,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;IAC7C,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAA;CACtC;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACtD,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,eAAe,CAAA;IAC7B,KAAK,EAAE,CAAC,iBAAiB,GAAG;QAAE,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACpE,gBAAgB,EAAE,CAAC,uBAAuB,GAAG;QAC3C,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL"}
@@ -1,8 +1,12 @@
1
1
  import { PaginatedResponse } from "../../common";
2
+ import { BaseOrderChange } from "../common";
2
3
  import { AdminOrder, AdminOrderPreview } from "./entities";
3
4
  export interface AdminOrderResponse {
4
5
  order: AdminOrder;
5
6
  }
7
+ export interface AdminOrderChangesResponse {
8
+ order_changes: BaseOrderChange[];
9
+ }
6
10
  export type AdminOrderListResponse = PaginatedResponse<{
7
11
  orders: AdminOrder[];
8
12
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,eAAe,EAAE,CAAA;CACjC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { BaseFilterable } from "../../../dal";
2
+ import { FindParams } from "../../common";
2
3
  import { BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
3
4
  import { AdminRefund, AdminRefundReason } from "./entities";
4
5
  export interface AdminPaymentProviderFilters extends BasePaymentProviderFilters {
@@ -16,4 +17,10 @@ export interface RefundFilters extends BaseFilterable<AdminRefund> {
16
17
  export interface RefundReasonFilters extends BaseFilterable<AdminRefundReason> {
17
18
  id?: string | string[];
18
19
  }
20
+ export interface AdminGetPaymentProvidersParams extends FindParams, BaseFilterable<AdminGetPaymentProvidersParams> {
21
+ id?: string | string[];
22
+ is_enabled?: boolean;
23
+ $and?: AdminGetPaymentProvidersParams[];
24
+ $or?: AdminGetPaymentProvidersParams[];
25
+ }
19
26
  //# sourceMappingURL=queries.d.ts.map