@etohq/types 1.5.3 → 1.5.4-alpha.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.
Files changed (109) hide show
  1. package/dist/auth/providers/kratos.d.ts +26 -0
  2. package/dist/auth/providers/kratos.d.ts.map +1 -0
  3. package/dist/{http/payment/store/queries.js → auth/providers/kratos.js} +1 -1
  4. package/dist/auth/providers/kratos.js.map +1 -0
  5. package/dist/draft/common.d.ts +53 -0
  6. package/dist/draft/common.d.ts.map +1 -0
  7. package/dist/draft/common.js +3 -0
  8. package/dist/draft/common.js.map +1 -0
  9. package/dist/draft/index.d.ts +4 -0
  10. package/dist/draft/index.d.ts.map +1 -0
  11. package/dist/draft/index.js +20 -0
  12. package/dist/draft/index.js.map +1 -0
  13. package/dist/draft/mutations.d.ts +58 -0
  14. package/dist/draft/mutations.d.ts.map +1 -0
  15. package/dist/draft/mutations.js +3 -0
  16. package/dist/draft/mutations.js.map +1 -0
  17. package/dist/draft/service.d.ts +15 -0
  18. package/dist/draft/service.d.ts.map +1 -0
  19. package/dist/draft/service.js +3 -0
  20. package/dist/draft/service.js.map +1 -0
  21. package/dist/draft-overlay/common.d.ts +49 -0
  22. package/dist/draft-overlay/common.d.ts.map +1 -0
  23. package/dist/{http/payment/store/payloads.js → draft-overlay/common.js} +1 -1
  24. package/dist/draft-overlay/common.js.map +1 -0
  25. package/dist/draft-overlay/index.d.ts +4 -0
  26. package/dist/draft-overlay/index.d.ts.map +1 -0
  27. package/dist/{http/payment/store → draft-overlay}/index.js +3 -4
  28. package/dist/draft-overlay/index.js.map +1 -0
  29. package/dist/draft-overlay/mutations.d.ts +37 -0
  30. package/dist/draft-overlay/mutations.d.ts.map +1 -0
  31. package/dist/{http/payment/store/responses.js → draft-overlay/mutations.js} +1 -1
  32. package/dist/draft-overlay/mutations.js.map +1 -0
  33. package/dist/draft-overlay/service.d.ts +13 -0
  34. package/dist/draft-overlay/service.d.ts.map +1 -0
  35. package/dist/{http/payment/store/entities.js → draft-overlay/service.js} +1 -1
  36. package/dist/draft-overlay/service.js.map +1 -0
  37. package/dist/http/encore/dal-validator.d.ts +0 -26
  38. package/dist/http/encore/dal-validator.d.ts.map +1 -1
  39. package/dist/http/encore/dal-validator.js +1 -0
  40. package/dist/http/encore/dal-validator.js.map +1 -1
  41. package/dist/http/index.d.ts +1 -0
  42. package/dist/http/index.d.ts.map +1 -1
  43. package/dist/http/index.js +1 -0
  44. package/dist/http/index.js.map +1 -1
  45. package/dist/http/locale/admin/queries.d.ts +1 -1
  46. package/dist/http/locale/admin/queries.d.ts.map +1 -1
  47. package/dist/http/locale/common.d.ts.map +1 -1
  48. package/dist/http/locale/store/entities.d.ts.map +1 -1
  49. package/dist/http/locale/store/responses.d.ts.map +1 -1
  50. package/dist/http/payment/admin/payloads.d.ts +2 -3
  51. package/dist/http/payment/admin/payloads.d.ts.map +1 -1
  52. package/dist/http/refund-reason/admin/payloads.d.ts +2 -2
  53. package/dist/http/refund-reason/admin/payloads.d.ts.map +1 -1
  54. package/dist/http/refund-reason/admin/queries.d.ts +1 -1
  55. package/dist/http/refund-reason/admin/queries.d.ts.map +1 -1
  56. package/dist/http/refund-reason/common.d.ts +1 -1
  57. package/dist/http/refund-reason/common.d.ts.map +1 -1
  58. package/dist/http/translations/admin/queries.d.ts +1 -1
  59. package/dist/http/translations/admin/queries.d.ts.map +1 -1
  60. package/dist/http/translations/admin/queries.js +3 -0
  61. package/dist/http/translations/admin/queries.js.map +1 -1
  62. package/dist/http/translations/admin/responses.d.ts +1 -1
  63. package/dist/http/translations/admin/responses.d.ts.map +1 -1
  64. package/dist/http/view-configuration/admin/queries.d.ts +2 -2
  65. package/dist/http/view-configuration/admin/queries.d.ts.map +1 -1
  66. package/dist/http/view-configuration/admin/queries.js +3 -0
  67. package/dist/http/view-configuration/admin/queries.js.map +1 -1
  68. package/dist/http/view-configuration/admin/responses.d.ts +1 -1
  69. package/dist/http/view-configuration/admin/responses.d.ts.map +1 -1
  70. package/dist/integrations/capabilities.d.ts +35 -0
  71. package/dist/integrations/capabilities.d.ts.map +1 -0
  72. package/dist/integrations/capabilities.js +14 -0
  73. package/dist/integrations/capabilities.js.map +1 -0
  74. package/dist/integrations/index.d.ts +3 -0
  75. package/dist/integrations/index.d.ts.map +1 -0
  76. package/dist/integrations/index.js +19 -0
  77. package/dist/integrations/index.js.map +1 -0
  78. package/dist/integrations/shopabox.d.ts +31 -0
  79. package/dist/integrations/shopabox.d.ts.map +1 -0
  80. package/dist/integrations/shopabox.js +3 -0
  81. package/dist/integrations/shopabox.js.map +1 -0
  82. package/dist/payment/common.d.ts +8 -0
  83. package/dist/payment/common.d.ts.map +1 -1
  84. package/dist/payment/mutations.d.ts +8 -0
  85. package/dist/payment/mutations.d.ts.map +1 -1
  86. package/dist/space/common.d.ts +116 -5
  87. package/dist/space/common.d.ts.map +1 -1
  88. package/dist/space/common.js +13 -0
  89. package/dist/space/common.js.map +1 -1
  90. package/dist/space/index.d.ts +1 -0
  91. package/dist/space/index.d.ts.map +1 -1
  92. package/dist/space/mutations.d.ts +65 -1
  93. package/dist/space/mutations.d.ts.map +1 -1
  94. package/package.json +2540 -35
  95. package/dist/http/payment/store/entities.d.ts +0 -20
  96. package/dist/http/payment/store/entities.d.ts.map +0 -1
  97. package/dist/http/payment/store/entities.js.map +0 -1
  98. package/dist/http/payment/store/index.d.ts +0 -5
  99. package/dist/http/payment/store/index.d.ts.map +0 -1
  100. package/dist/http/payment/store/index.js.map +0 -1
  101. package/dist/http/payment/store/payloads.d.ts +0 -17
  102. package/dist/http/payment/store/payloads.d.ts.map +0 -1
  103. package/dist/http/payment/store/payloads.js.map +0 -1
  104. package/dist/http/payment/store/queries.d.ts +0 -13
  105. package/dist/http/payment/store/queries.d.ts.map +0 -1
  106. package/dist/http/payment/store/queries.js.map +0 -1
  107. package/dist/http/payment/store/responses.d.ts +0 -15
  108. package/dist/http/payment/store/responses.d.ts.map +0 -1
  109. package/dist/http/payment/store/responses.js.map +0 -1
@@ -1,20 +0,0 @@
1
- import { BasePaymentCollection, BasePaymentProvider, BasePaymentSession } from "../common";
2
- export interface StorePaymentProvider extends BasePaymentProvider {
3
- }
4
- export interface StorePaymentCollection extends BasePaymentCollection {
5
- /**
6
- * The payment collection's sessions.
7
- */
8
- payment_sessions?: StorePaymentSession[];
9
- /**
10
- * The providers used for the payment collection's sessions.
11
- */
12
- payment_providers: StorePaymentProvider[];
13
- }
14
- export interface StorePaymentSession extends BasePaymentSession {
15
- /**
16
- * The payment collection that the session belongs to.
17
- */
18
- payment_collection?: StorePaymentCollection;
19
- }
20
- //# sourceMappingURL=entities.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE;;OAEG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACxC;;OAEG;IACH,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C;AACD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D;;OAEG;IACH,kBAAkB,CAAC,EAAE,sBAAsB,CAAA;CAC5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/payment/store/entities.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export * from "./entities";
2
- export * from "./payloads";
3
- export * from "./queries";
4
- export * from "./responses";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -1,17 +0,0 @@
1
- export interface StoreCreatePaymentCollection {
2
- cart_id: string;
3
- }
4
- export interface StoreInitializePaymentSession {
5
- /**
6
- * The ID of the provider to initialize a payment session
7
- * for.
8
- */
9
- provider_id: string;
10
- /**
11
- * Any data necessary for the payment provider to process the payment.
12
- *
13
- * Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property).
14
- */
15
- data?: Record<string, unknown>;
16
- }
17
- //# sourceMappingURL=payloads.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/payment/store/payloads.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import { FindParams } from "../../common";
2
- import { BasePaymentCollectionFilters, BasePaymentSessionFilters } from "../common";
3
- export interface StorePaymentProviderFilters extends FindParams {
4
- /**
5
- * The ID of the region to retrieve its payment providers.
6
- */
7
- region_id: string;
8
- }
9
- export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
10
- }
11
- export interface StorePaymentSessionFilters extends BasePaymentSessionFilters {
12
- }
13
- //# sourceMappingURL=queries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BAA4B,SAAQ,UAAU;IAC7D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;CAClB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import { PaginatedResponse } from "../../common";
2
- import { StorePaymentCollection, StorePaymentProvider } from "./entities";
3
- export interface StorePaymentCollectionResponse {
4
- /**
5
- * The payment collection's details.
6
- */
7
- payment_collection: StorePaymentCollection;
8
- }
9
- export type StorePaymentProviderListResponse = PaginatedResponse<{
10
- /**
11
- * The paginated list of providers.
12
- */
13
- payment_providers: StorePaymentProvider[];
14
- }>;
15
- //# sourceMappingURL=responses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEzE,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D;;OAEG;IACH,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/payment/store/responses.ts"],"names":[],"mappings":""}