@commercelayer/provisioning-sdk 3.0.0-beta.2 → 3.0.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 (165) hide show
  1. package/README.md +23 -4
  2. package/lib/{api-C_E9e1ea.d.ts → api-CnrR2t1g.d.ts} +50 -26
  3. package/lib/{api-C4jp_9vb.d.cts → api-R3mMNn87.d.cts} +50 -26
  4. package/lib/api.cjs +23 -23
  5. package/lib/api.d.cts +1 -1
  6. package/lib/api.d.ts +1 -1
  7. package/lib/api.js +13 -13
  8. package/lib/binding.cjs +3 -3
  9. package/lib/binding.d.cts +4 -4
  10. package/lib/binding.d.ts +4 -4
  11. package/lib/binding.js +2 -2
  12. package/lib/bundle.cjs +17 -17
  13. package/lib/bundle.d.cts +1 -1
  14. package/lib/bundle.d.ts +1 -1
  15. package/lib/bundle.js +15 -15
  16. package/lib/{chunk-3PJNJ7B6.js → chunk-2FZWJMYX.js} +5 -5
  17. package/lib/chunk-2FZWJMYX.js.map +1 -0
  18. package/lib/{chunk-OROPOAHK.cjs → chunk-3UQ4UNHL.cjs} +6 -6
  19. package/lib/chunk-3UQ4UNHL.cjs.map +1 -0
  20. package/lib/{chunk-6MXIGF2G.cjs → chunk-5RZ2O2CJ.cjs} +10 -10
  21. package/lib/{chunk-6MXIGF2G.cjs.map → chunk-5RZ2O2CJ.cjs.map} +1 -1
  22. package/lib/{chunk-NDKGLF4B.cjs → chunk-5V2JEFHA.cjs} +4 -4
  23. package/lib/chunk-5V2JEFHA.cjs.map +1 -0
  24. package/lib/{chunk-T2U6MUX4.js → chunk-7BSFPWED.js} +3 -3
  25. package/lib/chunk-7BSFPWED.js.map +1 -0
  26. package/lib/{chunk-EVDEBFHZ.cjs → chunk-ATSYNXFW.cjs} +35 -13
  27. package/lib/chunk-ATSYNXFW.cjs.map +1 -0
  28. package/lib/{chunk-MHV7FMLE.cjs → chunk-B77PPXQ4.cjs} +4 -4
  29. package/lib/chunk-B77PPXQ4.cjs.map +1 -0
  30. package/lib/{chunk-ZWZHZ4SU.js → chunk-BOAFNR4A.js} +3 -3
  31. package/lib/chunk-BOAFNR4A.js.map +1 -0
  32. package/lib/{chunk-3NDVX4SE.cjs → chunk-C4PVJRMW.cjs} +4 -4
  33. package/lib/chunk-C4PVJRMW.cjs.map +1 -0
  34. package/lib/{chunk-GHXKZEH7.js → chunk-CR45TDCY.js} +30 -8
  35. package/lib/chunk-CR45TDCY.js.map +1 -0
  36. package/lib/{chunk-7YEOUGXO.js → chunk-D7JC6E6O.js} +3 -3
  37. package/lib/chunk-D7JC6E6O.js.map +1 -0
  38. package/lib/{chunk-DYMRH6LP.cjs → chunk-EXABJOAU.cjs} +4 -4
  39. package/lib/chunk-EXABJOAU.cjs.map +1 -0
  40. package/lib/{chunk-UILXNOZE.cjs → chunk-F52NPQLI.cjs} +4 -4
  41. package/lib/{chunk-UILXNOZE.cjs.map → chunk-F52NPQLI.cjs.map} +1 -1
  42. package/lib/{chunk-STPXKF53.js → chunk-H76I777K.js} +4 -4
  43. package/lib/{chunk-STPXKF53.js.map → chunk-H76I777K.js.map} +1 -1
  44. package/lib/{chunk-3ILNEP2F.cjs → chunk-HKSMUVBZ.cjs} +26 -26
  45. package/lib/{chunk-3ILNEP2F.cjs.map → chunk-HKSMUVBZ.cjs.map} +1 -1
  46. package/lib/{chunk-IRFPCJTG.js → chunk-IRSVIAA3.js} +3 -3
  47. package/lib/chunk-IRSVIAA3.js.map +1 -0
  48. package/lib/{chunk-WMUY7Z2Q.js → chunk-JEP7T7W5.js} +3 -3
  49. package/lib/chunk-JEP7T7W5.js.map +1 -0
  50. package/lib/{chunk-KO4FQ4V2.cjs → chunk-JO4BHGCD.cjs} +4 -4
  51. package/lib/chunk-JO4BHGCD.cjs.map +1 -0
  52. package/lib/{chunk-6FB54J7W.cjs → chunk-KOCBBI6X.cjs} +4 -4
  53. package/lib/chunk-KOCBBI6X.cjs.map +1 -0
  54. package/lib/{chunk-KT6LCJJQ.js → chunk-LWRSBPJL.js} +3 -3
  55. package/lib/chunk-LWRSBPJL.js.map +1 -0
  56. package/lib/{chunk-TY46WNR6.cjs → chunk-NYLVQKFV.cjs} +8 -8
  57. package/lib/{chunk-TY46WNR6.cjs.map → chunk-NYLVQKFV.cjs.map} +1 -1
  58. package/lib/{chunk-ECGUWRRG.js → chunk-OJYX2GPK.js} +3 -3
  59. package/lib/chunk-OJYX2GPK.js.map +1 -0
  60. package/lib/{chunk-YUNEDDTL.js → chunk-OO2DV22U.js} +14 -14
  61. package/lib/{chunk-YUNEDDTL.js.map → chunk-OO2DV22U.js.map} +1 -1
  62. package/lib/{chunk-FRLV5YFL.cjs → chunk-PG4GQVZI.cjs} +4 -4
  63. package/lib/{chunk-FRLV5YFL.cjs.map → chunk-PG4GQVZI.cjs.map} +1 -1
  64. package/lib/{chunk-CWXGTX7W.js → chunk-PKQGWLOZ.js} +4 -4
  65. package/lib/{chunk-CWXGTX7W.js.map → chunk-PKQGWLOZ.js.map} +1 -1
  66. package/lib/{chunk-FMHTNUZ4.cjs → chunk-RADEEFOM.cjs} +4 -4
  67. package/lib/chunk-RADEEFOM.cjs.map +1 -0
  68. package/lib/chunk-T7GAOLT5.js +12 -0
  69. package/lib/chunk-T7GAOLT5.js.map +1 -0
  70. package/lib/{chunk-XS6QLJHG.cjs → chunk-TVU45BYJ.cjs} +5 -5
  71. package/lib/chunk-TVU45BYJ.cjs.map +1 -0
  72. package/lib/{chunk-LTIWXCVE.js → chunk-VGP6LU6F.js} +3 -3
  73. package/lib/{chunk-LTIWXCVE.js.map → chunk-VGP6LU6F.js.map} +1 -1
  74. package/lib/{chunk-TXONK7R5.cjs → chunk-VUWMD2QC.cjs} +4 -4
  75. package/lib/chunk-VUWMD2QC.cjs.map +1 -0
  76. package/lib/{chunk-I4LPOTDO.js → chunk-YT2JKVV4.js} +3 -3
  77. package/lib/{chunk-I4LPOTDO.js.map → chunk-YT2JKVV4.js.map} +1 -1
  78. package/lib/{chunk-G4JBHI2H.js → chunk-ZJNUYDXX.js} +3 -3
  79. package/lib/chunk-ZJNUYDXX.js.map +1 -0
  80. package/lib/commercelayer.cjs +10 -10
  81. package/lib/commercelayer.d.cts +2 -2
  82. package/lib/commercelayer.d.ts +2 -2
  83. package/lib/commercelayer.js +4 -4
  84. package/lib/enum.d.cts +1 -1
  85. package/lib/enum.d.ts +1 -1
  86. package/lib/index.cjs +22 -22
  87. package/lib/index.cjs.map +1 -1
  88. package/lib/index.d.cts +1 -1
  89. package/lib/index.d.ts +1 -1
  90. package/lib/index.js +17 -17
  91. package/lib/index.js.map +1 -1
  92. package/lib/model.d.cts +1 -1
  93. package/lib/model.d.ts +1 -1
  94. package/lib/resources/api_credentials.cjs +5 -5
  95. package/lib/resources/api_credentials.d.cts +2 -2
  96. package/lib/resources/api_credentials.d.ts +1 -1
  97. package/lib/resources/api_credentials.js +4 -4
  98. package/lib/resources/application_memberships.cjs +5 -5
  99. package/lib/resources/application_memberships.d.cts +2 -2
  100. package/lib/resources/application_memberships.d.ts +1 -1
  101. package/lib/resources/application_memberships.js +4 -4
  102. package/lib/resources/identity_providers.cjs +5 -5
  103. package/lib/resources/identity_providers.d.cts +2 -2
  104. package/lib/resources/identity_providers.d.ts +1 -1
  105. package/lib/resources/identity_providers.js +4 -4
  106. package/lib/resources/membership_profiles.cjs +5 -5
  107. package/lib/resources/membership_profiles.d.cts +2 -2
  108. package/lib/resources/membership_profiles.d.ts +1 -1
  109. package/lib/resources/membership_profiles.js +4 -4
  110. package/lib/resources/memberships.cjs +5 -5
  111. package/lib/resources/memberships.d.cts +2 -2
  112. package/lib/resources/memberships.d.ts +1 -1
  113. package/lib/resources/memberships.js +4 -4
  114. package/lib/resources/organizations.cjs +5 -5
  115. package/lib/resources/organizations.d.cts +2 -2
  116. package/lib/resources/organizations.d.ts +1 -1
  117. package/lib/resources/organizations.js +4 -4
  118. package/lib/resources/permissions.cjs +5 -5
  119. package/lib/resources/permissions.d.cts +2 -2
  120. package/lib/resources/permissions.d.ts +1 -1
  121. package/lib/resources/permissions.js +4 -4
  122. package/lib/resources/roles.cjs +5 -5
  123. package/lib/resources/roles.d.cts +2 -2
  124. package/lib/resources/roles.d.ts +1 -1
  125. package/lib/resources/roles.js +4 -4
  126. package/lib/resources/users.cjs +5 -5
  127. package/lib/resources/users.d.cts +2 -2
  128. package/lib/resources/users.d.ts +1 -1
  129. package/lib/resources/users.js +4 -4
  130. package/lib/resources/versions.cjs +5 -5
  131. package/lib/resources/versions.d.cts +2 -2
  132. package/lib/resources/versions.d.ts +1 -1
  133. package/lib/resources/versions.js +4 -4
  134. package/lib/static.cjs +6 -6
  135. package/lib/static.d.cts +1 -1
  136. package/lib/static.d.ts +1 -1
  137. package/lib/static.js +5 -5
  138. package/lib/version.cjs +4 -4
  139. package/lib/version.d.cts +1 -1
  140. package/lib/version.d.ts +1 -1
  141. package/lib/version.js +1 -1
  142. package/package.json +8 -8
  143. package/lib/chunk-3NDVX4SE.cjs.map +0 -1
  144. package/lib/chunk-3PJNJ7B6.js.map +0 -1
  145. package/lib/chunk-6FB54J7W.cjs.map +0 -1
  146. package/lib/chunk-7YEOUGXO.js.map +0 -1
  147. package/lib/chunk-DYMRH6LP.cjs.map +0 -1
  148. package/lib/chunk-ECGUWRRG.js.map +0 -1
  149. package/lib/chunk-EVDEBFHZ.cjs.map +0 -1
  150. package/lib/chunk-FMHTNUZ4.cjs.map +0 -1
  151. package/lib/chunk-G4JBHI2H.js.map +0 -1
  152. package/lib/chunk-GHXKZEH7.js.map +0 -1
  153. package/lib/chunk-IRFPCJTG.js.map +0 -1
  154. package/lib/chunk-KO4FQ4V2.cjs.map +0 -1
  155. package/lib/chunk-KT6LCJJQ.js.map +0 -1
  156. package/lib/chunk-MHV7FMLE.cjs.map +0 -1
  157. package/lib/chunk-NDKGLF4B.cjs.map +0 -1
  158. package/lib/chunk-OROPOAHK.cjs.map +0 -1
  159. package/lib/chunk-SQLX22US.js +0 -12
  160. package/lib/chunk-SQLX22US.js.map +0 -1
  161. package/lib/chunk-T2U6MUX4.js.map +0 -1
  162. package/lib/chunk-TXONK7R5.cjs.map +0 -1
  163. package/lib/chunk-WMUY7Z2Q.js.map +0 -1
  164. package/lib/chunk-XS6QLJHG.cjs.map +0 -1
  165. package/lib/chunk-ZWZHZ4SU.js.map +0 -1
package/README.md CHANGED
@@ -18,6 +18,7 @@ A JavaScript Library wrapper that makes it quick and easy to interact with the [
18
18
  - [Authentication](#authentication)
19
19
  - [Import](#import)
20
20
  - [Options](#options)
21
+ - [API version](#api-version)
21
22
  - [SDK usage](#sdk-usage)
22
23
  - [Overriding credentials](#overriding-credentials)
23
24
  - [Handling validation errors](#handling-validation-errors)
@@ -58,8 +59,9 @@ You can use the ES6 default import with the SDK like so:
58
59
  ```javascript
59
60
  import CommerceLayerProvisioning from '@commercelayer/provisioning-sdk'
60
61
 
61
- const cl = CommerceLayer({
62
- accessToken: 'your-access-token'
62
+ const clp = CommerceLayerProvisioning({
63
+ accessToken: 'your-access-token',
64
+ apiVersion: '2026-05'
63
65
  })
64
66
  ```
65
67
 
@@ -70,6 +72,7 @@ When instantiating a new SDK client you can pass some options to initialize it:
70
72
  ```javascript
71
73
  {
72
74
  accessToken: string // A valid API access token
75
+ apiVersion: ApiVersion // The API version to target, e.g. '2026-05' — required, see API version below
73
76
  timeout?: number // A custom request timout (<= 15 secs [default])
74
77
  headers?: RequestHeaders // Custom request headers
75
78
  userAgent?: string // Custom user-agent useful in certaing contexts but often not allowed by browsers
@@ -84,15 +87,31 @@ Same options can be changed after SDK initialization or passed at runtime while
84
87
  const options = { ... }
85
88
 
86
89
  // Instantiate the client using desired options
87
- const clp = CommerceLayer(options)
90
+ const clp = CommerceLayerProvisioning(options)
88
91
 
89
92
  // Change configuration after client cteation
90
93
  clp.config(options)
91
94
 
92
95
  // Use runtime configuration without persisting settings
93
- clp.customers.organizations({}, options)
96
+ clp.organizations.list({}, options)
94
97
  ```
95
98
 
99
+ ### API version
100
+
101
+ The Provisioning API is versioned, and every request targets a single version. `apiVersion` is therefore **required** when creating a client, and becomes part of each request URL — `/api/2026-05/organizations`.
102
+
103
+ Only the versions this release of the SDK was generated for are accepted; any other value is a type error. Both are exported:
104
+
105
+ ```javascript
106
+ import { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS } from '@commercelayer/provisioning-sdk'
107
+
108
+ API_SUPPORTED_VERSIONS // ['2026-05'] — the versions you can target
109
+ API_SCHEMA_VERSION // '2026-05' — the version the types describe
110
+ ```
111
+
112
+ > [!IMPORTANT]
113
+ > Upgrading from 2.x: `apiVersion` is new and required, so every `CommerceLayerProvisioning(...)` call needs it.
114
+
96
115
  ## SDK usage
97
116
 
98
117
  The JavaScript Provisioning SDK is a wrapper around Commerce Layer Provisioning API which means you would still be making API requests but with a different syntax. For now, we don't have comprehensive SDK documentation for every single resource our API supports, hence you will need to rely on our comprehensive [Provisioning API Reference](https://docs.commercelayer.io/provisioning/v/api-reference-p) as you go about using this SDK. So for example, if you want to create a role, take a look at the [Role object](https://docs.commercelayer.io/provisioning/v/api-reference-p/role/object) or the [Create a role](https://docs.commercelayer.io/provisioning/v/api-reference-p/roles/create) documentation to see the required attributes and/or relationships. The same goes for every other supported resource.
@@ -108,9 +108,24 @@ interface ResourceBase {
108
108
  reference_origin?: string | null;
109
109
  metadata?: Metadata;
110
110
  }
111
+ /**
112
+ * The JSON:API `meta` member of a resource object — server-supplied facts about
113
+ * the resource rather than fields of it. Not to be confused with `metadata`,
114
+ * which is a user-writable attribute.
115
+ *
116
+ * Distinct from the document-level `meta` of a list response, which is what
117
+ * `ListMeta` reflects.
118
+ */
119
+ type ResourceMeta = {
120
+ /** The API version the resource was created with, when the API reports it. */
121
+ readonly created_with_version?: string;
122
+ readonly [key: string]: unknown;
123
+ };
111
124
  interface Resource extends ResourceBase, ResourceId {
112
125
  readonly created_at: string;
113
126
  readonly updated_at: string;
127
+ /** Present only when the API returns a `meta` member for this resource. */
128
+ readonly meta?: ResourceMeta;
114
129
  }
115
130
  interface ResourceCreate extends ResourceBase {
116
131
  }
@@ -233,27 +248,27 @@ interface Version extends Resource {
233
248
  * The type of the versioned resource.
234
249
  * @example ```"roles"```
235
250
  */
236
- resource_type?: string | null;
251
+ resource_type: string;
237
252
  /**
238
253
  * The versioned resource ID.
239
254
  * @example ```"PzdJhdLdYV"```
240
255
  */
241
- resource_id?: string | null;
256
+ resource_id: string;
242
257
  /**
243
258
  * The event which generates the version.
244
259
  * @example ```"update"```
245
260
  */
246
- event?: string | null;
261
+ event: string;
247
262
  /**
248
263
  * The object changes payload.
249
264
  * @example ```{"name":["previous","new"]}```
250
265
  */
251
- changes?: Record<string, any> | null;
266
+ changes: Record<string, any>;
252
267
  /**
253
268
  * Information about who triggered the change, only showed when it's from a JWT token.
254
269
  * @example ```{"application":{"id":"DNOPYiZYpn","kind":"integration","public":true}}```
255
270
  */
256
- who?: Record<string, any> | null;
271
+ who: Record<string, any>;
257
272
  }
258
273
  declare class Versions extends ApiResource<Version> {
259
274
  static readonly TYPE: VersionType;
@@ -387,7 +402,7 @@ interface Role extends Resource {
387
402
  * The kind of role, one of: `custom`, `admin`, `read_only`.
388
403
  * @example ```"custom"```
389
404
  */
390
- kind?: string | null;
405
+ kind: string;
391
406
  organization?: Organization | null;
392
407
  permissions?: Permission[] | null;
393
408
  memberships?: Membership[] | null;
@@ -464,12 +479,12 @@ interface Membership extends Resource {
464
479
  * The user first name.
465
480
  * @example ```"John"```
466
481
  */
467
- user_first_name?: string | null;
482
+ user_first_name: string;
468
483
  /**
469
484
  * The user last name.
470
485
  * @example ```"Doe"```
471
486
  */
472
- user_last_name?: string | null;
487
+ user_last_name: string;
473
488
  /**
474
489
  * The memberships status. One of `pending` (default), `active`.
475
490
  * @example ```"pending"```
@@ -479,12 +494,12 @@ interface Membership extends Resource {
479
494
  * Indicates if the user it's the owner of the organization.
480
495
  * @example ```true```
481
496
  */
482
- owner?: boolean | null;
497
+ owner: boolean;
483
498
  /**
484
499
  * Reflects the organization's access scope, either test_access or all_access.
485
500
  * @example ```true```
486
501
  */
487
- test_enabled?: boolean | null;
502
+ test_enabled: boolean;
488
503
  /**
489
504
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
490
505
  * @example ```"live_access"```
@@ -561,12 +576,12 @@ interface Organization extends Resource {
561
576
  * The organization's slug name.
562
577
  * @example ```"the-blue-brand"```
563
578
  */
564
- slug?: string | null;
579
+ slug: string;
565
580
  /**
566
581
  * The organization's domain.
567
582
  * @example ```"the-blue-brand.commercelayer.io"```
568
583
  */
569
- domain?: string | null;
584
+ domain: string;
570
585
  /**
571
586
  * The organization's support phone.
572
587
  * @example ```"+01 30800857"```
@@ -615,12 +630,12 @@ interface Organization extends Resource {
615
630
  /**
616
631
  * Indicates if the organization can switch to live mode.
617
632
  */
618
- can_switch_live?: boolean | null;
633
+ can_switch_live: boolean;
619
634
  /**
620
635
  * Information about the current subscription such as the plan type, limits, and subscription totals counter.
621
636
  * @example ```{"plan_type":"growth","limits":{"markets":5,"skus":10000,"organizations":2,"memberships":5},"totals":{"organizations":1,"markets":0,"memberships":2,"skus":0}}```
622
637
  */
623
- subscription_info?: Record<string, any> | null;
638
+ subscription_info: Record<string, any>;
624
639
  /**
625
640
  * The organization's configuration.
626
641
  * @example ```{"mfe":{"language":"it-IT","default":{"links":{"cart":"https://cart.example.com/:order_id?accessToken=:access_token","checkout":"https://checkout.example.com/:order_id?accessToken=:access_token","identity":"https://example.com/login","microstore":"https://example.com/microstore/?accessToken=:access_token","my_account":"https://example.com/my-custom-account?accessToken=:access_token"},"checkout":{"optional_billing_info":false,"thankyou_page":"https://example.com/thanks/:lang/:order_id","billing_countries":[{"value":"ES","label":"Espana"},{"value":"IT","label":"Italia"},{"value":"US","label":"Unites States of America"}],"shipping_countries":[{"value":"ES","label":"Espana"},{"value":"IT","label":"Italia"},{"value":"US","label":"Unites States of America"}],"billing_states":{"FR":[{"value":"PA","label":"Paris"},{"value":"LY","label":"Lyon"},{"value":"NI","label":"Nice"},{"value":"MA","label":"Marseille"},{"value":"BO","label":"Bordeaux"}]},"shipping_states":{"FR":[{"value":"PA","label":"Paris"},{"value":"LY","label":"Lyon"},{"value":"NI","label":"Nice"},{"value":"MA","label":"Marseille"},{"value":"BO","label":"Bordeaux"}]},"default_country":"US"},"urls":{"privacy":"https://example.com/privacy/:lang","terms":"https://example.com/terms/:lang"}},"market:id:ZKcv13rT":{"links":{"cart":"https://example.com/custom-cart/:order_id?accessToken=:access_token"},"checkout":{"thankyou_page":"https://example.com/thanks/:order_id"}}},"well-known":{"shopping":{"catalog_mcp_url":"https://catalog-mcp.example.com/mcp","client_id":"abc123example","locale_scopes":{"it-IT":{"id":"ZKcv13rT"},"en-US":{"id":"ZKcv13rT"}},"ui":{"domain":"","csp":{"resourceDomains":["https://data.commercelayer.app","https://cdn.brand.com"],"baseUriDomains":[],"connectDomains":[],"frameDomains":[]}}}}}```
@@ -752,6 +767,11 @@ interface Organization extends Resource {
752
767
  * @example ```40```
753
768
  */
754
769
  gift_cards_max_code_length?: number | null;
770
+ /**
771
+ * Enables automatic restoration of the gift card balance when an order is cancelled or reopened for editing, default is {GIFT_CARDS_AUTO_RESTORE}.
772
+ * @example ```true```
773
+ */
774
+ gift_cards_auto_restore?: boolean | null;
755
775
  /**
756
776
  * The maximum number of concurrent cleanups allowed for your organization, default is {CLEANUPS_MAX_CONCURRENT_COUNT}.
757
777
  * @example ```10```
@@ -850,6 +870,10 @@ interface Organization extends Resource {
850
870
  * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.
851
871
  */
852
872
  payment_gateways_transaction_on_event?: boolean | null;
873
+ /**
874
+ * Enables blocking a new refund (or compensation) on a capture while an earlier async refund on the same capture is still unresolved.
875
+ */
876
+ refunds_check_for_pending?: boolean | null;
853
877
  memberships?: Membership[] | null;
854
878
  roles?: Role[] | null;
855
879
  permissions?: Permission[] | null;
@@ -1007,7 +1031,7 @@ interface MembershipProfile extends Resource {
1007
1031
  * Reflects the organization's access scope, either test_access or all_access.
1008
1032
  * @example ```true```
1009
1033
  */
1010
- test_enabled?: boolean | null;
1034
+ test_enabled: boolean;
1011
1035
  /**
1012
1036
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
1013
1037
  * @example ```"live_access"```
@@ -1151,12 +1175,12 @@ interface User extends Resource {
1151
1175
  */
1152
1176
  email: string;
1153
1177
  /**
1154
- * The user first name.
1178
+ * The user first name. Maximum 100 characters. HTML is stripped.
1155
1179
  * @example ```"John"```
1156
1180
  */
1157
1181
  first_name: string;
1158
1182
  /**
1159
- * The user last name.
1183
+ * The user last name. Maximum 100 characters. HTML is stripped.
1160
1184
  * @example ```"Doe"```
1161
1185
  */
1162
1186
  last_name: string;
@@ -1169,7 +1193,7 @@ interface User extends Resource {
1169
1193
  * The user 2FA setting.
1170
1194
  * @example ```true```
1171
1195
  */
1172
- otp_required_for_login?: boolean | null;
1196
+ otp_required_for_login: boolean;
1173
1197
  }
1174
1198
  interface UserUpdate extends SingletonUpdate {
1175
1199
  /**
@@ -1178,12 +1202,12 @@ interface UserUpdate extends SingletonUpdate {
1178
1202
  */
1179
1203
  email?: string | null;
1180
1204
  /**
1181
- * The user first name.
1205
+ * The user first name. Maximum 100 characters. HTML is stripped.
1182
1206
  * @example ```"John"```
1183
1207
  */
1184
1208
  first_name?: string | null;
1185
1209
  /**
1186
- * The user last name.
1210
+ * The user last name. Maximum 100 characters. HTML is stripped.
1187
1211
  * @example ```"Doe"```
1188
1212
  */
1189
1213
  last_name?: string | null;
@@ -1265,7 +1289,7 @@ interface IdentityProvider extends Resource {
1265
1289
  * The TXT record value used to check the domain.
1266
1290
  * @example ```"cl-verification=a6CDk5v"```
1267
1291
  */
1268
- txt_record?: string | null;
1292
+ txt_record: string;
1269
1293
  /**
1270
1294
  * The organization identifier for authorize params.
1271
1295
  * @example ```"org_76gsfs5gd"```
@@ -1539,7 +1563,7 @@ interface ApiCredential extends Resource {
1539
1563
  * Indicates if the API credential it's confidential.
1540
1564
  * @example ```true```
1541
1565
  */
1542
- confidential?: boolean | null;
1566
+ confidential: boolean;
1543
1567
  /**
1544
1568
  * The API credential redirect URI.
1545
1569
  * @example ```"https://bluebrand.com/img/logo.svg"```
@@ -1549,17 +1573,17 @@ interface ApiCredential extends Resource {
1549
1573
  * The API credential unique ID.
1550
1574
  * @example ```"xxxx-yyyy-zzzz"```
1551
1575
  */
1552
- client_id?: string | null;
1576
+ client_id: string;
1553
1577
  /**
1554
1578
  * The API credential unique secret.
1555
1579
  * @example ```"xxxx-yyyy-zzzz"```
1556
1580
  */
1557
- client_secret?: string | null;
1581
+ client_secret: string;
1558
1582
  /**
1559
1583
  * The API credential scopes.
1560
1584
  * @example ```"market:all market:9 market:122 market:6 stock_location:6 stock_location:33"```
1561
1585
  */
1562
- scopes?: string | null;
1586
+ scopes: string;
1563
1587
  /**
1564
1588
  * The lifetime of the access token in seconds (min. `7200`, max. `31536000`. Default is `14400` for Sales channels and `7200` for other client types).
1565
1589
  * @example ```7200```
@@ -1642,4 +1666,4 @@ declare class ApiCredentials extends ApiResource<ApiCredential> {
1642
1666
  }
1643
1667
  declare const instance: ApiCredentials;
1644
1668
 
1645
- export { type QueryFilter as $, type ApiCredential as A, type MembershipProfileSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipProfileUpdate as F, MembershipProfiles as G, type HeadersObj as H, type IdentityProvider as I, type MembershipSort as J, type MembershipUpdate as K, type ListMeta as L, type Membership as M, Memberships as N, type Metadata as O, type Organization as P, type OrganizationCreate as Q, type ResourceFields as R, type OrganizationSort as S, type OrganizationUpdate as T, Organizations as U, type Permission as V, type PermissionCreate as W, type PermissionSort as X, type PermissionUpdate as Y, Permissions as Z, type QueryFields as _, type ResourceSortFields as a, creatableResources as a$, type QueryInclude as a0, type QueryPageCursor as a1, type QueryPageNumber as a2, type QueryPageSize as a3, type QueryParams as a4, type QueryParamsList as a5, type QueryParamsRetrieve as a6, type QuerySort as a7, type RequestObj as a8, type Resource as a9, Versions as aA, resourceList as aB, singletonList as aC, ResourceAdapter as aD, type RequestInterceptor as aE, type ErrorInterceptor as aF, type ResponseInterceptor as aG, type InterceptorType as aH, type RawResponseReader as aI, type VersionType as aJ, instance$9 as aK, type PermissionType as aL, instance$8 as aM, type RoleType as aN, instance$7 as aO, type MembershipType as aP, instance$6 as aQ, type OrganizationType as aR, instance$5 as aS, type MembershipProfileType as aT, instance$4 as aU, type ApplicationMembershipType as aV, instance$3 as aW, type UserType as aX, instance$2 as aY, type IdentityProviderType as aZ, instance$1 as a_, type ResourceCreate as aa, type ResourceFilter as ab, type ResourceId as ac, type ResourceRel as ad, type ResourceSort as ae, type ResourceType as af, type ResourceUpdate as ag, type ResourcesConfig as ah, type ResourcesInitConfig as ai, type ResponseObj as aj, type RetrievableResource as ak, type RetrievableResourceType as al, type Role as am, type RoleCreate as an, type RoleSort as ao, type RoleUpdate as ap, Roles as aq, type SingletonUpdate as ar, type UpdatableResource as as, type UpdatableResourceType as at, type User as au, type UserSort as av, type UserUpdate as aw, Users as ax, type Version as ay, type VersionSort as az, type ResourceTypeLock as b, deletableResources as b0, getSingletons as b1, isCreatable as b2, isDeletable as b3, isSingleton as b4, isUpdatable as b5, updatableResources as b6, type ApiCredentialType as b7, instance as b8, type ApiCredentialCreate as c, type ApiCredentialSort as d, type ApiCredentialUpdate as e, ApiCredentials as f, getResources as g, ApiResource as h, ApiSingleton as i, type ApplicationMembership as j, type ApplicationMembershipCreate as k, type ApplicationMembershipSort as l, type ApplicationMembershipUpdate as m, ApplicationMemberships as n, type CreatableResourceType as o, type DeletableResourceType as p, type IdentityProviderCreate as q, type IdentityProviderSort as r, type IdentityProviderUpdate as s, IdentityProviders as t, ListResponse as u, type ListableResource as v, type ListableResourceType as w, type MembershipCreate as x, type MembershipProfile as y, type MembershipProfileCreate as z };
1669
+ export { type QueryFilter as $, type ApiCredential as A, type MembershipProfileSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipProfileUpdate as F, MembershipProfiles as G, type HeadersObj as H, type IdentityProvider as I, type MembershipSort as J, type MembershipUpdate as K, type ListMeta as L, type Membership as M, Memberships as N, type Metadata as O, type Organization as P, type OrganizationCreate as Q, type ResourceFields as R, type OrganizationSort as S, type OrganizationUpdate as T, Organizations as U, type Permission as V, type PermissionCreate as W, type PermissionSort as X, type PermissionUpdate as Y, Permissions as Z, type QueryFields as _, type ResourceSortFields as a, instance$1 as a$, type QueryInclude as a0, type QueryPageCursor as a1, type QueryPageNumber as a2, type QueryPageSize as a3, type QueryParams as a4, type QueryParamsList as a5, type QueryParamsRetrieve as a6, type QuerySort as a7, type RequestObj as a8, type Resource as a9, type VersionSort as aA, Versions as aB, resourceList as aC, singletonList as aD, ResourceAdapter as aE, type RequestInterceptor as aF, type ErrorInterceptor as aG, type ResponseInterceptor as aH, type InterceptorType as aI, type RawResponseReader as aJ, type VersionType as aK, instance$9 as aL, type PermissionType as aM, instance$8 as aN, type RoleType as aO, instance$7 as aP, type MembershipType as aQ, instance$6 as aR, type OrganizationType as aS, instance$5 as aT, type MembershipProfileType as aU, instance$4 as aV, type ApplicationMembershipType as aW, instance$3 as aX, type UserType as aY, instance$2 as aZ, type IdentityProviderType as a_, type ResourceCreate as aa, type ResourceFilter as ab, type ResourceId as ac, type ResourceMeta as ad, type ResourceRel as ae, type ResourceSort as af, type ResourceType as ag, type ResourceUpdate as ah, type ResourcesConfig as ai, type ResourcesInitConfig as aj, type ResponseObj as ak, type RetrievableResource as al, type RetrievableResourceType as am, type Role as an, type RoleCreate as ao, type RoleSort as ap, type RoleUpdate as aq, Roles as ar, type SingletonUpdate as as, type UpdatableResource as at, type UpdatableResourceType as au, type User as av, type UserSort as aw, type UserUpdate as ax, Users as ay, type Version as az, type ResourceTypeLock as b, creatableResources as b0, deletableResources as b1, getSingletons as b2, isCreatable as b3, isDeletable as b4, isSingleton as b5, isUpdatable as b6, updatableResources as b7, type ApiCredentialType as b8, instance as b9, type ApiCredentialCreate as c, type ApiCredentialSort as d, type ApiCredentialUpdate as e, ApiCredentials as f, getResources as g, ApiResource as h, ApiSingleton as i, type ApplicationMembership as j, type ApplicationMembershipCreate as k, type ApplicationMembershipSort as l, type ApplicationMembershipUpdate as m, ApplicationMemberships as n, type CreatableResourceType as o, type DeletableResourceType as p, type IdentityProviderCreate as q, type IdentityProviderSort as r, type IdentityProviderUpdate as s, IdentityProviders as t, ListResponse as u, type ListableResource as v, type ListableResourceType as w, type MembershipCreate as x, type MembershipProfile as y, type MembershipProfileCreate as z };
@@ -108,9 +108,24 @@ interface ResourceBase {
108
108
  reference_origin?: string | null;
109
109
  metadata?: Metadata;
110
110
  }
111
+ /**
112
+ * The JSON:API `meta` member of a resource object — server-supplied facts about
113
+ * the resource rather than fields of it. Not to be confused with `metadata`,
114
+ * which is a user-writable attribute.
115
+ *
116
+ * Distinct from the document-level `meta` of a list response, which is what
117
+ * `ListMeta` reflects.
118
+ */
119
+ type ResourceMeta = {
120
+ /** The API version the resource was created with, when the API reports it. */
121
+ readonly created_with_version?: string;
122
+ readonly [key: string]: unknown;
123
+ };
111
124
  interface Resource extends ResourceBase, ResourceId {
112
125
  readonly created_at: string;
113
126
  readonly updated_at: string;
127
+ /** Present only when the API returns a `meta` member for this resource. */
128
+ readonly meta?: ResourceMeta;
114
129
  }
115
130
  interface ResourceCreate extends ResourceBase {
116
131
  }
@@ -233,27 +248,27 @@ interface Version extends Resource {
233
248
  * The type of the versioned resource.
234
249
  * @example ```"roles"```
235
250
  */
236
- resource_type?: string | null;
251
+ resource_type: string;
237
252
  /**
238
253
  * The versioned resource ID.
239
254
  * @example ```"PzdJhdLdYV"```
240
255
  */
241
- resource_id?: string | null;
256
+ resource_id: string;
242
257
  /**
243
258
  * The event which generates the version.
244
259
  * @example ```"update"```
245
260
  */
246
- event?: string | null;
261
+ event: string;
247
262
  /**
248
263
  * The object changes payload.
249
264
  * @example ```{"name":["previous","new"]}```
250
265
  */
251
- changes?: Record<string, any> | null;
266
+ changes: Record<string, any>;
252
267
  /**
253
268
  * Information about who triggered the change, only showed when it's from a JWT token.
254
269
  * @example ```{"application":{"id":"DNOPYiZYpn","kind":"integration","public":true}}```
255
270
  */
256
- who?: Record<string, any> | null;
271
+ who: Record<string, any>;
257
272
  }
258
273
  declare class Versions extends ApiResource<Version> {
259
274
  static readonly TYPE: VersionType;
@@ -387,7 +402,7 @@ interface Role extends Resource {
387
402
  * The kind of role, one of: `custom`, `admin`, `read_only`.
388
403
  * @example ```"custom"```
389
404
  */
390
- kind?: string | null;
405
+ kind: string;
391
406
  organization?: Organization | null;
392
407
  permissions?: Permission[] | null;
393
408
  memberships?: Membership[] | null;
@@ -464,12 +479,12 @@ interface Membership extends Resource {
464
479
  * The user first name.
465
480
  * @example ```"John"```
466
481
  */
467
- user_first_name?: string | null;
482
+ user_first_name: string;
468
483
  /**
469
484
  * The user last name.
470
485
  * @example ```"Doe"```
471
486
  */
472
- user_last_name?: string | null;
487
+ user_last_name: string;
473
488
  /**
474
489
  * The memberships status. One of `pending` (default), `active`.
475
490
  * @example ```"pending"```
@@ -479,12 +494,12 @@ interface Membership extends Resource {
479
494
  * Indicates if the user it's the owner of the organization.
480
495
  * @example ```true```
481
496
  */
482
- owner?: boolean | null;
497
+ owner: boolean;
483
498
  /**
484
499
  * Reflects the organization's access scope, either test_access or all_access.
485
500
  * @example ```true```
486
501
  */
487
- test_enabled?: boolean | null;
502
+ test_enabled: boolean;
488
503
  /**
489
504
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
490
505
  * @example ```"live_access"```
@@ -561,12 +576,12 @@ interface Organization extends Resource {
561
576
  * The organization's slug name.
562
577
  * @example ```"the-blue-brand"```
563
578
  */
564
- slug?: string | null;
579
+ slug: string;
565
580
  /**
566
581
  * The organization's domain.
567
582
  * @example ```"the-blue-brand.commercelayer.io"```
568
583
  */
569
- domain?: string | null;
584
+ domain: string;
570
585
  /**
571
586
  * The organization's support phone.
572
587
  * @example ```"+01 30800857"```
@@ -615,12 +630,12 @@ interface Organization extends Resource {
615
630
  /**
616
631
  * Indicates if the organization can switch to live mode.
617
632
  */
618
- can_switch_live?: boolean | null;
633
+ can_switch_live: boolean;
619
634
  /**
620
635
  * Information about the current subscription such as the plan type, limits, and subscription totals counter.
621
636
  * @example ```{"plan_type":"growth","limits":{"markets":5,"skus":10000,"organizations":2,"memberships":5},"totals":{"organizations":1,"markets":0,"memberships":2,"skus":0}}```
622
637
  */
623
- subscription_info?: Record<string, any> | null;
638
+ subscription_info: Record<string, any>;
624
639
  /**
625
640
  * The organization's configuration.
626
641
  * @example ```{"mfe":{"language":"it-IT","default":{"links":{"cart":"https://cart.example.com/:order_id?accessToken=:access_token","checkout":"https://checkout.example.com/:order_id?accessToken=:access_token","identity":"https://example.com/login","microstore":"https://example.com/microstore/?accessToken=:access_token","my_account":"https://example.com/my-custom-account?accessToken=:access_token"},"checkout":{"optional_billing_info":false,"thankyou_page":"https://example.com/thanks/:lang/:order_id","billing_countries":[{"value":"ES","label":"Espana"},{"value":"IT","label":"Italia"},{"value":"US","label":"Unites States of America"}],"shipping_countries":[{"value":"ES","label":"Espana"},{"value":"IT","label":"Italia"},{"value":"US","label":"Unites States of America"}],"billing_states":{"FR":[{"value":"PA","label":"Paris"},{"value":"LY","label":"Lyon"},{"value":"NI","label":"Nice"},{"value":"MA","label":"Marseille"},{"value":"BO","label":"Bordeaux"}]},"shipping_states":{"FR":[{"value":"PA","label":"Paris"},{"value":"LY","label":"Lyon"},{"value":"NI","label":"Nice"},{"value":"MA","label":"Marseille"},{"value":"BO","label":"Bordeaux"}]},"default_country":"US"},"urls":{"privacy":"https://example.com/privacy/:lang","terms":"https://example.com/terms/:lang"}},"market:id:ZKcv13rT":{"links":{"cart":"https://example.com/custom-cart/:order_id?accessToken=:access_token"},"checkout":{"thankyou_page":"https://example.com/thanks/:order_id"}}},"well-known":{"shopping":{"catalog_mcp_url":"https://catalog-mcp.example.com/mcp","client_id":"abc123example","locale_scopes":{"it-IT":{"id":"ZKcv13rT"},"en-US":{"id":"ZKcv13rT"}},"ui":{"domain":"","csp":{"resourceDomains":["https://data.commercelayer.app","https://cdn.brand.com"],"baseUriDomains":[],"connectDomains":[],"frameDomains":[]}}}}}```
@@ -752,6 +767,11 @@ interface Organization extends Resource {
752
767
  * @example ```40```
753
768
  */
754
769
  gift_cards_max_code_length?: number | null;
770
+ /**
771
+ * Enables automatic restoration of the gift card balance when an order is cancelled or reopened for editing, default is {GIFT_CARDS_AUTO_RESTORE}.
772
+ * @example ```true```
773
+ */
774
+ gift_cards_auto_restore?: boolean | null;
755
775
  /**
756
776
  * The maximum number of concurrent cleanups allowed for your organization, default is {CLEANUPS_MAX_CONCURRENT_COUNT}.
757
777
  * @example ```10```
@@ -850,6 +870,10 @@ interface Organization extends Resource {
850
870
  * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.
851
871
  */
852
872
  payment_gateways_transaction_on_event?: boolean | null;
873
+ /**
874
+ * Enables blocking a new refund (or compensation) on a capture while an earlier async refund on the same capture is still unresolved.
875
+ */
876
+ refunds_check_for_pending?: boolean | null;
853
877
  memberships?: Membership[] | null;
854
878
  roles?: Role[] | null;
855
879
  permissions?: Permission[] | null;
@@ -1007,7 +1031,7 @@ interface MembershipProfile extends Resource {
1007
1031
  * Reflects the organization's access scope, either test_access or all_access.
1008
1032
  * @example ```true```
1009
1033
  */
1010
- test_enabled?: boolean | null;
1034
+ test_enabled: boolean;
1011
1035
  /**
1012
1036
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
1013
1037
  * @example ```"live_access"```
@@ -1151,12 +1175,12 @@ interface User extends Resource {
1151
1175
  */
1152
1176
  email: string;
1153
1177
  /**
1154
- * The user first name.
1178
+ * The user first name. Maximum 100 characters. HTML is stripped.
1155
1179
  * @example ```"John"```
1156
1180
  */
1157
1181
  first_name: string;
1158
1182
  /**
1159
- * The user last name.
1183
+ * The user last name. Maximum 100 characters. HTML is stripped.
1160
1184
  * @example ```"Doe"```
1161
1185
  */
1162
1186
  last_name: string;
@@ -1169,7 +1193,7 @@ interface User extends Resource {
1169
1193
  * The user 2FA setting.
1170
1194
  * @example ```true```
1171
1195
  */
1172
- otp_required_for_login?: boolean | null;
1196
+ otp_required_for_login: boolean;
1173
1197
  }
1174
1198
  interface UserUpdate extends SingletonUpdate {
1175
1199
  /**
@@ -1178,12 +1202,12 @@ interface UserUpdate extends SingletonUpdate {
1178
1202
  */
1179
1203
  email?: string | null;
1180
1204
  /**
1181
- * The user first name.
1205
+ * The user first name. Maximum 100 characters. HTML is stripped.
1182
1206
  * @example ```"John"```
1183
1207
  */
1184
1208
  first_name?: string | null;
1185
1209
  /**
1186
- * The user last name.
1210
+ * The user last name. Maximum 100 characters. HTML is stripped.
1187
1211
  * @example ```"Doe"```
1188
1212
  */
1189
1213
  last_name?: string | null;
@@ -1265,7 +1289,7 @@ interface IdentityProvider extends Resource {
1265
1289
  * The TXT record value used to check the domain.
1266
1290
  * @example ```"cl-verification=a6CDk5v"```
1267
1291
  */
1268
- txt_record?: string | null;
1292
+ txt_record: string;
1269
1293
  /**
1270
1294
  * The organization identifier for authorize params.
1271
1295
  * @example ```"org_76gsfs5gd"```
@@ -1539,7 +1563,7 @@ interface ApiCredential extends Resource {
1539
1563
  * Indicates if the API credential it's confidential.
1540
1564
  * @example ```true```
1541
1565
  */
1542
- confidential?: boolean | null;
1566
+ confidential: boolean;
1543
1567
  /**
1544
1568
  * The API credential redirect URI.
1545
1569
  * @example ```"https://bluebrand.com/img/logo.svg"```
@@ -1549,17 +1573,17 @@ interface ApiCredential extends Resource {
1549
1573
  * The API credential unique ID.
1550
1574
  * @example ```"xxxx-yyyy-zzzz"```
1551
1575
  */
1552
- client_id?: string | null;
1576
+ client_id: string;
1553
1577
  /**
1554
1578
  * The API credential unique secret.
1555
1579
  * @example ```"xxxx-yyyy-zzzz"```
1556
1580
  */
1557
- client_secret?: string | null;
1581
+ client_secret: string;
1558
1582
  /**
1559
1583
  * The API credential scopes.
1560
1584
  * @example ```"market:all market:9 market:122 market:6 stock_location:6 stock_location:33"```
1561
1585
  */
1562
- scopes?: string | null;
1586
+ scopes: string;
1563
1587
  /**
1564
1588
  * The lifetime of the access token in seconds (min. `7200`, max. `31536000`. Default is `14400` for Sales channels and `7200` for other client types).
1565
1589
  * @example ```7200```
@@ -1642,4 +1666,4 @@ declare class ApiCredentials extends ApiResource<ApiCredential> {
1642
1666
  }
1643
1667
  declare const instance: ApiCredentials;
1644
1668
 
1645
- export { type QueryFilter as $, type ApiCredential as A, type MembershipProfileSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipProfileUpdate as F, MembershipProfiles as G, type HeadersObj as H, type IdentityProvider as I, type MembershipSort as J, type MembershipUpdate as K, type ListMeta as L, type Membership as M, Memberships as N, type Metadata as O, type Organization as P, type OrganizationCreate as Q, type ResourceFields as R, type OrganizationSort as S, type OrganizationUpdate as T, Organizations as U, type Permission as V, type PermissionCreate as W, type PermissionSort as X, type PermissionUpdate as Y, Permissions as Z, type QueryFields as _, type ResourceSortFields as a, creatableResources as a$, type QueryInclude as a0, type QueryPageCursor as a1, type QueryPageNumber as a2, type QueryPageSize as a3, type QueryParams as a4, type QueryParamsList as a5, type QueryParamsRetrieve as a6, type QuerySort as a7, type RequestObj as a8, type Resource as a9, Versions as aA, resourceList as aB, singletonList as aC, ResourceAdapter as aD, type RequestInterceptor as aE, type ErrorInterceptor as aF, type ResponseInterceptor as aG, type InterceptorType as aH, type RawResponseReader as aI, type VersionType as aJ, instance$9 as aK, type PermissionType as aL, instance$8 as aM, type RoleType as aN, instance$7 as aO, type MembershipType as aP, instance$6 as aQ, type OrganizationType as aR, instance$5 as aS, type MembershipProfileType as aT, instance$4 as aU, type ApplicationMembershipType as aV, instance$3 as aW, type UserType as aX, instance$2 as aY, type IdentityProviderType as aZ, instance$1 as a_, type ResourceCreate as aa, type ResourceFilter as ab, type ResourceId as ac, type ResourceRel as ad, type ResourceSort as ae, type ResourceType as af, type ResourceUpdate as ag, type ResourcesConfig as ah, type ResourcesInitConfig as ai, type ResponseObj as aj, type RetrievableResource as ak, type RetrievableResourceType as al, type Role as am, type RoleCreate as an, type RoleSort as ao, type RoleUpdate as ap, Roles as aq, type SingletonUpdate as ar, type UpdatableResource as as, type UpdatableResourceType as at, type User as au, type UserSort as av, type UserUpdate as aw, Users as ax, type Version as ay, type VersionSort as az, type ResourceTypeLock as b, deletableResources as b0, getSingletons as b1, isCreatable as b2, isDeletable as b3, isSingleton as b4, isUpdatable as b5, updatableResources as b6, type ApiCredentialType as b7, instance as b8, type ApiCredentialCreate as c, type ApiCredentialSort as d, type ApiCredentialUpdate as e, ApiCredentials as f, getResources as g, ApiResource as h, ApiSingleton as i, type ApplicationMembership as j, type ApplicationMembershipCreate as k, type ApplicationMembershipSort as l, type ApplicationMembershipUpdate as m, ApplicationMemberships as n, type CreatableResourceType as o, type DeletableResourceType as p, type IdentityProviderCreate as q, type IdentityProviderSort as r, type IdentityProviderUpdate as s, IdentityProviders as t, ListResponse as u, type ListableResource as v, type ListableResourceType as w, type MembershipCreate as x, type MembershipProfile as y, type MembershipProfileCreate as z };
1669
+ export { type QueryFilter as $, type ApiCredential as A, type MembershipProfileSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipProfileUpdate as F, MembershipProfiles as G, type HeadersObj as H, type IdentityProvider as I, type MembershipSort as J, type MembershipUpdate as K, type ListMeta as L, type Membership as M, Memberships as N, type Metadata as O, type Organization as P, type OrganizationCreate as Q, type ResourceFields as R, type OrganizationSort as S, type OrganizationUpdate as T, Organizations as U, type Permission as V, type PermissionCreate as W, type PermissionSort as X, type PermissionUpdate as Y, Permissions as Z, type QueryFields as _, type ResourceSortFields as a, instance$1 as a$, type QueryInclude as a0, type QueryPageCursor as a1, type QueryPageNumber as a2, type QueryPageSize as a3, type QueryParams as a4, type QueryParamsList as a5, type QueryParamsRetrieve as a6, type QuerySort as a7, type RequestObj as a8, type Resource as a9, type VersionSort as aA, Versions as aB, resourceList as aC, singletonList as aD, ResourceAdapter as aE, type RequestInterceptor as aF, type ErrorInterceptor as aG, type ResponseInterceptor as aH, type InterceptorType as aI, type RawResponseReader as aJ, type VersionType as aK, instance$9 as aL, type PermissionType as aM, instance$8 as aN, type RoleType as aO, instance$7 as aP, type MembershipType as aQ, instance$6 as aR, type OrganizationType as aS, instance$5 as aT, type MembershipProfileType as aU, instance$4 as aV, type ApplicationMembershipType as aW, instance$3 as aX, type UserType as aY, instance$2 as aZ, type IdentityProviderType as a_, type ResourceCreate as aa, type ResourceFilter as ab, type ResourceId as ac, type ResourceMeta as ad, type ResourceRel as ae, type ResourceSort as af, type ResourceType as ag, type ResourceUpdate as ah, type ResourcesConfig as ai, type ResourcesInitConfig as aj, type ResponseObj as ak, type RetrievableResource as al, type RetrievableResourceType as am, type Role as an, type RoleCreate as ao, type RoleSort as ap, type RoleUpdate as aq, Roles as ar, type SingletonUpdate as as, type UpdatableResource as at, type UpdatableResourceType as au, type User as av, type UserSort as aw, type UserUpdate as ax, Users as ay, type Version as az, type ResourceTypeLock as b, creatableResources as b0, deletableResources as b1, getSingletons as b2, isCreatable as b3, isDeletable as b4, isSingleton as b5, isUpdatable as b6, updatableResources as b7, type ApiCredentialType as b8, instance as b9, type ApiCredentialCreate as c, type ApiCredentialSort as d, type ApiCredentialUpdate as e, ApiCredentials as f, getResources as g, ApiResource as h, ApiSingleton as i, type ApplicationMembership as j, type ApplicationMembershipCreate as k, type ApplicationMembershipSort as l, type ApplicationMembershipUpdate as m, ApplicationMemberships as n, type CreatableResourceType as o, type DeletableResourceType as p, type IdentityProviderCreate as q, type IdentityProviderSort as r, type IdentityProviderUpdate as s, IdentityProviders as t, ListResponse as u, type ListableResource as v, type ListableResourceType as w, type MembershipCreate as x, type MembershipProfile as y, type MembershipProfileCreate as z };