rebilly-js-sdk 62.176.1 → 62.176.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,3 @@
1
- ## 62.176.1 (2026-09-28)
1
+ ## 62.176.2 (2026-09-28)
2
2
 
3
- ### Bug Fixes
4
-
5
- - **rebilly-js-sdk:** drop the stale memberships resource ([#27310](https://github.com/Rebilly/rebilly/pull/27310))
3
+ This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
@@ -1620,20 +1620,8 @@ declare namespace rebilly {
1620
1620
  type GetListVersionResponse = operations['GetListVersion']['responses']['200']['content']['application/json']
1621
1621
  type GetListVersionResponsePromise = Promise<{fields: GetListVersionResponse}>
1622
1622
 
1623
- type GetMembershipCollectionRequest = operations['GetMembershipCollection']['parameters']["query"] & (operations['GetMembershipCollection']['parameters'] extends {path: {}} ? operations['GetMembershipCollection']['parameters']["path"] : {})
1624
-
1625
- type GetMembershipCollectionResponse = operations['GetMembershipCollection']['responses']['200']['content']['application/json'][0]
1626
- type GetMembershipCollectionResponsePromise = Promise<{ items: {fields: GetMembershipCollectionResponse}[], getJSON: object, total?: number, offset?: number, limit?: number }>
1627
-
1628
- type GetMembershipRequest = { organizationId: string,userId: string }
1629
-
1630
- type GetMembershipResponse = operations['GetMembership']['responses']['200']['content']['application/json']
1631
- type GetMembershipResponsePromise = Promise<{fields: GetMembershipResponse}>
1632
- type PutMembershipRequest = operations['PutMembership']['requestBody']['content']['application/json']
1633
- type PutMembershipResponse = operations['PutMembership']['responses']['201']['content']['application/json']
1634
- type PutMembershipResponsePromise = Promise<{fields: PutMembershipResponse}>
1635
- type DeleteMembershipResponse = operations['DeleteMembership']['responses']['204']
1636
- type DeleteMembershipResponsePromise = Promise<{fields: DeleteMembershipResponse}>
1623
+ type DeleteUserMembershipResponse = operations['DeleteUserMembership']['responses']['204']
1624
+ type DeleteUserMembershipResponsePromise = Promise<{fields: DeleteUserMembershipResponse}>
1637
1625
 
1638
1626
  type GetOrganizationCollectionRequest = operations['GetOrganizationCollection']['parameters']["query"] & (operations['GetOrganizationCollection']['parameters'] extends {path: {}} ? operations['GetOrganizationCollection']['parameters']["path"] : {})
1639
1627
 
@@ -3324,7 +3312,12 @@ export interface corePaths {
3324
3312
  };
3325
3313
  };
3326
3314
  "/credit-memos/{id}/void": {
3327
- /** Voids a credit memo with a specified ID. */
3315
+ /**
3316
+ * Voids a credit memo with a specified ID.
3317
+ * Removes the invoice allocations of the credit memo and returns the allocated amounts to the invoices.
3318
+ * If the credit memo is allocated to an invoice that is not payable, such as a paid invoice,
3319
+ * the request fails with a `409` response and the credit memo is not changed.
3320
+ */
3328
3321
  post: operations["PostCreditMemoVoid"];
3329
3322
  parameters: {
3330
3323
  path: {
@@ -5308,20 +5301,9 @@ export interface corePaths {
5308
5301
  };
5309
5302
  };
5310
5303
  };
5311
- "/memberships": {
5312
- /** Retrieves a list of organization memberships. */
5313
- get: operations["GetMembershipCollection"];
5314
- };
5315
5304
  "/memberships/{organizationId}/{userId}": {
5316
- /** Retrieves a membership with a specified organization ID and user ID. */
5317
- get: operations["GetMembership"];
5318
- /**
5319
- * Creates or updates (upserts) a membership with a specified organization ID and user ID.
5320
- * Only the organization owner can grant organization membership to new users.
5321
- */
5322
- put: operations["PutMembership"];
5323
5305
  /** Deletes a membership with a specified organization ID and user ID. */
5324
- delete: operations["DeleteMembership"];
5306
+ delete: operations["DeleteUserMembership"];
5325
5307
  parameters: {
5326
5308
  path: {
5327
5309
  /**
@@ -21900,16 +21882,10 @@ export interface coreComponents {
21900
21882
  acquiringInstitutionIdentificationCode: string;
21901
21883
  /** Merchant payment gateway ID from Mastercard. */
21902
21884
  mpgId: string;
21903
- /**
21904
- * Client certificate for mutual TLS (mTLS) authentication.
21905
- * This value is required if `useMtls` is set to `true`.
21906
- */
21907
- clientCertificate?: string;
21908
- /**
21909
- * Client private key for mutual TLS (mTLS) authentication.
21910
- * This value is required if `useMtls` is set to `true`.
21911
- */
21912
- privateKey?: string;
21885
+ /** Client certificate for mutual TLS (mTLS) authentication. */
21886
+ clientCertificate: string;
21887
+ /** Client private key for mutual TLS (mTLS) authentication. */
21888
+ privateKey: string;
21913
21889
  };
21914
21890
  /** WorldlineAtosFrankfurt settings. */
21915
21891
  settings: {
@@ -21921,8 +21897,6 @@ export interface coreComponents {
21921
21897
  cardAcceptorCountryCode: string;
21922
21898
  /** Comma-separated list of terminal IDs. */
21923
21899
  terminalIds?: string;
21924
- /** Indicates whether to use mutual TLS (mTLS) for the connection. */
21925
- useMtls?: boolean;
21926
21900
  };
21927
21901
  };
21928
21902
  /** Worldpay gateway configuration. */
@@ -22418,48 +22392,6 @@ export interface coreComponents {
22418
22392
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
22419
22393
  _links?: coreComponents["schemas"]["SelfLink"];
22420
22394
  };
22421
- Membership: {
22422
- /** Organization membership. */
22423
- organization: {
22424
- /** ID of the organization. */
22425
- id?: coreComponents["schemas"]["ResourceId"];
22426
- /** Name of the organization. */
22427
- name?: string;
22428
- createdTime?: coreComponents["schemas"]["CreatedTime"];
22429
- updatedTime?: coreComponents["schemas"]["UpdatedTime"];
22430
- };
22431
- /** Membership user. */
22432
- user: {
22433
- /** ID of the user. */
22434
- id?: string;
22435
- /** First and last name of the user. */
22436
- name?: string;
22437
- /** Email address of the user. */
22438
- email?: string;
22439
- };
22440
- allowedIps?: coreComponents["schemas"]["AllowedIps"];
22441
- /**
22442
- * Permissions that the user has within the organization.
22443
- * Use the wildcard character `*` for full access.
22444
- */
22445
- permissions?: coreComponents["schemas"]["AclPermissions"];
22446
- /** Specifies if the user is the owner of the organization. */
22447
- isOwner?: boolean;
22448
- /** Specifies if the organization is the default organization for the user. */
22449
- isDefault?: boolean;
22450
- /**
22451
- * Role IDs associated with the user.
22452
- * Role IDs specify the roles that the user performs within the organization.
22453
- * For example, the user may be an organization admin.
22454
- */
22455
- roleIds?: string[];
22456
- acl?: coreComponents["schemas"]["Acl"];
22457
- _links?: coreComponents["schemas"]["SelfLink"];
22458
- /** Embedded objects that are requested by the `expand` query parameter. */
22459
- _embedded?: {
22460
- roles?: any[];
22461
- };
22462
- };
22463
22395
  Organization: {
22464
22396
  /**
22465
22397
  * Unique organization identifier.
@@ -33798,7 +33730,12 @@ export interface operations {
33798
33730
  };
33799
33731
  };
33800
33732
  };
33801
- /** Voids a credit memo with a specified ID. */
33733
+ /**
33734
+ * Voids a credit memo with a specified ID.
33735
+ * Removes the invoice allocations of the credit memo and returns the allocated amounts to the invoices.
33736
+ * If the credit memo is allocated to an invoice that is not payable, such as a paid invoice,
33737
+ * the request fails with a `409` response and the credit memo is not changed.
33738
+ */
33802
33739
  PostCreditMemoVoid: {
33803
33740
  parameters: {
33804
33741
  path: {
@@ -33817,6 +33754,7 @@ export interface operations {
33817
33754
  401: coreComponents["responses"]["Unauthorized"];
33818
33755
  403: coreComponents["responses"]["Forbidden"];
33819
33756
  404: coreComponents["responses"]["NotFound"];
33757
+ 409: coreComponents["responses"]["Conflict"];
33820
33758
  429: coreComponents["responses"]["TooManyRequests"];
33821
33759
  };
33822
33760
  };
@@ -42157,116 +42095,8 @@ export interface operations {
42157
42095
  404: coreComponents["responses"]["NotFound"];
42158
42096
  };
42159
42097
  };
42160
- /** Retrieves a list of organization memberships. */
42161
- GetMembershipCollection: {
42162
- parameters: {
42163
- query: {
42164
- /**
42165
- * Limit the number of collection items to be returned.
42166
- * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
42167
- */
42168
- limit?: coreComponents["parameters"]["collectionLimit"];
42169
- /** Specifies the starting point within the collection of items to be returned. */
42170
- offset?: coreComponents["parameters"]["collectionOffset"];
42171
- /**
42172
- * Criteria for filtering collection items.
42173
- * This field requires a special format.
42174
- * Use `,` to specify multiple allowed values.
42175
- * Use `;` to specify multiple fields.
42176
- *
42177
- * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
42178
- */
42179
- filter?: coreComponents["parameters"]["collectionFilter"];
42180
- /**
42181
- * Sorts and orders the collection of items. To sort in descending
42182
- * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
42183
- */
42184
- sort?: coreComponents["parameters"]["collectionSort"];
42185
- };
42186
- };
42187
- responses: {
42188
- /** List of organization memberships retrieved. */
42189
- 200: {
42190
- headers: {};
42191
- content: {
42192
- "application/json": coreComponents["schemas"]["Membership"][];
42193
- };
42194
- };
42195
- 401: coreComponents["responses"]["Unauthorized"];
42196
- 403: coreComponents["responses"]["Forbidden"];
42197
- };
42198
- };
42199
- /** Retrieves a membership with a specified organization ID and user ID. */
42200
- GetMembership: {
42201
- parameters: {
42202
- path: {
42203
- /**
42204
- * Unique organization identifier.
42205
- * An organization is an entity that represents a company.
42206
- * For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
42207
- */
42208
- organizationId: coreComponents["schemas"]["ResourceId"];
42209
- /** ID of the user. */
42210
- userId: coreComponents["schemas"]["ResourceId"];
42211
- };
42212
- };
42213
- responses: {
42214
- /** Membership retrieved. */
42215
- 200: {
42216
- content: {
42217
- "application/json": coreComponents["schemas"]["Membership"];
42218
- };
42219
- };
42220
- 401: coreComponents["responses"]["Unauthorized"];
42221
- 403: coreComponents["responses"]["Forbidden"];
42222
- 404: coreComponents["responses"]["NotFound"];
42223
- };
42224
- };
42225
- /**
42226
- * Creates or updates (upserts) a membership with a specified organization ID and user ID.
42227
- * Only the organization owner can grant organization membership to new users.
42228
- */
42229
- PutMembership: {
42230
- parameters: {
42231
- path: {
42232
- /**
42233
- * Unique organization identifier.
42234
- * An organization is an entity that represents a company.
42235
- * For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
42236
- */
42237
- organizationId: coreComponents["schemas"]["ResourceId"];
42238
- /** ID of the user. */
42239
- userId: coreComponents["schemas"]["ResourceId"];
42240
- };
42241
- };
42242
- responses: {
42243
- /** Membership updated. */
42244
- 200: {
42245
- headers: {};
42246
- content: {
42247
- "application/json": coreComponents["schemas"]["Membership"];
42248
- };
42249
- };
42250
- /** Membership created. */
42251
- 201: {
42252
- headers: {};
42253
- content: {
42254
- "application/json": coreComponents["schemas"]["Membership"];
42255
- };
42256
- };
42257
- 401: coreComponents["responses"]["Unauthorized"];
42258
- 403: coreComponents["responses"]["Forbidden"];
42259
- 409: coreComponents["responses"]["Conflict"];
42260
- 429: coreComponents["responses"]["TooManyRequests"];
42261
- };
42262
- requestBody: {
42263
- content: {
42264
- "application/json": coreComponents["schemas"]["Membership"];
42265
- };
42266
- };
42267
- };
42268
42098
  /** Deletes a membership with a specified organization ID and user ID. */
42269
- DeleteMembership: {
42099
+ DeleteUserMembership: {
42270
42100
  parameters: {
42271
42101
  path: {
42272
42102
  /**
@@ -61499,16 +61329,10 @@ export interface storefrontComponents {
61499
61329
  acquiringInstitutionIdentificationCode: string;
61500
61330
  /** Merchant payment gateway ID from Mastercard. */
61501
61331
  mpgId: string;
61502
- /**
61503
- * Client certificate for mutual TLS (mTLS) authentication.
61504
- * This value is required if `useMtls` is set to `true`.
61505
- */
61506
- clientCertificate?: string;
61507
- /**
61508
- * Client private key for mutual TLS (mTLS) authentication.
61509
- * This value is required if `useMtls` is set to `true`.
61510
- */
61511
- privateKey?: string;
61332
+ /** Client certificate for mutual TLS (mTLS) authentication. */
61333
+ clientCertificate: string;
61334
+ /** Client private key for mutual TLS (mTLS) authentication. */
61335
+ privateKey: string;
61512
61336
  };
61513
61337
  /** WorldlineAtosFrankfurt settings. */
61514
61338
  settings: {
@@ -61520,8 +61344,6 @@ export interface storefrontComponents {
61520
61344
  cardAcceptorCountryCode: string;
61521
61345
  /** Comma-separated list of terminal IDs. */
61522
61346
  terminalIds?: string;
61523
- /** Indicates whether to use mutual TLS (mTLS) for the connection. */
61524
- useMtls?: boolean;
61525
61347
  };
61526
61348
  };
61527
61349
  /** Worldpay gateway configuration. */
@@ -62017,48 +61839,6 @@ export interface storefrontComponents {
62017
61839
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62018
61840
  _links?: storefrontComponents["schemas"]["SelfLink"];
62019
61841
  };
62020
- Membership: {
62021
- /** Organization membership. */
62022
- organization: {
62023
- /** ID of the organization. */
62024
- id?: storefrontComponents["schemas"]["ResourceId"];
62025
- /** Name of the organization. */
62026
- name?: string;
62027
- createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62028
- updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62029
- };
62030
- /** Membership user. */
62031
- user: {
62032
- /** ID of the user. */
62033
- id?: string;
62034
- /** First and last name of the user. */
62035
- name?: string;
62036
- /** Email address of the user. */
62037
- email?: string;
62038
- };
62039
- allowedIps?: storefrontComponents["schemas"]["AllowedIps"];
62040
- /**
62041
- * Permissions that the user has within the organization.
62042
- * Use the wildcard character `*` for full access.
62043
- */
62044
- permissions?: storefrontComponents["schemas"]["AclPermissions"];
62045
- /** Specifies if the user is the owner of the organization. */
62046
- isOwner?: boolean;
62047
- /** Specifies if the organization is the default organization for the user. */
62048
- isDefault?: boolean;
62049
- /**
62050
- * Role IDs associated with the user.
62051
- * Role IDs specify the roles that the user performs within the organization.
62052
- * For example, the user may be an organization admin.
62053
- */
62054
- roleIds?: string[];
62055
- acl?: storefrontComponents["schemas"]["Acl"];
62056
- _links?: storefrontComponents["schemas"]["SelfLink"];
62057
- /** Embedded objects that are requested by the `expand` query parameter. */
62058
- _embedded?: {
62059
- roles?: any[];
62060
- };
62061
- };
62062
61842
  Organization: {
62063
61843
  /**
62064
61844
  * Unique organization identifier.
@@ -88117,16 +87897,10 @@ export interface reportsComponents {
88117
87897
  acquiringInstitutionIdentificationCode: string;
88118
87898
  /** Merchant payment gateway ID from Mastercard. */
88119
87899
  mpgId: string;
88120
- /**
88121
- * Client certificate for mutual TLS (mTLS) authentication.
88122
- * This value is required if `useMtls` is set to `true`.
88123
- */
88124
- clientCertificate?: string;
88125
- /**
88126
- * Client private key for mutual TLS (mTLS) authentication.
88127
- * This value is required if `useMtls` is set to `true`.
88128
- */
88129
- privateKey?: string;
87900
+ /** Client certificate for mutual TLS (mTLS) authentication. */
87901
+ clientCertificate: string;
87902
+ /** Client private key for mutual TLS (mTLS) authentication. */
87903
+ privateKey: string;
88130
87904
  };
88131
87905
  /** WorldlineAtosFrankfurt settings. */
88132
87906
  settings: {
@@ -88138,8 +87912,6 @@ export interface reportsComponents {
88138
87912
  cardAcceptorCountryCode: string;
88139
87913
  /** Comma-separated list of terminal IDs. */
88140
87914
  terminalIds?: string;
88141
- /** Indicates whether to use mutual TLS (mTLS) for the connection. */
88142
- useMtls?: boolean;
88143
87915
  };
88144
87916
  };
88145
87917
  /** Worldpay gateway configuration. */
@@ -88635,48 +88407,6 @@ export interface reportsComponents {
88635
88407
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88636
88408
  _links?: reportsComponents["schemas"]["SelfLink"];
88637
88409
  };
88638
- Membership: {
88639
- /** Organization membership. */
88640
- organization: {
88641
- /** ID of the organization. */
88642
- id?: reportsComponents["schemas"]["ResourceId"];
88643
- /** Name of the organization. */
88644
- name?: string;
88645
- createdTime?: reportsComponents["schemas"]["CreatedTime"];
88646
- updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88647
- };
88648
- /** Membership user. */
88649
- user: {
88650
- /** ID of the user. */
88651
- id?: string;
88652
- /** First and last name of the user. */
88653
- name?: string;
88654
- /** Email address of the user. */
88655
- email?: string;
88656
- };
88657
- allowedIps?: reportsComponents["schemas"]["AllowedIps"];
88658
- /**
88659
- * Permissions that the user has within the organization.
88660
- * Use the wildcard character `*` for full access.
88661
- */
88662
- permissions?: reportsComponents["schemas"]["AclPermissions"];
88663
- /** Specifies if the user is the owner of the organization. */
88664
- isOwner?: boolean;
88665
- /** Specifies if the organization is the default organization for the user. */
88666
- isDefault?: boolean;
88667
- /**
88668
- * Role IDs associated with the user.
88669
- * Role IDs specify the roles that the user performs within the organization.
88670
- * For example, the user may be an organization admin.
88671
- */
88672
- roleIds?: string[];
88673
- acl?: reportsComponents["schemas"]["Acl"];
88674
- _links?: reportsComponents["schemas"]["SelfLink"];
88675
- /** Embedded objects that are requested by the `expand` query parameter. */
88676
- _embedded?: {
88677
- roles?: any[];
88678
- };
88679
- };
88680
88410
  Organization: {
88681
88411
  /**
88682
88412
  * Unique organization identifier.
@@ -99808,17 +99538,8 @@ declare module "rebilly-js-sdk" {
99808
99538
  export type GetListVersionRequest = rebilly.GetListVersionRequest;
99809
99539
  export type GetListVersionResponse = rebilly.GetListVersionResponse;
99810
99540
  export type GetListVersionResponsePromise = rebilly.GetListVersionResponsePromise;
99811
- export type GetMembershipCollectionRequest = rebilly.GetMembershipCollectionRequest;
99812
- export type GetMembershipCollectionResponse = rebilly.GetMembershipCollectionResponse;
99813
- export type GetMembershipCollectionResponsePromise = rebilly.GetMembershipCollectionResponsePromise;
99814
- export type GetMembershipRequest = rebilly.GetMembershipRequest;
99815
- export type GetMembershipResponse = rebilly.GetMembershipResponse;
99816
- export type GetMembershipResponsePromise = rebilly.GetMembershipResponsePromise;
99817
- export type PutMembershipRequest = rebilly.PutMembershipRequest;
99818
- export type PutMembershipResponse = rebilly.PutMembershipResponse;
99819
- export type PutMembershipResponsePromise = rebilly.PutMembershipResponsePromise;
99820
- export type DeleteMembershipResponse = rebilly.DeleteMembershipResponse;
99821
- export type DeleteMembershipResponsePromise = rebilly.DeleteMembershipResponsePromise;
99541
+ export type DeleteUserMembershipResponse = rebilly.DeleteUserMembershipResponse;
99542
+ export type DeleteUserMembershipResponsePromise = rebilly.DeleteUserMembershipResponsePromise;
99822
99543
  export type GetOrganizationCollectionRequest = rebilly.GetOrganizationCollectionRequest;
99823
99544
  export type GetOrganizationCollectionResponse = rebilly.GetOrganizationCollectionResponse;
99824
99545
  export type GetOrganizationCollectionResponsePromise = rebilly.GetOrganizationCollectionResponsePromise;