@commercelayer/provisioning-sdk 3.0.0-beta.3 → 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 (161) hide show
  1. package/README.md +23 -4
  2. package/lib/{api-CrVODncY.d.ts → api-CnrR2t1g.d.ts} +34 -25
  3. package/lib/{api-DtxN9ZNI.d.cts → api-R3mMNn87.d.cts} +34 -25
  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-QTXYKCKC.js → chunk-2FZWJMYX.js} +5 -5
  17. package/lib/chunk-2FZWJMYX.js.map +1 -0
  18. package/lib/{chunk-4TC4U7TK.cjs → chunk-3UQ4UNHL.cjs} +6 -6
  19. package/lib/chunk-3UQ4UNHL.cjs.map +1 -0
  20. package/lib/{chunk-H5YSO3AX.cjs → chunk-5RZ2O2CJ.cjs} +10 -10
  21. package/lib/{chunk-H5YSO3AX.cjs.map → chunk-5RZ2O2CJ.cjs.map} +1 -1
  22. package/lib/{chunk-PBYGXPJ6.cjs → chunk-5V2JEFHA.cjs} +4 -4
  23. package/lib/chunk-5V2JEFHA.cjs.map +1 -0
  24. package/lib/{chunk-5VPJA5UV.js → chunk-7BSFPWED.js} +3 -3
  25. package/lib/chunk-7BSFPWED.js.map +1 -0
  26. package/lib/{chunk-HVYM2S4K.cjs → chunk-ATSYNXFW.cjs} +8 -8
  27. package/lib/{chunk-HVYM2S4K.cjs.map → chunk-ATSYNXFW.cjs.map} +1 -1
  28. package/lib/{chunk-43XNULI4.cjs → chunk-B77PPXQ4.cjs} +4 -4
  29. package/lib/chunk-B77PPXQ4.cjs.map +1 -0
  30. package/lib/{chunk-6FFP3YXV.js → chunk-BOAFNR4A.js} +3 -3
  31. package/lib/chunk-BOAFNR4A.js.map +1 -0
  32. package/lib/{chunk-2H27UDGO.cjs → chunk-C4PVJRMW.cjs} +4 -4
  33. package/lib/chunk-C4PVJRMW.cjs.map +1 -0
  34. package/lib/{chunk-OTK6VLW5.js → chunk-CR45TDCY.js} +3 -3
  35. package/lib/{chunk-OTK6VLW5.js.map → chunk-CR45TDCY.js.map} +1 -1
  36. package/lib/{chunk-NDCVBYCJ.js → chunk-D7JC6E6O.js} +3 -3
  37. package/lib/chunk-D7JC6E6O.js.map +1 -0
  38. package/lib/{chunk-EUMMY3TQ.cjs → chunk-EXABJOAU.cjs} +4 -4
  39. package/lib/chunk-EXABJOAU.cjs.map +1 -0
  40. package/lib/{chunk-YAVEKFKE.cjs → chunk-F52NPQLI.cjs} +4 -4
  41. package/lib/{chunk-YAVEKFKE.cjs.map → chunk-F52NPQLI.cjs.map} +1 -1
  42. package/lib/{chunk-6PWTKNOC.js → chunk-H76I777K.js} +4 -4
  43. package/lib/{chunk-6PWTKNOC.js.map → chunk-H76I777K.js.map} +1 -1
  44. package/lib/{chunk-LV5XV2UF.cjs → chunk-HKSMUVBZ.cjs} +26 -26
  45. package/lib/{chunk-LV5XV2UF.cjs.map → chunk-HKSMUVBZ.cjs.map} +1 -1
  46. package/lib/{chunk-BFBXXP4Q.js → chunk-IRSVIAA3.js} +3 -3
  47. package/lib/chunk-IRSVIAA3.js.map +1 -0
  48. package/lib/{chunk-3PE2OE6B.js → chunk-JEP7T7W5.js} +3 -3
  49. package/lib/chunk-JEP7T7W5.js.map +1 -0
  50. package/lib/{chunk-4PMMCL4I.cjs → chunk-JO4BHGCD.cjs} +4 -4
  51. package/lib/chunk-JO4BHGCD.cjs.map +1 -0
  52. package/lib/{chunk-XKY46RI6.cjs → chunk-KOCBBI6X.cjs} +4 -4
  53. package/lib/chunk-KOCBBI6X.cjs.map +1 -0
  54. package/lib/{chunk-RWUBFJZ6.js → chunk-LWRSBPJL.js} +3 -3
  55. package/lib/chunk-LWRSBPJL.js.map +1 -0
  56. package/lib/{chunk-DTORLDNE.cjs → chunk-NYLVQKFV.cjs} +8 -8
  57. package/lib/{chunk-DTORLDNE.cjs.map → chunk-NYLVQKFV.cjs.map} +1 -1
  58. package/lib/{chunk-LSEKNECC.js → chunk-OJYX2GPK.js} +3 -3
  59. package/lib/chunk-OJYX2GPK.js.map +1 -0
  60. package/lib/{chunk-6MIFOPOB.js → chunk-OO2DV22U.js} +14 -14
  61. package/lib/{chunk-6MIFOPOB.js.map → chunk-OO2DV22U.js.map} +1 -1
  62. package/lib/{chunk-73VBQFUA.cjs → chunk-PG4GQVZI.cjs} +4 -4
  63. package/lib/{chunk-73VBQFUA.cjs.map → chunk-PG4GQVZI.cjs.map} +1 -1
  64. package/lib/{chunk-6SNLYMKG.js → chunk-PKQGWLOZ.js} +4 -4
  65. package/lib/{chunk-6SNLYMKG.js.map → chunk-PKQGWLOZ.js.map} +1 -1
  66. package/lib/{chunk-MT2XP4UJ.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-DDFTZDVN.cjs → chunk-TVU45BYJ.cjs} +5 -5
  71. package/lib/chunk-TVU45BYJ.cjs.map +1 -0
  72. package/lib/{chunk-37LZALYC.js → chunk-VGP6LU6F.js} +3 -3
  73. package/lib/{chunk-37LZALYC.js.map → chunk-VGP6LU6F.js.map} +1 -1
  74. package/lib/{chunk-YYM7BH33.cjs → chunk-VUWMD2QC.cjs} +4 -4
  75. package/lib/chunk-VUWMD2QC.cjs.map +1 -0
  76. package/lib/{chunk-3AXLHEDT.js → chunk-YT2JKVV4.js} +3 -3
  77. package/lib/{chunk-3AXLHEDT.js.map → chunk-YT2JKVV4.js.map} +1 -1
  78. package/lib/{chunk-IRQX6AG3.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.d.cts +1 -1
  88. package/lib/index.d.ts +1 -1
  89. package/lib/index.js +17 -17
  90. package/lib/model.d.cts +1 -1
  91. package/lib/model.d.ts +1 -1
  92. package/lib/resources/api_credentials.cjs +5 -5
  93. package/lib/resources/api_credentials.d.cts +2 -2
  94. package/lib/resources/api_credentials.d.ts +1 -1
  95. package/lib/resources/api_credentials.js +4 -4
  96. package/lib/resources/application_memberships.cjs +5 -5
  97. package/lib/resources/application_memberships.d.cts +2 -2
  98. package/lib/resources/application_memberships.d.ts +1 -1
  99. package/lib/resources/application_memberships.js +4 -4
  100. package/lib/resources/identity_providers.cjs +5 -5
  101. package/lib/resources/identity_providers.d.cts +2 -2
  102. package/lib/resources/identity_providers.d.ts +1 -1
  103. package/lib/resources/identity_providers.js +4 -4
  104. package/lib/resources/membership_profiles.cjs +5 -5
  105. package/lib/resources/membership_profiles.d.cts +2 -2
  106. package/lib/resources/membership_profiles.d.ts +1 -1
  107. package/lib/resources/membership_profiles.js +4 -4
  108. package/lib/resources/memberships.cjs +5 -5
  109. package/lib/resources/memberships.d.cts +2 -2
  110. package/lib/resources/memberships.d.ts +1 -1
  111. package/lib/resources/memberships.js +4 -4
  112. package/lib/resources/organizations.cjs +5 -5
  113. package/lib/resources/organizations.d.cts +2 -2
  114. package/lib/resources/organizations.d.ts +1 -1
  115. package/lib/resources/organizations.js +4 -4
  116. package/lib/resources/permissions.cjs +5 -5
  117. package/lib/resources/permissions.d.cts +2 -2
  118. package/lib/resources/permissions.d.ts +1 -1
  119. package/lib/resources/permissions.js +4 -4
  120. package/lib/resources/roles.cjs +5 -5
  121. package/lib/resources/roles.d.cts +2 -2
  122. package/lib/resources/roles.d.ts +1 -1
  123. package/lib/resources/roles.js +4 -4
  124. package/lib/resources/users.cjs +5 -5
  125. package/lib/resources/users.d.cts +2 -2
  126. package/lib/resources/users.d.ts +1 -1
  127. package/lib/resources/users.js +4 -4
  128. package/lib/resources/versions.cjs +5 -5
  129. package/lib/resources/versions.d.cts +2 -2
  130. package/lib/resources/versions.d.ts +1 -1
  131. package/lib/resources/versions.js +4 -4
  132. package/lib/static.cjs +6 -6
  133. package/lib/static.d.cts +1 -1
  134. package/lib/static.d.ts +1 -1
  135. package/lib/static.js +5 -5
  136. package/lib/version.cjs +4 -4
  137. package/lib/version.d.cts +1 -1
  138. package/lib/version.d.ts +1 -1
  139. package/lib/version.js +1 -1
  140. package/package.json +8 -8
  141. package/lib/chunk-2H27UDGO.cjs.map +0 -1
  142. package/lib/chunk-3PE2OE6B.js.map +0 -1
  143. package/lib/chunk-43XNULI4.cjs.map +0 -1
  144. package/lib/chunk-4PMMCL4I.cjs.map +0 -1
  145. package/lib/chunk-4TC4U7TK.cjs.map +0 -1
  146. package/lib/chunk-5VPJA5UV.js.map +0 -1
  147. package/lib/chunk-6FFP3YXV.js.map +0 -1
  148. package/lib/chunk-BFBXXP4Q.js.map +0 -1
  149. package/lib/chunk-DDFTZDVN.cjs.map +0 -1
  150. package/lib/chunk-EUMMY3TQ.cjs.map +0 -1
  151. package/lib/chunk-IRQX6AG3.js.map +0 -1
  152. package/lib/chunk-LSEKNECC.js.map +0 -1
  153. package/lib/chunk-MT2XP4UJ.cjs.map +0 -1
  154. package/lib/chunk-NDCVBYCJ.js.map +0 -1
  155. package/lib/chunk-PBYGXPJ6.cjs.map +0 -1
  156. package/lib/chunk-QTXYKCKC.js.map +0 -1
  157. package/lib/chunk-RWUBFJZ6.js.map +0 -1
  158. package/lib/chunk-VVSV5FR6.js +0 -12
  159. package/lib/chunk-VVSV5FR6.js.map +0 -1
  160. package/lib/chunk-XKY46RI6.cjs.map +0 -1
  161. package/lib/chunk-YYM7BH33.cjs.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.
@@ -248,27 +248,27 @@ interface Version extends Resource {
248
248
  * The type of the versioned resource.
249
249
  * @example ```"roles"```
250
250
  */
251
- resource_type?: string | null;
251
+ resource_type: string;
252
252
  /**
253
253
  * The versioned resource ID.
254
254
  * @example ```"PzdJhdLdYV"```
255
255
  */
256
- resource_id?: string | null;
256
+ resource_id: string;
257
257
  /**
258
258
  * The event which generates the version.
259
259
  * @example ```"update"```
260
260
  */
261
- event?: string | null;
261
+ event: string;
262
262
  /**
263
263
  * The object changes payload.
264
264
  * @example ```{"name":["previous","new"]}```
265
265
  */
266
- changes?: Record<string, any> | null;
266
+ changes: Record<string, any>;
267
267
  /**
268
268
  * Information about who triggered the change, only showed when it's from a JWT token.
269
269
  * @example ```{"application":{"id":"DNOPYiZYpn","kind":"integration","public":true}}```
270
270
  */
271
- who?: Record<string, any> | null;
271
+ who: Record<string, any>;
272
272
  }
273
273
  declare class Versions extends ApiResource<Version> {
274
274
  static readonly TYPE: VersionType;
@@ -402,7 +402,7 @@ interface Role extends Resource {
402
402
  * The kind of role, one of: `custom`, `admin`, `read_only`.
403
403
  * @example ```"custom"```
404
404
  */
405
- kind?: string | null;
405
+ kind: string;
406
406
  organization?: Organization | null;
407
407
  permissions?: Permission[] | null;
408
408
  memberships?: Membership[] | null;
@@ -479,12 +479,12 @@ interface Membership extends Resource {
479
479
  * The user first name.
480
480
  * @example ```"John"```
481
481
  */
482
- user_first_name?: string | null;
482
+ user_first_name: string;
483
483
  /**
484
484
  * The user last name.
485
485
  * @example ```"Doe"```
486
486
  */
487
- user_last_name?: string | null;
487
+ user_last_name: string;
488
488
  /**
489
489
  * The memberships status. One of `pending` (default), `active`.
490
490
  * @example ```"pending"```
@@ -494,12 +494,12 @@ interface Membership extends Resource {
494
494
  * Indicates if the user it's the owner of the organization.
495
495
  * @example ```true```
496
496
  */
497
- owner?: boolean | null;
497
+ owner: boolean;
498
498
  /**
499
499
  * Reflects the organization's access scope, either test_access or all_access.
500
500
  * @example ```true```
501
501
  */
502
- test_enabled?: boolean | null;
502
+ test_enabled: boolean;
503
503
  /**
504
504
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
505
505
  * @example ```"live_access"```
@@ -576,12 +576,12 @@ interface Organization extends Resource {
576
576
  * The organization's slug name.
577
577
  * @example ```"the-blue-brand"```
578
578
  */
579
- slug?: string | null;
579
+ slug: string;
580
580
  /**
581
581
  * The organization's domain.
582
582
  * @example ```"the-blue-brand.commercelayer.io"```
583
583
  */
584
- domain?: string | null;
584
+ domain: string;
585
585
  /**
586
586
  * The organization's support phone.
587
587
  * @example ```"+01 30800857"```
@@ -630,12 +630,12 @@ interface Organization extends Resource {
630
630
  /**
631
631
  * Indicates if the organization can switch to live mode.
632
632
  */
633
- can_switch_live?: boolean | null;
633
+ can_switch_live: boolean;
634
634
  /**
635
635
  * Information about the current subscription such as the plan type, limits, and subscription totals counter.
636
636
  * @example ```{"plan_type":"growth","limits":{"markets":5,"skus":10000,"organizations":2,"memberships":5},"totals":{"organizations":1,"markets":0,"memberships":2,"skus":0}}```
637
637
  */
638
- subscription_info?: Record<string, any> | null;
638
+ subscription_info: Record<string, any>;
639
639
  /**
640
640
  * The organization's configuration.
641
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":[]}}}}}```
@@ -767,6 +767,11 @@ interface Organization extends Resource {
767
767
  * @example ```40```
768
768
  */
769
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;
770
775
  /**
771
776
  * The maximum number of concurrent cleanups allowed for your organization, default is {CLEANUPS_MAX_CONCURRENT_COUNT}.
772
777
  * @example ```10```
@@ -865,6 +870,10 @@ interface Organization extends Resource {
865
870
  * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.
866
871
  */
867
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;
868
877
  memberships?: Membership[] | null;
869
878
  roles?: Role[] | null;
870
879
  permissions?: Permission[] | null;
@@ -1022,7 +1031,7 @@ interface MembershipProfile extends Resource {
1022
1031
  * Reflects the organization's access scope, either test_access or all_access.
1023
1032
  * @example ```true```
1024
1033
  */
1025
- test_enabled?: boolean | null;
1034
+ test_enabled: boolean;
1026
1035
  /**
1027
1036
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
1028
1037
  * @example ```"live_access"```
@@ -1166,12 +1175,12 @@ interface User extends Resource {
1166
1175
  */
1167
1176
  email: string;
1168
1177
  /**
1169
- * The user first name.
1178
+ * The user first name. Maximum 100 characters. HTML is stripped.
1170
1179
  * @example ```"John"```
1171
1180
  */
1172
1181
  first_name: string;
1173
1182
  /**
1174
- * The user last name.
1183
+ * The user last name. Maximum 100 characters. HTML is stripped.
1175
1184
  * @example ```"Doe"```
1176
1185
  */
1177
1186
  last_name: string;
@@ -1184,7 +1193,7 @@ interface User extends Resource {
1184
1193
  * The user 2FA setting.
1185
1194
  * @example ```true```
1186
1195
  */
1187
- otp_required_for_login?: boolean | null;
1196
+ otp_required_for_login: boolean;
1188
1197
  }
1189
1198
  interface UserUpdate extends SingletonUpdate {
1190
1199
  /**
@@ -1193,12 +1202,12 @@ interface UserUpdate extends SingletonUpdate {
1193
1202
  */
1194
1203
  email?: string | null;
1195
1204
  /**
1196
- * The user first name.
1205
+ * The user first name. Maximum 100 characters. HTML is stripped.
1197
1206
  * @example ```"John"```
1198
1207
  */
1199
1208
  first_name?: string | null;
1200
1209
  /**
1201
- * The user last name.
1210
+ * The user last name. Maximum 100 characters. HTML is stripped.
1202
1211
  * @example ```"Doe"```
1203
1212
  */
1204
1213
  last_name?: string | null;
@@ -1280,7 +1289,7 @@ interface IdentityProvider extends Resource {
1280
1289
  * The TXT record value used to check the domain.
1281
1290
  * @example ```"cl-verification=a6CDk5v"```
1282
1291
  */
1283
- txt_record?: string | null;
1292
+ txt_record: string;
1284
1293
  /**
1285
1294
  * The organization identifier for authorize params.
1286
1295
  * @example ```"org_76gsfs5gd"```
@@ -1554,7 +1563,7 @@ interface ApiCredential extends Resource {
1554
1563
  * Indicates if the API credential it's confidential.
1555
1564
  * @example ```true```
1556
1565
  */
1557
- confidential?: boolean | null;
1566
+ confidential: boolean;
1558
1567
  /**
1559
1568
  * The API credential redirect URI.
1560
1569
  * @example ```"https://bluebrand.com/img/logo.svg"```
@@ -1564,17 +1573,17 @@ interface ApiCredential extends Resource {
1564
1573
  * The API credential unique ID.
1565
1574
  * @example ```"xxxx-yyyy-zzzz"```
1566
1575
  */
1567
- client_id?: string | null;
1576
+ client_id: string;
1568
1577
  /**
1569
1578
  * The API credential unique secret.
1570
1579
  * @example ```"xxxx-yyyy-zzzz"```
1571
1580
  */
1572
- client_secret?: string | null;
1581
+ client_secret: string;
1573
1582
  /**
1574
1583
  * The API credential scopes.
1575
1584
  * @example ```"market:all market:9 market:122 market:6 stock_location:6 stock_location:33"```
1576
1585
  */
1577
- scopes?: string | null;
1586
+ scopes: string;
1578
1587
  /**
1579
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).
1580
1589
  * @example ```7200```
@@ -248,27 +248,27 @@ interface Version extends Resource {
248
248
  * The type of the versioned resource.
249
249
  * @example ```"roles"```
250
250
  */
251
- resource_type?: string | null;
251
+ resource_type: string;
252
252
  /**
253
253
  * The versioned resource ID.
254
254
  * @example ```"PzdJhdLdYV"```
255
255
  */
256
- resource_id?: string | null;
256
+ resource_id: string;
257
257
  /**
258
258
  * The event which generates the version.
259
259
  * @example ```"update"```
260
260
  */
261
- event?: string | null;
261
+ event: string;
262
262
  /**
263
263
  * The object changes payload.
264
264
  * @example ```{"name":["previous","new"]}```
265
265
  */
266
- changes?: Record<string, any> | null;
266
+ changes: Record<string, any>;
267
267
  /**
268
268
  * Information about who triggered the change, only showed when it's from a JWT token.
269
269
  * @example ```{"application":{"id":"DNOPYiZYpn","kind":"integration","public":true}}```
270
270
  */
271
- who?: Record<string, any> | null;
271
+ who: Record<string, any>;
272
272
  }
273
273
  declare class Versions extends ApiResource<Version> {
274
274
  static readonly TYPE: VersionType;
@@ -402,7 +402,7 @@ interface Role extends Resource {
402
402
  * The kind of role, one of: `custom`, `admin`, `read_only`.
403
403
  * @example ```"custom"```
404
404
  */
405
- kind?: string | null;
405
+ kind: string;
406
406
  organization?: Organization | null;
407
407
  permissions?: Permission[] | null;
408
408
  memberships?: Membership[] | null;
@@ -479,12 +479,12 @@ interface Membership extends Resource {
479
479
  * The user first name.
480
480
  * @example ```"John"```
481
481
  */
482
- user_first_name?: string | null;
482
+ user_first_name: string;
483
483
  /**
484
484
  * The user last name.
485
485
  * @example ```"Doe"```
486
486
  */
487
- user_last_name?: string | null;
487
+ user_last_name: string;
488
488
  /**
489
489
  * The memberships status. One of `pending` (default), `active`.
490
490
  * @example ```"pending"```
@@ -494,12 +494,12 @@ interface Membership extends Resource {
494
494
  * Indicates if the user it's the owner of the organization.
495
495
  * @example ```true```
496
496
  */
497
- owner?: boolean | null;
497
+ owner: boolean;
498
498
  /**
499
499
  * Reflects the organization's access scope, either test_access or all_access.
500
500
  * @example ```true```
501
501
  */
502
- test_enabled?: boolean | null;
502
+ test_enabled: boolean;
503
503
  /**
504
504
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
505
505
  * @example ```"live_access"```
@@ -576,12 +576,12 @@ interface Organization extends Resource {
576
576
  * The organization's slug name.
577
577
  * @example ```"the-blue-brand"```
578
578
  */
579
- slug?: string | null;
579
+ slug: string;
580
580
  /**
581
581
  * The organization's domain.
582
582
  * @example ```"the-blue-brand.commercelayer.io"```
583
583
  */
584
- domain?: string | null;
584
+ domain: string;
585
585
  /**
586
586
  * The organization's support phone.
587
587
  * @example ```"+01 30800857"```
@@ -630,12 +630,12 @@ interface Organization extends Resource {
630
630
  /**
631
631
  * Indicates if the organization can switch to live mode.
632
632
  */
633
- can_switch_live?: boolean | null;
633
+ can_switch_live: boolean;
634
634
  /**
635
635
  * Information about the current subscription such as the plan type, limits, and subscription totals counter.
636
636
  * @example ```{"plan_type":"growth","limits":{"markets":5,"skus":10000,"organizations":2,"memberships":5},"totals":{"organizations":1,"markets":0,"memberships":2,"skus":0}}```
637
637
  */
638
- subscription_info?: Record<string, any> | null;
638
+ subscription_info: Record<string, any>;
639
639
  /**
640
640
  * The organization's configuration.
641
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":[]}}}}}```
@@ -767,6 +767,11 @@ interface Organization extends Resource {
767
767
  * @example ```40```
768
768
  */
769
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;
770
775
  /**
771
776
  * The maximum number of concurrent cleanups allowed for your organization, default is {CLEANUPS_MAX_CONCURRENT_COUNT}.
772
777
  * @example ```10```
@@ -865,6 +870,10 @@ interface Organization extends Resource {
865
870
  * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.
866
871
  */
867
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;
868
877
  memberships?: Membership[] | null;
869
878
  roles?: Role[] | null;
870
879
  permissions?: Permission[] | null;
@@ -1022,7 +1031,7 @@ interface MembershipProfile extends Resource {
1022
1031
  * Reflects the organization's access scope, either test_access or all_access.
1023
1032
  * @example ```true```
1024
1033
  */
1025
- test_enabled?: boolean | null;
1034
+ test_enabled: boolean;
1026
1035
  /**
1027
1036
  * The access scope for applications. One of `live_access` (default), `test_access`, `all_access`.
1028
1037
  * @example ```"live_access"```
@@ -1166,12 +1175,12 @@ interface User extends Resource {
1166
1175
  */
1167
1176
  email: string;
1168
1177
  /**
1169
- * The user first name.
1178
+ * The user first name. Maximum 100 characters. HTML is stripped.
1170
1179
  * @example ```"John"```
1171
1180
  */
1172
1181
  first_name: string;
1173
1182
  /**
1174
- * The user last name.
1183
+ * The user last name. Maximum 100 characters. HTML is stripped.
1175
1184
  * @example ```"Doe"```
1176
1185
  */
1177
1186
  last_name: string;
@@ -1184,7 +1193,7 @@ interface User extends Resource {
1184
1193
  * The user 2FA setting.
1185
1194
  * @example ```true```
1186
1195
  */
1187
- otp_required_for_login?: boolean | null;
1196
+ otp_required_for_login: boolean;
1188
1197
  }
1189
1198
  interface UserUpdate extends SingletonUpdate {
1190
1199
  /**
@@ -1193,12 +1202,12 @@ interface UserUpdate extends SingletonUpdate {
1193
1202
  */
1194
1203
  email?: string | null;
1195
1204
  /**
1196
- * The user first name.
1205
+ * The user first name. Maximum 100 characters. HTML is stripped.
1197
1206
  * @example ```"John"```
1198
1207
  */
1199
1208
  first_name?: string | null;
1200
1209
  /**
1201
- * The user last name.
1210
+ * The user last name. Maximum 100 characters. HTML is stripped.
1202
1211
  * @example ```"Doe"```
1203
1212
  */
1204
1213
  last_name?: string | null;
@@ -1280,7 +1289,7 @@ interface IdentityProvider extends Resource {
1280
1289
  * The TXT record value used to check the domain.
1281
1290
  * @example ```"cl-verification=a6CDk5v"```
1282
1291
  */
1283
- txt_record?: string | null;
1292
+ txt_record: string;
1284
1293
  /**
1285
1294
  * The organization identifier for authorize params.
1286
1295
  * @example ```"org_76gsfs5gd"```
@@ -1554,7 +1563,7 @@ interface ApiCredential extends Resource {
1554
1563
  * Indicates if the API credential it's confidential.
1555
1564
  * @example ```true```
1556
1565
  */
1557
- confidential?: boolean | null;
1566
+ confidential: boolean;
1558
1567
  /**
1559
1568
  * The API credential redirect URI.
1560
1569
  * @example ```"https://bluebrand.com/img/logo.svg"```
@@ -1564,17 +1573,17 @@ interface ApiCredential extends Resource {
1564
1573
  * The API credential unique ID.
1565
1574
  * @example ```"xxxx-yyyy-zzzz"```
1566
1575
  */
1567
- client_id?: string | null;
1576
+ client_id: string;
1568
1577
  /**
1569
1578
  * The API credential unique secret.
1570
1579
  * @example ```"xxxx-yyyy-zzzz"```
1571
1580
  */
1572
- client_secret?: string | null;
1581
+ client_secret: string;
1573
1582
  /**
1574
1583
  * The API credential scopes.
1575
1584
  * @example ```"market:all market:9 market:122 market:6 stock_location:6 stock_location:33"```
1576
1585
  */
1577
- scopes?: string | null;
1586
+ scopes: string;
1578
1587
  /**
1579
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).
1580
1589
  * @example ```7200```
package/lib/api.cjs CHANGED
@@ -1,62 +1,62 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-N567T7FT.cjs');
4
- var chunk73VBQFUA_cjs = require('./chunk-73VBQFUA.cjs');
5
- var chunk4PMMCL4I_cjs = require('./chunk-4PMMCL4I.cjs');
6
- var chunkXKY46RI6_cjs = require('./chunk-XKY46RI6.cjs');
7
- var chunkEUMMY3TQ_cjs = require('./chunk-EUMMY3TQ.cjs');
8
- var chunk43XNULI4_cjs = require('./chunk-43XNULI4.cjs');
9
- var chunkYAVEKFKE_cjs = require('./chunk-YAVEKFKE.cjs');
10
- var chunkYYM7BH33_cjs = require('./chunk-YYM7BH33.cjs');
11
- var chunk2H27UDGO_cjs = require('./chunk-2H27UDGO.cjs');
12
- var chunkMT2XP4UJ_cjs = require('./chunk-MT2XP4UJ.cjs');
13
- var chunkPBYGXPJ6_cjs = require('./chunk-PBYGXPJ6.cjs');
14
- require('./chunk-HVYM2S4K.cjs');
15
- require('./chunk-4TC4U7TK.cjs');
16
- require('./chunk-DDFTZDVN.cjs');
4
+ var chunkPG4GQVZI_cjs = require('./chunk-PG4GQVZI.cjs');
5
+ var chunkJO4BHGCD_cjs = require('./chunk-JO4BHGCD.cjs');
6
+ var chunkKOCBBI6X_cjs = require('./chunk-KOCBBI6X.cjs');
7
+ var chunkEXABJOAU_cjs = require('./chunk-EXABJOAU.cjs');
8
+ var chunkB77PPXQ4_cjs = require('./chunk-B77PPXQ4.cjs');
9
+ var chunkF52NPQLI_cjs = require('./chunk-F52NPQLI.cjs');
10
+ var chunkVUWMD2QC_cjs = require('./chunk-VUWMD2QC.cjs');
11
+ var chunkC4PVJRMW_cjs = require('./chunk-C4PVJRMW.cjs');
12
+ var chunkRADEEFOM_cjs = require('./chunk-RADEEFOM.cjs');
13
+ var chunk5V2JEFHA_cjs = require('./chunk-5V2JEFHA.cjs');
14
+ require('./chunk-ATSYNXFW.cjs');
15
+ require('./chunk-3UQ4UNHL.cjs');
16
+ require('./chunk-TVU45BYJ.cjs');
17
17
  require('./chunk-VFTFSHXQ.cjs');
18
18
 
19
19
 
20
20
 
21
21
  Object.defineProperty(exports, "permissions", {
22
22
  enumerable: true,
23
- get: function () { return chunk73VBQFUA_cjs.permissions_default; }
23
+ get: function () { return chunkPG4GQVZI_cjs.permissions_default; }
24
24
  });
25
25
  Object.defineProperty(exports, "roles", {
26
26
  enumerable: true,
27
- get: function () { return chunk4PMMCL4I_cjs.roles_default; }
27
+ get: function () { return chunkJO4BHGCD_cjs.roles_default; }
28
28
  });
29
29
  Object.defineProperty(exports, "user", {
30
30
  enumerable: true,
31
- get: function () { return chunkXKY46RI6_cjs.users_default; }
31
+ get: function () { return chunkKOCBBI6X_cjs.users_default; }
32
32
  });
33
33
  Object.defineProperty(exports, "versions", {
34
34
  enumerable: true,
35
- get: function () { return chunkEUMMY3TQ_cjs.versions_default; }
35
+ get: function () { return chunkEXABJOAU_cjs.versions_default; }
36
36
  });
37
37
  Object.defineProperty(exports, "api_credentials", {
38
38
  enumerable: true,
39
- get: function () { return chunk43XNULI4_cjs.api_credentials_default; }
39
+ get: function () { return chunkB77PPXQ4_cjs.api_credentials_default; }
40
40
  });
41
41
  Object.defineProperty(exports, "application_memberships", {
42
42
  enumerable: true,
43
- get: function () { return chunkYAVEKFKE_cjs.application_memberships_default; }
43
+ get: function () { return chunkF52NPQLI_cjs.application_memberships_default; }
44
44
  });
45
45
  Object.defineProperty(exports, "identity_providers", {
46
46
  enumerable: true,
47
- get: function () { return chunkYYM7BH33_cjs.identity_providers_default; }
47
+ get: function () { return chunkVUWMD2QC_cjs.identity_providers_default; }
48
48
  });
49
49
  Object.defineProperty(exports, "membership_profiles", {
50
50
  enumerable: true,
51
- get: function () { return chunk2H27UDGO_cjs.membership_profiles_default; }
51
+ get: function () { return chunkC4PVJRMW_cjs.membership_profiles_default; }
52
52
  });
53
53
  Object.defineProperty(exports, "memberships", {
54
54
  enumerable: true,
55
- get: function () { return chunkMT2XP4UJ_cjs.memberships_default; }
55
+ get: function () { return chunkRADEEFOM_cjs.memberships_default; }
56
56
  });
57
57
  Object.defineProperty(exports, "organizations", {
58
58
  enumerable: true,
59
- get: function () { return chunkPBYGXPJ6_cjs.organizations_default; }
59
+ get: function () { return chunk5V2JEFHA_cjs.organizations_default; }
60
60
  });
61
61
  //# sourceMappingURL=api.cjs.map
62
62
  //# sourceMappingURL=api.cjs.map
package/lib/api.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- export { f as ApiCredentials, n as ApplicationMemberships, t as IdentityProviders, G as MembershipProfiles, N as Memberships, U as Organizations, Z as Permissions, ar as Roles, ay as Users, aB as Versions, b9 as api_credentials, aX as application_memberships, a$ as identity_providers, aV as membership_profiles, aR as memberships, aT as organizations, aN as permissions, aP as roles, aZ as user, aL as versions } from './api-DtxN9ZNI.cjs';
1
+ export { f as ApiCredentials, n as ApplicationMemberships, t as IdentityProviders, G as MembershipProfiles, N as Memberships, U as Organizations, Z as Permissions, ar as Roles, ay as Users, aB as Versions, b9 as api_credentials, aX as application_memberships, a$ as identity_providers, aV as membership_profiles, aR as memberships, aT as organizations, aN as permissions, aP as roles, aZ as user, aL as versions } from './api-R3mMNn87.cjs';
2
2
  import './actions.cjs';
package/lib/api.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { f as ApiCredentials, n as ApplicationMemberships, t as IdentityProviders, G as MembershipProfiles, N as Memberships, U as Organizations, Z as Permissions, ar as Roles, ay as Users, aB as Versions, b9 as api_credentials, aX as application_memberships, a$ as identity_providers, aV as membership_profiles, aR as memberships, aT as organizations, aN as permissions, aP as roles, aZ as user, aL as versions } from './api-CrVODncY.js';
1
+ export { f as ApiCredentials, n as ApplicationMemberships, t as IdentityProviders, G as MembershipProfiles, N as Memberships, U as Organizations, Z as Permissions, ar as Roles, ay as Users, aB as Versions, b9 as api_credentials, aX as application_memberships, a$ as identity_providers, aV as membership_profiles, aR as memberships, aT as organizations, aN as permissions, aP as roles, aZ as user, aL as versions } from './api-CnrR2t1g.js';
2
2
  import './actions.js';
package/lib/api.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import './chunk-IW2T22VR.js';
2
- export { permissions_default as permissions } from './chunk-3AXLHEDT.js';
3
- export { roles_default as roles } from './chunk-BFBXXP4Q.js';
4
- export { users_default as user } from './chunk-6FFP3YXV.js';
5
- export { versions_default as versions } from './chunk-IRQX6AG3.js';
6
- export { api_credentials_default as api_credentials } from './chunk-NDCVBYCJ.js';
7
- export { application_memberships_default as application_memberships } from './chunk-37LZALYC.js';
8
- export { identity_providers_default as identity_providers } from './chunk-3PE2OE6B.js';
9
- export { membership_profiles_default as membership_profiles } from './chunk-RWUBFJZ6.js';
10
- export { memberships_default as memberships } from './chunk-5VPJA5UV.js';
11
- export { organizations_default as organizations } from './chunk-LSEKNECC.js';
12
- import './chunk-OTK6VLW5.js';
13
- import './chunk-QTXYKCKC.js';
14
- import './chunk-VVSV5FR6.js';
2
+ export { permissions_default as permissions } from './chunk-YT2JKVV4.js';
3
+ export { roles_default as roles } from './chunk-IRSVIAA3.js';
4
+ export { users_default as user } from './chunk-BOAFNR4A.js';
5
+ export { versions_default as versions } from './chunk-ZJNUYDXX.js';
6
+ export { api_credentials_default as api_credentials } from './chunk-D7JC6E6O.js';
7
+ export { application_memberships_default as application_memberships } from './chunk-VGP6LU6F.js';
8
+ export { identity_providers_default as identity_providers } from './chunk-JEP7T7W5.js';
9
+ export { membership_profiles_default as membership_profiles } from './chunk-LWRSBPJL.js';
10
+ export { memberships_default as memberships } from './chunk-7BSFPWED.js';
11
+ export { organizations_default as organizations } from './chunk-OJYX2GPK.js';
12
+ import './chunk-CR45TDCY.js';
13
+ import './chunk-2FZWJMYX.js';
14
+ import './chunk-T7GAOLT5.js';
15
15
  import './chunk-YS5PCY5D.js';
16
16
  //# sourceMappingURL=api.js.map
17
17
  //# sourceMappingURL=api.js.map
package/lib/binding.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunk4TC4U7TK_cjs = require('./chunk-4TC4U7TK.cjs');
4
- require('./chunk-DDFTZDVN.cjs');
3
+ var chunk3UQ4UNHL_cjs = require('./chunk-3UQ4UNHL.cjs');
4
+ require('./chunk-TVU45BYJ.cjs');
5
5
  require('./chunk-VFTFSHXQ.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "binding", {
10
10
  enumerable: true,
11
- get: function () { return chunk4TC4U7TK_cjs.binding; }
11
+ get: function () { return chunk3UQ4UNHL_cjs.binding; }
12
12
  });
13
13
  //# sourceMappingURL=binding.cjs.map
14
14
  //# sourceMappingURL=binding.cjs.map
package/lib/binding.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { g as getResources } from './api-DtxN9ZNI.cjs';
2
- export { R as ResourceFields, a as ResourceSortFields, b as ResourceTypeLock } from './api-DtxN9ZNI.cjs';
1
+ import { g as getResources } from './api-R3mMNn87.cjs';
2
+ export { R as ResourceFields, a as ResourceSortFields, b as ResourceTypeLock } from './api-R3mMNn87.cjs';
3
3
  import './actions.cjs';
4
4
 
5
5
  /**
@@ -10,8 +10,8 @@ declare const binding: {
10
10
  readonly subdomain: "provisioning";
11
11
  readonly name: "provisioning";
12
12
  readonly sdkVersion: string;
13
- readonly schemaVersion: "latest";
14
- readonly supportedVersions: readonly [];
13
+ readonly schemaVersion: "2026-05";
14
+ readonly supportedVersions: readonly ["2026-05"];
15
15
  readonly resourceList: readonly ("api_credentials" | "application_memberships" | "identity_providers" | "memberships" | "membership_profiles" | "organizations" | "permissions" | "roles" | "users" | "versions")[];
16
16
  readonly getResources: typeof getResources;
17
17
  };