@commercelayer/provisioning-sdk 3.0.0-beta.0 → 3.0.0-beta.1
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.
- package/lib/{api-e4p3q-SB.d.ts → api-BQ6Y-J8P.d.ts} +10 -3
- package/lib/{api-BY0jb79k.d.cts → api-BQZ9r4RA.d.cts} +10 -3
- package/lib/api.cjs +23 -23
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +13 -13
- package/lib/binding.cjs +3 -3
- package/lib/binding.d.cts +2 -2
- package/lib/binding.d.ts +2 -2
- package/lib/binding.js +2 -2
- package/lib/bundle.cjs +17 -17
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +15 -15
- package/lib/{chunk-CFU5DNH2.cjs → chunk-47HG76BX.cjs} +4 -4
- package/lib/{chunk-CFU5DNH2.cjs.map → chunk-47HG76BX.cjs.map} +1 -1
- package/lib/{chunk-E2ERI2EX.js → chunk-4GOUGGBM.js} +4 -4
- package/lib/{chunk-E2ERI2EX.js.map → chunk-4GOUGGBM.js.map} +1 -1
- package/lib/{chunk-63TTSE4U.cjs → chunk-5D5YOHG4.cjs} +26 -26
- package/lib/{chunk-63TTSE4U.cjs.map → chunk-5D5YOHG4.cjs.map} +1 -1
- package/lib/{chunk-VAL4CE5R.js → chunk-6B2AFMGT.js} +3 -3
- package/lib/{chunk-VAL4CE5R.js.map → chunk-6B2AFMGT.js.map} +1 -1
- package/lib/{chunk-35GNS3WW.js → chunk-BFXJ3YNR.js} +3 -3
- package/lib/{chunk-35GNS3WW.js.map → chunk-BFXJ3YNR.js.map} +1 -1
- package/lib/{chunk-WRVLCJQZ.cjs → chunk-BI4FXO5V.cjs} +8 -8
- package/lib/{chunk-WRVLCJQZ.cjs.map → chunk-BI4FXO5V.cjs.map} +1 -1
- package/lib/{chunk-6I5KGZAU.js → chunk-CESAPW7Z.js} +14 -14
- package/lib/{chunk-6I5KGZAU.js.map → chunk-CESAPW7Z.js.map} +1 -1
- package/lib/{chunk-YYHZPR4Z.js → chunk-F2Z6XJTZ.js} +3 -3
- package/lib/{chunk-YYHZPR4Z.js.map → chunk-F2Z6XJTZ.js.map} +1 -1
- package/lib/{chunk-7OPCEEJV.cjs → chunk-FHXWFSIQ.cjs} +4 -4
- package/lib/{chunk-7OPCEEJV.cjs.map → chunk-FHXWFSIQ.cjs.map} +1 -1
- package/lib/{chunk-4Z4U45XQ.js → chunk-HNSO4ZPF.js} +3 -3
- package/lib/chunk-HNSO4ZPF.js.map +1 -0
- package/lib/{chunk-CLOSZJSZ.cjs → chunk-JDXNOZFC.cjs} +4 -4
- package/lib/{chunk-CLOSZJSZ.cjs.map → chunk-JDXNOZFC.cjs.map} +1 -1
- package/lib/{chunk-W6XILXYS.cjs → chunk-KJRFIWHK.cjs} +4 -4
- package/lib/{chunk-W6XILXYS.cjs.map → chunk-KJRFIWHK.cjs.map} +1 -1
- package/lib/{chunk-HAZ53WDW.cjs → chunk-LISATEFD.cjs} +4 -4
- package/lib/{chunk-HAZ53WDW.cjs.map → chunk-LISATEFD.cjs.map} +1 -1
- package/lib/{chunk-UB3WPGDV.js → chunk-MANW7JPJ.js} +3 -3
- package/lib/{chunk-UB3WPGDV.js.map → chunk-MANW7JPJ.js.map} +1 -1
- package/lib/{chunk-ELYBYKRM.cjs → chunk-NFF6DWKZ.cjs} +4 -4
- package/lib/chunk-NFF6DWKZ.cjs.map +1 -0
- package/lib/{chunk-QRZGS4TB.js → chunk-O6ACW64H.js} +3 -3
- package/lib/chunk-O6ACW64H.js.map +1 -0
- package/lib/{chunk-U2CAAK2J.js → chunk-OAXFNHFA.js} +3 -3
- package/lib/{chunk-U2CAAK2J.js.map → chunk-OAXFNHFA.js.map} +1 -1
- package/lib/{chunk-3ELZDTFF.js → chunk-OEYUWL5K.js} +4 -4
- package/lib/{chunk-3ELZDTFF.js.map → chunk-OEYUWL5K.js.map} +1 -1
- package/lib/{chunk-HOL7SMFN.cjs → chunk-OKBMV3W5.cjs} +4 -4
- package/lib/{chunk-HOL7SMFN.cjs.map → chunk-OKBMV3W5.cjs.map} +1 -1
- package/lib/{chunk-FOU52N6P.js → chunk-PIDJDUN3.js} +3 -3
- package/lib/{chunk-FOU52N6P.js.map → chunk-PIDJDUN3.js.map} +1 -1
- package/lib/{chunk-UYATAIX7.js → chunk-QRMCUYRK.js} +3 -3
- package/lib/{chunk-UYATAIX7.js.map → chunk-QRMCUYRK.js.map} +1 -1
- package/lib/{chunk-F2RLD5SN.cjs → chunk-QTTL5EGB.cjs} +8 -8
- package/lib/chunk-QTTL5EGB.cjs.map +1 -0
- package/lib/{chunk-C6AOOHOR.cjs → chunk-QVV2ORWB.cjs} +4 -4
- package/lib/{chunk-C6AOOHOR.cjs.map → chunk-QVV2ORWB.cjs.map} +1 -1
- package/lib/{chunk-3XLKYXM6.cjs → chunk-RSAADRRH.cjs} +4 -4
- package/lib/{chunk-3XLKYXM6.cjs.map → chunk-RSAADRRH.cjs.map} +1 -1
- package/lib/{chunk-5KN7B3T2.cjs → chunk-SZSANTXM.cjs} +10 -10
- package/lib/{chunk-5KN7B3T2.cjs.map → chunk-SZSANTXM.cjs.map} +1 -1
- package/lib/{chunk-Z4IAVXOO.cjs → chunk-TOXS3OUT.cjs} +4 -4
- package/lib/{chunk-Z4IAVXOO.cjs.map → chunk-TOXS3OUT.cjs.map} +1 -1
- package/lib/{chunk-GES5UXTI.js → chunk-U76G3DPW.js} +3 -3
- package/lib/{chunk-GES5UXTI.js.map → chunk-U76G3DPW.js.map} +1 -1
- package/lib/{chunk-FWF7HBWB.js → chunk-XCKSYX22.js} +3 -3
- package/lib/{chunk-FWF7HBWB.js.map → chunk-XCKSYX22.js.map} +1 -1
- package/lib/{chunk-DTD2FIJ3.js → chunk-XV25RH6C.js} +3 -3
- package/lib/{chunk-DTD2FIJ3.js.map → chunk-XV25RH6C.js.map} +1 -1
- package/lib/{chunk-BWDFMGX6.cjs → chunk-YFZRO7OE.cjs} +4 -4
- package/lib/{chunk-BWDFMGX6.cjs.map → chunk-YFZRO7OE.cjs.map} +1 -1
- package/lib/{chunk-3FP4NVLD.cjs → chunk-YLA6YCK5.cjs} +3 -3
- package/lib/{chunk-3FP4NVLD.cjs.map → chunk-YLA6YCK5.cjs.map} +1 -1
- package/lib/{chunk-RDLVNJEW.js → chunk-ZTAL3U2D.js} +3 -3
- package/lib/{chunk-RDLVNJEW.js.map → chunk-ZTAL3U2D.js.map} +1 -1
- package/lib/commercelayer.cjs +10 -10
- package/lib/commercelayer.d.cts +1 -1
- package/lib/commercelayer.d.ts +1 -1
- package/lib/commercelayer.js +4 -4
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +22 -22
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +17 -17
- package/lib/index.js.map +1 -1
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/resources/api_credentials.cjs +5 -5
- package/lib/resources/api_credentials.d.cts +2 -2
- package/lib/resources/api_credentials.d.ts +1 -1
- package/lib/resources/api_credentials.js +4 -4
- package/lib/resources/application_memberships.cjs +5 -5
- package/lib/resources/application_memberships.d.cts +2 -2
- package/lib/resources/application_memberships.d.ts +1 -1
- package/lib/resources/application_memberships.js +4 -4
- package/lib/resources/identity_providers.cjs +5 -5
- package/lib/resources/identity_providers.d.cts +2 -2
- package/lib/resources/identity_providers.d.ts +1 -1
- package/lib/resources/identity_providers.js +4 -4
- package/lib/resources/membership_profiles.cjs +5 -5
- package/lib/resources/membership_profiles.d.cts +2 -2
- package/lib/resources/membership_profiles.d.ts +1 -1
- package/lib/resources/membership_profiles.js +4 -4
- package/lib/resources/memberships.cjs +5 -5
- package/lib/resources/memberships.d.cts +2 -2
- package/lib/resources/memberships.d.ts +1 -1
- package/lib/resources/memberships.js +4 -4
- package/lib/resources/organizations.cjs +5 -5
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +4 -4
- package/lib/resources/permissions.cjs +5 -5
- package/lib/resources/permissions.d.cts +2 -2
- package/lib/resources/permissions.d.ts +1 -1
- package/lib/resources/permissions.js +4 -4
- package/lib/resources/roles.cjs +5 -5
- package/lib/resources/roles.d.cts +2 -2
- package/lib/resources/roles.d.ts +1 -1
- package/lib/resources/roles.js +4 -4
- package/lib/resources/users.cjs +5 -5
- package/lib/resources/users.d.cts +2 -2
- package/lib/resources/users.d.ts +1 -1
- package/lib/resources/users.js +4 -4
- package/lib/resources/versions.cjs +5 -5
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/versions.js +4 -4
- package/lib/static.cjs +6 -6
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +5 -5
- package/lib/version.cjs +4 -4
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/lib/chunk-4Z4U45XQ.js.map +0 -1
- package/lib/chunk-ELYBYKRM.cjs.map +0 -1
- package/lib/chunk-F2RLD5SN.cjs.map +0 -1
- package/lib/chunk-QRZGS4TB.js.map +0 -1
|
@@ -1186,7 +1186,7 @@ interface User extends Resource {
|
|
|
1186
1186
|
*/
|
|
1187
1187
|
otp_required_for_login?: boolean | null;
|
|
1188
1188
|
}
|
|
1189
|
-
interface UserUpdate extends
|
|
1189
|
+
interface UserUpdate extends SingletonUpdate {
|
|
1190
1190
|
/**
|
|
1191
1191
|
* The user email.
|
|
1192
1192
|
* @example ```"user@commercelayer.io"```
|
|
@@ -1542,6 +1542,13 @@ interface ResourceCreate extends ResourceBase {
|
|
|
1542
1542
|
interface ResourceUpdate extends ResourceBase {
|
|
1543
1543
|
readonly id: string;
|
|
1544
1544
|
}
|
|
1545
|
+
/**
|
|
1546
|
+
* Update payload for a singleton resource, which carries no `id` because it is
|
|
1547
|
+
* addressed at a singular path (`/user`, not `/users/{id}`). Distinct from
|
|
1548
|
+
* `ResourceUpdate` purely to keep `id` off the caller's payload.
|
|
1549
|
+
*/
|
|
1550
|
+
interface SingletonUpdate extends ResourceBase {
|
|
1551
|
+
}
|
|
1545
1552
|
type PageCursor = {
|
|
1546
1553
|
readonly before?: string;
|
|
1547
1554
|
readonly after?: string;
|
|
@@ -1585,7 +1592,7 @@ declare class ResourceAdapter {
|
|
|
1585
1592
|
retrieve<R extends Resource>(resource: ResourceId, params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
|
|
1586
1593
|
list<R extends Resource>(resource: ResourceType, params?: QueryParamsList<R>, options?: ResourcesConfig): Promise<ListResponse<R>>;
|
|
1587
1594
|
create<C extends ResourceCreate, R extends Resource>(resource: C & ResourceType, params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
|
|
1588
|
-
update<U extends ResourceUpdate, R extends Resource>(resource: U &
|
|
1595
|
+
update<U extends ResourceUpdate | SingletonUpdate, R extends Resource>(resource: U & ResourceType, params?: QueryParamsRetrieve<R>, options?: ResourcesConfig,
|
|
1589
1596
|
/**
|
|
1590
1597
|
* Singular path override for singleton resources, e.g. `user` rather than
|
|
1591
1598
|
* `users/{id}`. Mirrors `singleton()` above. Core never needed it — both
|
|
@@ -1633,4 +1640,4 @@ declare abstract class ApiSingleton<R extends Resource> extends ApiResourceBase<
|
|
|
1633
1640
|
retrieve(params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
|
|
1634
1641
|
}
|
|
1635
1642
|
|
|
1636
|
-
export { type QueryPageSize as $, type ApiCredential as A, type MembershipSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipUpdate as F, Memberships as G, type HeadersObj as H, type IdentityProvider as I, type Metadata as J, type OrganizationCreate as K, type ListMeta as L, type Membership as M, type OrganizationSort as N, type Organization as O, type OrganizationUpdate as P, Organizations as Q, type Permission as R, type PermissionCreate as S, type PermissionSort as T, type PermissionUpdate as U, Permissions as V, type QueryFields as W, type QueryFilter as X, type QueryInclude as Y, type QueryPageCursor as Z, type QueryPageNumber as _, type ApiCredentialCreate as a,
|
|
1643
|
+
export { type QueryPageSize as $, type ApiCredential as A, type MembershipSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipUpdate as F, Memberships as G, type HeadersObj as H, type IdentityProvider as I, type Metadata as J, type OrganizationCreate as K, type ListMeta as L, type Membership as M, type OrganizationSort as N, type Organization as O, type OrganizationUpdate as P, Organizations as Q, type Permission as R, type PermissionCreate as S, type PermissionSort as T, type PermissionUpdate as U, Permissions as V, type QueryFields as W, type QueryFilter as X, type QueryInclude as Y, type QueryPageCursor as Z, type QueryPageNumber as _, type ApiCredentialCreate as a, type IdentityProviderType as a$, type QueryParams as a0, type QueryParamsList as a1, type QueryParamsRetrieve as a2, type QuerySort as a3, type RequestObj as a4, type Resource as a5, type ResourceCreate as a6, type ResourceFields as a7, type ResourceFilter as a8, type ResourceId as a9, resourceList as aA, singletonList as aB, getResources 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 MembershipProfileType as aJ, instance$9 as aK, type VersionType as aL, instance$8 as aM, type PermissionType as aN, instance$7 as aO, type RoleType as aP, instance$6 as aQ, type ApplicationMembershipType as aR, instance$5 as aS, type MembershipType as aT, instance$4 as aU, type OrganizationType as aV, instance$3 as aW, type ApiCredentialType as aX, instance$2 as aY, type UserType as aZ, instance$1 as a_, type ResourceRel as aa, type ResourceSort as ab, type ResourceSortFields as ac, type ResourceType as ad, type ResourceTypeLock as ae, type ResourceUpdate as af, type ResourcesConfig as ag, type ResourcesInitConfig as ah, type ResponseObj as ai, type RetrievableResource as aj, type RetrievableResourceType as ak, type Role as al, type RoleCreate as am, type RoleSort as an, type RoleUpdate as ao, Roles as ap, type SingletonUpdate as aq, type UpdatableResource as ar, type UpdatableResourceType as as, type User as at, type UserSort as au, type UserUpdate as av, Users as aw, type Version as ax, type VersionSort as ay, Versions as az, type ApiCredentialSort as b, instance as b0, creatableResources as b1, deletableResources as b2, getSingletons as b3, isCreatable as b4, isDeletable as b5, isSingleton as b6, isUpdatable as b7, updatableResources as b8, type ApiCredentialUpdate as c, ApiCredentials as d, ApiResource as e, ApiSingleton as f, type ApplicationMembership as g, type ApplicationMembershipCreate as h, type ApplicationMembershipSort as i, type ApplicationMembershipUpdate as j, ApplicationMemberships as k, type CreatableResourceType as l, type DeletableResourceType as m, type IdentityProviderCreate as n, type IdentityProviderSort as o, type IdentityProviderUpdate as p, IdentityProviders as q, ListResponse as r, type ListableResource as s, type ListableResourceType as t, type MembershipCreate as u, type MembershipProfile as v, type MembershipProfileCreate as w, type MembershipProfileSort as x, type MembershipProfileUpdate as y, MembershipProfiles as z };
|
|
@@ -1186,7 +1186,7 @@ interface User extends Resource {
|
|
|
1186
1186
|
*/
|
|
1187
1187
|
otp_required_for_login?: boolean | null;
|
|
1188
1188
|
}
|
|
1189
|
-
interface UserUpdate extends
|
|
1189
|
+
interface UserUpdate extends SingletonUpdate {
|
|
1190
1190
|
/**
|
|
1191
1191
|
* The user email.
|
|
1192
1192
|
* @example ```"user@commercelayer.io"```
|
|
@@ -1542,6 +1542,13 @@ interface ResourceCreate extends ResourceBase {
|
|
|
1542
1542
|
interface ResourceUpdate extends ResourceBase {
|
|
1543
1543
|
readonly id: string;
|
|
1544
1544
|
}
|
|
1545
|
+
/**
|
|
1546
|
+
* Update payload for a singleton resource, which carries no `id` because it is
|
|
1547
|
+
* addressed at a singular path (`/user`, not `/users/{id}`). Distinct from
|
|
1548
|
+
* `ResourceUpdate` purely to keep `id` off the caller's payload.
|
|
1549
|
+
*/
|
|
1550
|
+
interface SingletonUpdate extends ResourceBase {
|
|
1551
|
+
}
|
|
1545
1552
|
type PageCursor = {
|
|
1546
1553
|
readonly before?: string;
|
|
1547
1554
|
readonly after?: string;
|
|
@@ -1585,7 +1592,7 @@ declare class ResourceAdapter {
|
|
|
1585
1592
|
retrieve<R extends Resource>(resource: ResourceId, params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
|
|
1586
1593
|
list<R extends Resource>(resource: ResourceType, params?: QueryParamsList<R>, options?: ResourcesConfig): Promise<ListResponse<R>>;
|
|
1587
1594
|
create<C extends ResourceCreate, R extends Resource>(resource: C & ResourceType, params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
|
|
1588
|
-
update<U extends ResourceUpdate, R extends Resource>(resource: U &
|
|
1595
|
+
update<U extends ResourceUpdate | SingletonUpdate, R extends Resource>(resource: U & ResourceType, params?: QueryParamsRetrieve<R>, options?: ResourcesConfig,
|
|
1589
1596
|
/**
|
|
1590
1597
|
* Singular path override for singleton resources, e.g. `user` rather than
|
|
1591
1598
|
* `users/{id}`. Mirrors `singleton()` above. Core never needed it — both
|
|
@@ -1633,4 +1640,4 @@ declare abstract class ApiSingleton<R extends Resource> extends ApiResourceBase<
|
|
|
1633
1640
|
retrieve(params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
|
|
1634
1641
|
}
|
|
1635
1642
|
|
|
1636
|
-
export { type QueryPageSize as $, type ApiCredential as A, type MembershipSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipUpdate as F, Memberships as G, type HeadersObj as H, type IdentityProvider as I, type Metadata as J, type OrganizationCreate as K, type ListMeta as L, type Membership as M, type OrganizationSort as N, type Organization as O, type OrganizationUpdate as P, Organizations as Q, type Permission as R, type PermissionCreate as S, type PermissionSort as T, type PermissionUpdate as U, Permissions as V, type QueryFields as W, type QueryFilter as X, type QueryInclude as Y, type QueryPageCursor as Z, type QueryPageNumber as _, type ApiCredentialCreate as a,
|
|
1643
|
+
export { type QueryPageSize as $, type ApiCredential as A, type MembershipSort as B, type CreatableResource as C, type DeletableResource as D, type ErrorObj as E, type MembershipUpdate as F, Memberships as G, type HeadersObj as H, type IdentityProvider as I, type Metadata as J, type OrganizationCreate as K, type ListMeta as L, type Membership as M, type OrganizationSort as N, type Organization as O, type OrganizationUpdate as P, Organizations as Q, type Permission as R, type PermissionCreate as S, type PermissionSort as T, type PermissionUpdate as U, Permissions as V, type QueryFields as W, type QueryFilter as X, type QueryInclude as Y, type QueryPageCursor as Z, type QueryPageNumber as _, type ApiCredentialCreate as a, type IdentityProviderType as a$, type QueryParams as a0, type QueryParamsList as a1, type QueryParamsRetrieve as a2, type QuerySort as a3, type RequestObj as a4, type Resource as a5, type ResourceCreate as a6, type ResourceFields as a7, type ResourceFilter as a8, type ResourceId as a9, resourceList as aA, singletonList as aB, getResources 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 MembershipProfileType as aJ, instance$9 as aK, type VersionType as aL, instance$8 as aM, type PermissionType as aN, instance$7 as aO, type RoleType as aP, instance$6 as aQ, type ApplicationMembershipType as aR, instance$5 as aS, type MembershipType as aT, instance$4 as aU, type OrganizationType as aV, instance$3 as aW, type ApiCredentialType as aX, instance$2 as aY, type UserType as aZ, instance$1 as a_, type ResourceRel as aa, type ResourceSort as ab, type ResourceSortFields as ac, type ResourceType as ad, type ResourceTypeLock as ae, type ResourceUpdate as af, type ResourcesConfig as ag, type ResourcesInitConfig as ah, type ResponseObj as ai, type RetrievableResource as aj, type RetrievableResourceType as ak, type Role as al, type RoleCreate as am, type RoleSort as an, type RoleUpdate as ao, Roles as ap, type SingletonUpdate as aq, type UpdatableResource as ar, type UpdatableResourceType as as, type User as at, type UserSort as au, type UserUpdate as av, Users as aw, type Version as ax, type VersionSort as ay, Versions as az, type ApiCredentialSort as b, instance as b0, creatableResources as b1, deletableResources as b2, getSingletons as b3, isCreatable as b4, isDeletable as b5, isSingleton as b6, isUpdatable as b7, updatableResources as b8, type ApiCredentialUpdate as c, ApiCredentials as d, ApiResource as e, ApiSingleton as f, type ApplicationMembership as g, type ApplicationMembershipCreate as h, type ApplicationMembershipSort as i, type ApplicationMembershipUpdate as j, ApplicationMemberships as k, type CreatableResourceType as l, type DeletableResourceType as m, type IdentityProviderCreate as n, type IdentityProviderSort as o, type IdentityProviderUpdate as p, IdentityProviders as q, ListResponse as r, type ListableResource as s, type ListableResourceType as t, type MembershipCreate as u, type MembershipProfile as v, type MembershipProfileCreate as w, type MembershipProfileSort as x, type MembershipProfileUpdate as y, MembershipProfiles as z };
|
package/lib/api.cjs
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-N567T7FT.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
4
|
+
var chunkOKBMV3W5_cjs = require('./chunk-OKBMV3W5.cjs');
|
|
5
|
+
var chunkRSAADRRH_cjs = require('./chunk-RSAADRRH.cjs');
|
|
6
|
+
var chunkNFF6DWKZ_cjs = require('./chunk-NFF6DWKZ.cjs');
|
|
7
|
+
var chunkLISATEFD_cjs = require('./chunk-LISATEFD.cjs');
|
|
8
|
+
var chunkKJRFIWHK_cjs = require('./chunk-KJRFIWHK.cjs');
|
|
9
|
+
var chunkFHXWFSIQ_cjs = require('./chunk-FHXWFSIQ.cjs');
|
|
10
|
+
var chunkJDXNOZFC_cjs = require('./chunk-JDXNOZFC.cjs');
|
|
11
|
+
var chunkQVV2ORWB_cjs = require('./chunk-QVV2ORWB.cjs');
|
|
12
|
+
var chunkYFZRO7OE_cjs = require('./chunk-YFZRO7OE.cjs');
|
|
13
|
+
var chunkTOXS3OUT_cjs = require('./chunk-TOXS3OUT.cjs');
|
|
14
|
+
require('./chunk-QTTL5EGB.cjs');
|
|
15
|
+
require('./chunk-47HG76BX.cjs');
|
|
16
|
+
require('./chunk-YLA6YCK5.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
|
|
23
|
+
get: function () { return chunkOKBMV3W5_cjs.permissions_default; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "roles", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkRSAADRRH_cjs.roles_default; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "user", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkNFF6DWKZ_cjs.users_default; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "versions", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkLISATEFD_cjs.versions_default; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "api_credentials", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkKJRFIWHK_cjs.api_credentials_default; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "application_memberships", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFHXWFSIQ_cjs.application_memberships_default; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "identity_providers", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkJDXNOZFC_cjs.identity_providers_default; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "membership_profiles", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkQVV2ORWB_cjs.membership_profiles_default; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "memberships", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkYFZRO7OE_cjs.memberships_default; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "organizations", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkTOXS3OUT_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 { d as ApiCredentials, k as ApplicationMemberships, q as IdentityProviders, z as MembershipProfiles, G as Memberships, Q as Organizations, V as Permissions, ap as Roles,
|
|
1
|
+
export { d as ApiCredentials, k as ApplicationMemberships, q as IdentityProviders, z as MembershipProfiles, G as Memberships, Q as Organizations, V as Permissions, ap as Roles, aw as Users, az as Versions, aY as api_credentials, aS as application_memberships, b0 as identity_providers, aK as membership_profiles, aU as memberships, aW as organizations, aO as permissions, aQ as roles, a_ as user, aM as versions } from './api-BQZ9r4RA.cjs';
|
|
2
2
|
import './actions.cjs';
|
package/lib/api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as ApiCredentials, k as ApplicationMemberships, q as IdentityProviders, z as MembershipProfiles, G as Memberships, Q as Organizations, V as Permissions, ap as Roles,
|
|
1
|
+
export { d as ApiCredentials, k as ApplicationMemberships, q as IdentityProviders, z as MembershipProfiles, G as Memberships, Q as Organizations, V as Permissions, ap as Roles, aw as Users, az as Versions, aY as api_credentials, aS as application_memberships, b0 as identity_providers, aK as membership_profiles, aU as memberships, aW as organizations, aO as permissions, aQ as roles, a_ as user, aM as versions } from './api-BQ6Y-J8P.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-
|
|
3
|
-
export { roles_default as roles } from './chunk-
|
|
4
|
-
export { users_default as user } from './chunk-
|
|
5
|
-
export { versions_default as versions } from './chunk-
|
|
6
|
-
export { api_credentials_default as api_credentials } from './chunk-
|
|
7
|
-
export { application_memberships_default as application_memberships } from './chunk-
|
|
8
|
-
export { identity_providers_default as identity_providers } from './chunk-
|
|
9
|
-
export { membership_profiles_default as membership_profiles } from './chunk-
|
|
10
|
-
export { memberships_default as memberships } from './chunk-
|
|
11
|
-
export { organizations_default as organizations } from './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
2
|
+
export { permissions_default as permissions } from './chunk-BFXJ3YNR.js';
|
|
3
|
+
export { roles_default as roles } from './chunk-6B2AFMGT.js';
|
|
4
|
+
export { users_default as user } from './chunk-O6ACW64H.js';
|
|
5
|
+
export { versions_default as versions } from './chunk-QRMCUYRK.js';
|
|
6
|
+
export { api_credentials_default as api_credentials } from './chunk-F2Z6XJTZ.js';
|
|
7
|
+
export { application_memberships_default as application_memberships } from './chunk-PIDJDUN3.js';
|
|
8
|
+
export { identity_providers_default as identity_providers } from './chunk-U76G3DPW.js';
|
|
9
|
+
export { membership_profiles_default as membership_profiles } from './chunk-OAXFNHFA.js';
|
|
10
|
+
export { memberships_default as memberships } from './chunk-ZTAL3U2D.js';
|
|
11
|
+
export { organizations_default as organizations } from './chunk-XCKSYX22.js';
|
|
12
|
+
import './chunk-HNSO4ZPF.js';
|
|
13
|
+
import './chunk-XV25RH6C.js';
|
|
14
|
+
import './chunk-MANW7JPJ.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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk47HG76BX_cjs = require('./chunk-47HG76BX.cjs');
|
|
4
|
+
require('./chunk-YLA6YCK5.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
|
|
11
|
+
get: function () { return chunk47HG76BX_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 {
|
|
2
|
-
export { a7 as ResourceFields, ac as ResourceSortFields, ae as ResourceTypeLock } from './api-
|
|
1
|
+
import { aC as getResources } from './api-BQZ9r4RA.cjs';
|
|
2
|
+
export { a7 as ResourceFields, ac as ResourceSortFields, ae as ResourceTypeLock } from './api-BQZ9r4RA.cjs';
|
|
3
3
|
import './actions.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
package/lib/binding.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { a7 as ResourceFields, ac as ResourceSortFields, ae as ResourceTypeLock } from './api-
|
|
1
|
+
import { aC as getResources } from './api-BQ6Y-J8P.js';
|
|
2
|
+
export { a7 as ResourceFields, ac as ResourceSortFields, ae as ResourceTypeLock } from './api-BQ6Y-J8P.js';
|
|
3
3
|
import './actions.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/lib/binding.js
CHANGED
package/lib/bundle.cjs
CHANGED
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunk5D5YOHG4_cjs = require('./chunk-5D5YOHG4.cjs');
|
|
6
|
+
require('./chunk-SZSANTXM.cjs');
|
|
7
7
|
require('./chunk-N567T7FT.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-OKBMV3W5.cjs');
|
|
9
|
+
require('./chunk-RSAADRRH.cjs');
|
|
10
|
+
require('./chunk-NFF6DWKZ.cjs');
|
|
11
|
+
require('./chunk-LISATEFD.cjs');
|
|
12
|
+
require('./chunk-KJRFIWHK.cjs');
|
|
13
|
+
require('./chunk-FHXWFSIQ.cjs');
|
|
14
|
+
require('./chunk-JDXNOZFC.cjs');
|
|
15
|
+
require('./chunk-QVV2ORWB.cjs');
|
|
16
|
+
require('./chunk-YFZRO7OE.cjs');
|
|
17
|
+
require('./chunk-TOXS3OUT.cjs');
|
|
18
|
+
require('./chunk-QTTL5EGB.cjs');
|
|
19
|
+
require('./chunk-47HG76BX.cjs');
|
|
20
|
+
require('./chunk-YLA6YCK5.cjs');
|
|
21
21
|
require('./chunk-VFTFSHXQ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
Object.defineProperty(exports, "CommerceLayerProvisioning", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk5D5YOHG4_cjs.CommerceLayerProvisioning; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "default", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk5D5YOHG4_cjs.bundle_default; }
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=bundle.cjs.map
|
|
34
34
|
//# sourceMappingURL=bundle.cjs.map
|
package/lib/bundle.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aD as ResourceAdapter, d as ApiCredentials, k as ApplicationMemberships, q as IdentityProviders, G as Memberships, z as MembershipProfiles, Q as Organizations, V as Permissions, ap as Roles, aw as Users, az as Versions } from './api-BQZ9r4RA.cjs';
|
|
2
2
|
import { CommerceLayerInitConfig, CommerceLayerProvisioningBaseClient } from './commercelayer.cjs';
|
|
3
3
|
import './actions.cjs';
|
|
4
4
|
import './error-CVRdwnY9.cjs';
|
package/lib/bundle.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aD as ResourceAdapter, d as ApiCredentials, k as ApplicationMemberships, q as IdentityProviders, G as Memberships, z as MembershipProfiles, Q as Organizations, V as Permissions, ap as Roles, aw as Users, az as Versions } from './api-BQ6Y-J8P.js';
|
|
2
2
|
import { CommerceLayerInitConfig, CommerceLayerProvisioningBaseClient } from './commercelayer.js';
|
|
3
3
|
import './actions.js';
|
|
4
4
|
import './error-CVRdwnY9.js';
|
package/lib/bundle.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { CommerceLayerProvisioning, bundle_default as default } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { CommerceLayerProvisioning, bundle_default as default } from './chunk-CESAPW7Z.js';
|
|
2
|
+
import './chunk-4GOUGGBM.js';
|
|
3
3
|
import './chunk-IW2T22VR.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
4
|
+
import './chunk-BFXJ3YNR.js';
|
|
5
|
+
import './chunk-6B2AFMGT.js';
|
|
6
|
+
import './chunk-O6ACW64H.js';
|
|
7
|
+
import './chunk-QRMCUYRK.js';
|
|
8
|
+
import './chunk-F2Z6XJTZ.js';
|
|
9
|
+
import './chunk-PIDJDUN3.js';
|
|
10
|
+
import './chunk-U76G3DPW.js';
|
|
11
|
+
import './chunk-OAXFNHFA.js';
|
|
12
|
+
import './chunk-ZTAL3U2D.js';
|
|
13
|
+
import './chunk-XCKSYX22.js';
|
|
14
|
+
import './chunk-HNSO4ZPF.js';
|
|
15
|
+
import './chunk-XV25RH6C.js';
|
|
16
|
+
import './chunk-MANW7JPJ.js';
|
|
17
17
|
import './chunk-YS5PCY5D.js';
|
|
18
18
|
//# sourceMappingURL=bundle.js.map
|
|
19
19
|
//# sourceMappingURL=bundle.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYLA6YCK5_cjs = require('./chunk-YLA6YCK5.cjs');
|
|
4
4
|
var chunkVFTFSHXQ_cjs = require('./chunk-VFTFSHXQ.cjs');
|
|
5
5
|
|
|
6
6
|
// gen/binding.ts
|
|
7
7
|
var binding = {
|
|
8
8
|
subdomain: "provisioning",
|
|
9
9
|
name: "provisioning",
|
|
10
|
-
sdkVersion:
|
|
10
|
+
sdkVersion: chunkYLA6YCK5_cjs.SDK_VERSION,
|
|
11
11
|
schemaVersion: "latest",
|
|
12
12
|
supportedVersions: [],
|
|
13
13
|
resourceList: chunkVFTFSHXQ_cjs.resourceList,
|
|
@@ -15,5 +15,5 @@ var binding = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
exports.binding = binding;
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-47HG76BX.cjs.map
|
|
19
|
+
//# sourceMappingURL=chunk-47HG76BX.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../gen/binding.ts"],"names":["SDK_VERSION","resourceList","getResources"],"mappings":";;;;;;AAeO,IAAM,OAAA,GAAU;AAAA,EACrB,SAAA,EAAW,cAAA;AAAA,EACX,IAAA,EAAM,cAAA;AAAA,EACN,UAAA,EAAYA,6BAAA;AAAA,EACZ,aAAA,EAAe,QAAA;AAAA,EACf,mBAAmB,EAAC;AAAA,gBACpBC,8BAAA;AAAA,gBACAC;AACF","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../gen/binding.ts"],"names":["SDK_VERSION","resourceList","getResources"],"mappings":";;;;;;AAeO,IAAM,OAAA,GAAU;AAAA,EACrB,SAAA,EAAW,cAAA;AAAA,EACX,IAAA,EAAM,cAAA;AAAA,EACN,UAAA,EAAYA,6BAAA;AAAA,EACZ,aAAA,EAAe,QAAA;AAAA,EACf,mBAAmB,EAAC;AAAA,gBACpBC,8BAAA;AAAA,gBACAC;AACF","file":"chunk-47HG76BX.cjs","sourcesContent":["/**\n * © Commerce Layer Inc.\n **/\nimport type { TargetBinding } from '@runtime/binding'\nimport { getResources, resourceList } from './enum'\nimport { SDK_VERSION } from './version'\n\n// Type-level maps cannot be injected, so they are re-exported here and reached\n// through the same `#registry` alias as the value binding below.\nexport type { ResourceFields, ResourceSortFields, ResourceTypeLock } from './enum'\n\n/**\n * This target's binding. Every field comes from the Target config or the parsed\n * schema — edit `sdk.config.ts`, not this file.\n */\nexport const binding = {\n subdomain: 'provisioning',\n name: 'provisioning',\n sdkVersion: SDK_VERSION,\n schemaVersion: 'latest',\n supportedVersions: [] as const,\n resourceList,\n getResources,\n} as const satisfies TargetBinding\n\n/** The API versions this build accepts as `apiVersion`; `never` on legacy schemas. */\nexport type ApiVersion = (typeof binding.supportedVersions)[number]\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { debug_default, ApiResourceAdapter, isApiError } from './chunk-
|
|
2
|
-
import { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS } from './chunk-
|
|
1
|
+
import { debug_default, ApiResourceAdapter, isApiError } from './chunk-HNSO4ZPF.js';
|
|
2
|
+
import { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS } from './chunk-MANW7JPJ.js';
|
|
3
3
|
import { getResources } from './chunk-YS5PCY5D.js';
|
|
4
4
|
|
|
5
5
|
// src/commercelayer.ts
|
|
@@ -110,5 +110,5 @@ var CommerceLayerProvisioning = (config) => {
|
|
|
110
110
|
var commercelayer_default = CommerceLayerProvisioning;
|
|
111
111
|
|
|
112
112
|
export { CommerceLayerProvisioning, CommerceLayerProvisioningBaseClient, commercelayer_default };
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
114
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-4GOUGGBM.js.map
|
|
114
|
+
//# sourceMappingURL=chunk-4GOUGGBM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commercelayer.ts"],"names":[],"mappings":";;;;;AAiBA,IAAM,KAAA,GAAQ,cAAM,eAAe,CAAA;AAyBnC,IAAM,mCAAA,GAAN,MAAM,oCAAA,CAAoC;AAAA,EAC/B,gBAAA,GAAmB,kBAAA;AAAA,EACnB,oBAAA,GAAuB,sBAAA;AAAA,EAEhC,OAAiB,EAAA;AAAA,EAEjB,OAAO,IAAI,MAAA,EAAuE;AAChF,IAAA,IAAI,QAAQ,OAAQ,oCAAA,CAAoC,EAAA,GAAK,IAAI,qCAAoC,MAAM,CAAA;AAAA,SAAA,IAClG,CAAC,oCAAA,CAAoC,EAAA;AAC5C,MAAA,MAAM,IAAI,MAAM,kDAAkD,CAAA;AACpE,IAAA,OAAO,oCAAA,CAAoC,EAAA;AAAA,EAC7C;AAAA;AAAA;AAAA;AAAA;AAAA,EAMmB,eAAA;AAAA,EAET,YAAY,MAAA,EAAiC;AACrD,IAAA,KAAA,CAAM,iCAAiC,MAAM,CAAA;AAM7C,IAAA,IAAA,CAAK,eAAA,GA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js","sourcesContent":["import Debug from '@runtime/debug'\nimport { type ApiError, isApiError } from '@runtime/error'\nimport type {\n ErrorInterceptor,\n HeadersObj,\n InterceptorManager,\n InterceptorType,\n RawResponseReader,\n RequestInterceptor,\n ResponseInterceptor,\n ResponseObj,\n} from '@runtime/interceptor'\nimport { ApiResourceAdapter, type ResourceAdapter, type ResourcesInitConfig } from '@runtime/resource'\n// import * as api from '../gen/api'\nimport { getResources } from '../gen/enum'\nimport { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS, type ApiVersion, SDK_VERSION } from '../gen/version'\n\nconst debug = Debug('commercelayer')\n\nexport { API_SCHEMA_VERSION, API_SUPPORTED_VERSIONS, type ApiVersion, SDK_VERSION }\n\n// SDK local configuration\ntype SdkConfig = {\n /** Set to `false` to omit the `X-CL-SDK` request header that identifies the SDK and its version. Defaults to `true`. */\n telemetry?: boolean\n}\n\n/**\n * The `apiVersion` init option, conditioned on how the SDK was generated:\n * - **Version-aware (unified) builds** — {@link API_SUPPORTED_VERSIONS} is\n * non-empty — **require** `apiVersion`. The chosen value becomes a URL path\n * segment (`/api/2026-05/orders`), keeping requests aligned with the version\n * the types were generated for.\n * - **Legacy builds** — empty {@link API_SUPPORTED_VERSIONS}, so {@link ApiVersion}\n * is `never` — take **no** `apiVersion` argument. The API is unversioned\n * (`/api/orders`).\n */\ntype ApiVersionConfig = [ApiVersion] extends [never] ? { apiVersion?: never } : { apiVersion: ApiVersion }\n\ntype CommerceLayerInitConfig = SdkConfig & ApiVersionConfig & ResourcesInitConfig\ntype CommerceLayerConfig = Partial<CommerceLayerInitConfig>\n\nclass CommerceLayerProvisioningBaseClient {\n readonly apiSchemaVersion = API_SCHEMA_VERSION\n readonly apiSupportedVersions = API_SUPPORTED_VERSIONS\n\n protected static cl: CommerceLayerProvisioningBaseClient\n\n static get(config?: CommerceLayerInitConfig): CommerceLayerProvisioningBaseClient {\n if (config) return (CommerceLayerProvisioningBaseClient.cl = new CommerceLayerProvisioningBaseClient(config))\n else if (!CommerceLayerProvisioningBaseClient.cl)\n throw new Error('CommerceLayerProvisioning client not initialized')\n return CommerceLayerProvisioningBaseClient.cl\n }\n\n // The ResourceAdapter created for this specific client instance. Every\n // `CommerceLayerProvisioning(config)` call builds a fresh adapter (its own ApiClient\n // with its own access token). The bundle client reads this so two clients\n // stay isolated; see the `adapter` seam below.\n protected readonly instanceAdapter: ResourceAdapter\n\n protected constructor(config: CommerceLayerInitConfig) {\n debug('new commercelayer instance %O', config)\n\n // `init` builds a new adapter AND sets the process-global static one.\n // We keep the return value so the bundle can bind resources to this\n // exact adapter; the static assignment stays for the plain SDK, whose\n // directly-imported resource singletons resolve through it.\n this.instanceAdapter = ApiResourceAdapter.init(config)\n }\n\n // Adapter seam. The base (plain SDK) reports the process-global static\n // adapter so `config()` and the getters below stay in sync with the\n // directly-imported resource singletons — unchanged behaviour. The bundle\n // overrides this to return its own `instanceAdapter`, isolating clients.\n protected get adapter(): ResourceAdapter {\n return ApiResourceAdapter.get()\n }\n\n get currentOrganization(): string {\n return this.adapter.client?.currentOrganization\n }\n get currentAccessToken(): string {\n return this.adapter.client?.currentAccessToken\n }\n /** The API version pinned via `apiVersion`, or `undefined` when requests are unversioned. */\n get currentApiVersion(): string | undefined {\n return this.adapter.client?.currentApiVersion\n }\n private get interceptors(): InterceptorManager {\n return this.adapter.client?.interceptors\n }\n\n private localConfig(_config: Partial<SdkConfig>): void {\n // if (config.abc) this.abc = config.abc\n }\n\n config(config: CommerceLayerConfig): this {\n debug('config %o', config)\n\n // CommerceLayerProvisioning config\n this.localConfig(config)\n // ResourceAdapter config\n this.adapter.config(config)\n\n return this\n }\n\n resources(sort?: boolean): readonly string[] {\n return getResources(sort)\n }\n\n isApiError(error: any): error is ApiError {\n return isApiError(error)\n }\n\n addRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number {\n this.interceptors.request = { onSuccess, onFailure }\n return 1\n }\n\n addResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number {\n this.interceptors.response = { onSuccess, onFailure }\n return 1\n }\n\n removeInterceptor(type: InterceptorType, _id: number = 1): void {\n this.interceptors[type] = undefined\n }\n\n removeInterceptors(): void {\n this.removeInterceptor('request')\n this.removeInterceptor('response')\n this.removeRawResponseReader()\n }\n\n addRawResponseReader(options?: { headers: boolean }): RawResponseReader {\n const reader: RawResponseReader = {\n id: 0,\n rawResponse: undefined,\n headers: undefined,\n ok: true,\n }\n\n async function rawResponseInterceptor(response: ResponseObj): Promise<ResponseObj> {\n reader.rawResponse = await response\n ?.clone()\n .json()\n .catch(() => {})\n reader.ok = response.ok\n if (options?.headers) {\n const ho: HeadersObj = {}\n response.headers.forEach((value, key) => {\n ho[key] = value\n })\n reader.headers = ho\n }\n return response\n }\n\n /* const interceptor = */ this.interceptors.rawReader = {\n onSuccess: rawResponseInterceptor,\n onFailure: rawResponseInterceptor,\n }\n reader.id = 1 // interceptor\n\n return reader\n }\n\n removeRawResponseReader(/* reader: number | RawResponseReader */): void {\n /*\n\t\tconst id = (typeof reader === 'number') ? reader : reader?.id\n\t\tif (id && (id >= 0)) this.removeInterceptor('response', id)\n\t\t*/\n this.interceptors.rawReader = undefined\n }\n}\n\nconst CommerceLayerProvisioning = (config: CommerceLayerInitConfig): CommerceLayerProvisioningBaseClient => {\n return CommerceLayerProvisioningBaseClient.get(config)\n}\n\nexport default CommerceLayerProvisioning\nexport type { CommerceLayerConfig, CommerceLayerInitConfig }\nexport { CommerceLayerProvisioning, CommerceLayerProvisioningBaseClient }\n"]}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
3
|
+
var chunkSZSANTXM_cjs = require('./chunk-SZSANTXM.cjs');
|
|
4
|
+
var chunkOKBMV3W5_cjs = require('./chunk-OKBMV3W5.cjs');
|
|
5
|
+
var chunkRSAADRRH_cjs = require('./chunk-RSAADRRH.cjs');
|
|
6
|
+
var chunkNFF6DWKZ_cjs = require('./chunk-NFF6DWKZ.cjs');
|
|
7
|
+
var chunkLISATEFD_cjs = require('./chunk-LISATEFD.cjs');
|
|
8
|
+
var chunkKJRFIWHK_cjs = require('./chunk-KJRFIWHK.cjs');
|
|
9
|
+
var chunkFHXWFSIQ_cjs = require('./chunk-FHXWFSIQ.cjs');
|
|
10
|
+
var chunkJDXNOZFC_cjs = require('./chunk-JDXNOZFC.cjs');
|
|
11
|
+
var chunkQVV2ORWB_cjs = require('./chunk-QVV2ORWB.cjs');
|
|
12
|
+
var chunkYFZRO7OE_cjs = require('./chunk-YFZRO7OE.cjs');
|
|
13
|
+
var chunkTOXS3OUT_cjs = require('./chunk-TOXS3OUT.cjs');
|
|
14
|
+
var chunkQTTL5EGB_cjs = require('./chunk-QTTL5EGB.cjs');
|
|
15
15
|
|
|
16
16
|
// gen/bundle.ts
|
|
17
|
-
var debug =
|
|
18
|
-
var CommerceLayerProvisioningClient = class _CommerceLayerProvisioningClient extends
|
|
17
|
+
var debug = chunkQTTL5EGB_cjs.debug_default("bundle");
|
|
18
|
+
var CommerceLayerProvisioningClient = class _CommerceLayerProvisioningClient extends chunkSZSANTXM_cjs.CommerceLayerProvisioningBaseClient {
|
|
19
19
|
// ##__CL_RESOURCES_DEF_START__##
|
|
20
20
|
// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
|
|
21
21
|
#api_credentials;
|
|
@@ -48,34 +48,34 @@ var CommerceLayerProvisioningClient = class _CommerceLayerProvisioningClient ext
|
|
|
48
48
|
// ##__CL_RESOURCES_LAZY_LOADING_START__##
|
|
49
49
|
// ##__CL_RESOURCES_LAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = api.##__RESOURCE_TYPE__##.withAdapter(this.adapter)) }
|
|
50
50
|
get api_credentials() {
|
|
51
|
-
return this.#api_credentials || (this.#api_credentials =
|
|
51
|
+
return this.#api_credentials || (this.#api_credentials = chunkKJRFIWHK_cjs.api_credentials_default.withAdapter(this.adapter));
|
|
52
52
|
}
|
|
53
53
|
get application_memberships() {
|
|
54
|
-
return this.#application_memberships || (this.#application_memberships =
|
|
54
|
+
return this.#application_memberships || (this.#application_memberships = chunkFHXWFSIQ_cjs.application_memberships_default.withAdapter(this.adapter));
|
|
55
55
|
}
|
|
56
56
|
get identity_providers() {
|
|
57
|
-
return this.#identity_providers || (this.#identity_providers =
|
|
57
|
+
return this.#identity_providers || (this.#identity_providers = chunkJDXNOZFC_cjs.identity_providers_default.withAdapter(this.adapter));
|
|
58
58
|
}
|
|
59
59
|
get memberships() {
|
|
60
|
-
return this.#memberships || (this.#memberships =
|
|
60
|
+
return this.#memberships || (this.#memberships = chunkYFZRO7OE_cjs.memberships_default.withAdapter(this.adapter));
|
|
61
61
|
}
|
|
62
62
|
get membership_profiles() {
|
|
63
|
-
return this.#membership_profiles || (this.#membership_profiles =
|
|
63
|
+
return this.#membership_profiles || (this.#membership_profiles = chunkQVV2ORWB_cjs.membership_profiles_default.withAdapter(this.adapter));
|
|
64
64
|
}
|
|
65
65
|
get organizations() {
|
|
66
|
-
return this.#organizations || (this.#organizations =
|
|
66
|
+
return this.#organizations || (this.#organizations = chunkTOXS3OUT_cjs.organizations_default.withAdapter(this.adapter));
|
|
67
67
|
}
|
|
68
68
|
get permissions() {
|
|
69
|
-
return this.#permissions || (this.#permissions =
|
|
69
|
+
return this.#permissions || (this.#permissions = chunkOKBMV3W5_cjs.permissions_default.withAdapter(this.adapter));
|
|
70
70
|
}
|
|
71
71
|
get roles() {
|
|
72
|
-
return this.#roles || (this.#roles =
|
|
72
|
+
return this.#roles || (this.#roles = chunkRSAADRRH_cjs.roles_default.withAdapter(this.adapter));
|
|
73
73
|
}
|
|
74
74
|
get user() {
|
|
75
|
-
return this.#user || (this.#user =
|
|
75
|
+
return this.#user || (this.#user = chunkNFF6DWKZ_cjs.users_default.withAdapter(this.adapter));
|
|
76
76
|
}
|
|
77
77
|
get versions() {
|
|
78
|
-
return this.#versions || (this.#versions =
|
|
78
|
+
return this.#versions || (this.#versions = chunkLISATEFD_cjs.versions_default.withAdapter(this.adapter));
|
|
79
79
|
}
|
|
80
80
|
// ##__CL_RESOURCES_LAZY_LOADING_STOP__##
|
|
81
81
|
// ##__CL_RESOURCES_ACCESSORS_ONLY_START__##
|
|
@@ -89,5 +89,5 @@ var bundle_default = CommerceLayerProvisioning;
|
|
|
89
89
|
|
|
90
90
|
exports.CommerceLayerProvisioning = CommerceLayerProvisioning;
|
|
91
91
|
exports.bundle_default = bundle_default;
|
|
92
|
-
//# sourceMappingURL=chunk-
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
92
|
+
//# sourceMappingURL=chunk-5D5YOHG4.cjs.map
|
|
93
|
+
//# sourceMappingURL=chunk-5D5YOHG4.cjs.map
|