rebilly-js-sdk 62.176.1 → 62.177.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,3 @@
1
- ## 62.176.1 (2026-09-28)
1
+ ## 62.177.0 (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
  /**
@@ -21748,6 +21730,7 @@ export interface coreComponents {
21748
21730
  /** IPN secret of the Unlimit merchant. */
21749
21731
  ipnSecret: string;
21750
21732
  };
21733
+ threeDSecureServer?: coreComponents["schemas"]["ThreeDSecureIO3dsServer"];
21751
21734
  };
21752
21735
  /** UPayCard gateway configuration. */
21753
21736
  UPayCard: coreComponents["schemas"]["GatewayAccount"] & {
@@ -21900,16 +21883,10 @@ export interface coreComponents {
21900
21883
  acquiringInstitutionIdentificationCode: string;
21901
21884
  /** Merchant payment gateway ID from Mastercard. */
21902
21885
  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;
21886
+ /** Client certificate for mutual TLS (mTLS) authentication. */
21887
+ clientCertificate: string;
21888
+ /** Client private key for mutual TLS (mTLS) authentication. */
21889
+ privateKey: string;
21913
21890
  };
21914
21891
  /** WorldlineAtosFrankfurt settings. */
21915
21892
  settings: {
@@ -21921,8 +21898,6 @@ export interface coreComponents {
21921
21898
  cardAcceptorCountryCode: string;
21922
21899
  /** Comma-separated list of terminal IDs. */
21923
21900
  terminalIds?: string;
21924
- /** Indicates whether to use mutual TLS (mTLS) for the connection. */
21925
- useMtls?: boolean;
21926
21901
  };
21927
21902
  };
21928
21903
  /** Worldpay gateway configuration. */
@@ -22418,48 +22393,6 @@ export interface coreComponents {
22418
22393
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
22419
22394
  _links?: coreComponents["schemas"]["SelfLink"];
22420
22395
  };
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
22396
  Organization: {
22464
22397
  /**
22465
22398
  * Unique organization identifier.
@@ -33798,7 +33731,12 @@ export interface operations {
33798
33731
  };
33799
33732
  };
33800
33733
  };
33801
- /** Voids a credit memo with a specified ID. */
33734
+ /**
33735
+ * Voids a credit memo with a specified ID.
33736
+ * Removes the invoice allocations of the credit memo and returns the allocated amounts to the invoices.
33737
+ * If the credit memo is allocated to an invoice that is not payable, such as a paid invoice,
33738
+ * the request fails with a `409` response and the credit memo is not changed.
33739
+ */
33802
33740
  PostCreditMemoVoid: {
33803
33741
  parameters: {
33804
33742
  path: {
@@ -33817,6 +33755,7 @@ export interface operations {
33817
33755
  401: coreComponents["responses"]["Unauthorized"];
33818
33756
  403: coreComponents["responses"]["Forbidden"];
33819
33757
  404: coreComponents["responses"]["NotFound"];
33758
+ 409: coreComponents["responses"]["Conflict"];
33820
33759
  429: coreComponents["responses"]["TooManyRequests"];
33821
33760
  };
33822
33761
  };
@@ -42157,116 +42096,8 @@ export interface operations {
42157
42096
  404: coreComponents["responses"]["NotFound"];
42158
42097
  };
42159
42098
  };
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
42099
  /** Deletes a membership with a specified organization ID and user ID. */
42269
- DeleteMembership: {
42100
+ DeleteUserMembership: {
42270
42101
  parameters: {
42271
42102
  path: {
42272
42103
  /**
@@ -61347,6 +61178,7 @@ export interface storefrontComponents {
61347
61178
  /** IPN secret of the Unlimit merchant. */
61348
61179
  ipnSecret: string;
61349
61180
  };
61181
+ threeDSecureServer?: storefrontComponents["schemas"]["ThreeDSecureIO3dsServer"];
61350
61182
  };
61351
61183
  /** UPayCard gateway configuration. */
61352
61184
  UPayCard: storefrontComponents["schemas"]["GatewayAccount"] & {
@@ -61499,16 +61331,10 @@ export interface storefrontComponents {
61499
61331
  acquiringInstitutionIdentificationCode: string;
61500
61332
  /** Merchant payment gateway ID from Mastercard. */
61501
61333
  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;
61334
+ /** Client certificate for mutual TLS (mTLS) authentication. */
61335
+ clientCertificate: string;
61336
+ /** Client private key for mutual TLS (mTLS) authentication. */
61337
+ privateKey: string;
61512
61338
  };
61513
61339
  /** WorldlineAtosFrankfurt settings. */
61514
61340
  settings: {
@@ -61520,8 +61346,6 @@ export interface storefrontComponents {
61520
61346
  cardAcceptorCountryCode: string;
61521
61347
  /** Comma-separated list of terminal IDs. */
61522
61348
  terminalIds?: string;
61523
- /** Indicates whether to use mutual TLS (mTLS) for the connection. */
61524
- useMtls?: boolean;
61525
61349
  };
61526
61350
  };
61527
61351
  /** Worldpay gateway configuration. */
@@ -62017,48 +61841,6 @@ export interface storefrontComponents {
62017
61841
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62018
61842
  _links?: storefrontComponents["schemas"]["SelfLink"];
62019
61843
  };
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
61844
  Organization: {
62063
61845
  /**
62064
61846
  * Unique organization identifier.
@@ -87965,6 +87747,7 @@ export interface reportsComponents {
87965
87747
  /** IPN secret of the Unlimit merchant. */
87966
87748
  ipnSecret: string;
87967
87749
  };
87750
+ threeDSecureServer?: reportsComponents["schemas"]["ThreeDSecureIO3dsServer"];
87968
87751
  };
87969
87752
  /** UPayCard gateway configuration. */
87970
87753
  UPayCard: reportsComponents["schemas"]["GatewayAccount"] & {
@@ -88117,16 +87900,10 @@ export interface reportsComponents {
88117
87900
  acquiringInstitutionIdentificationCode: string;
88118
87901
  /** Merchant payment gateway ID from Mastercard. */
88119
87902
  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;
87903
+ /** Client certificate for mutual TLS (mTLS) authentication. */
87904
+ clientCertificate: string;
87905
+ /** Client private key for mutual TLS (mTLS) authentication. */
87906
+ privateKey: string;
88130
87907
  };
88131
87908
  /** WorldlineAtosFrankfurt settings. */
88132
87909
  settings: {
@@ -88138,8 +87915,6 @@ export interface reportsComponents {
88138
87915
  cardAcceptorCountryCode: string;
88139
87916
  /** Comma-separated list of terminal IDs. */
88140
87917
  terminalIds?: string;
88141
- /** Indicates whether to use mutual TLS (mTLS) for the connection. */
88142
- useMtls?: boolean;
88143
87918
  };
88144
87919
  };
88145
87920
  /** Worldpay gateway configuration. */
@@ -88635,48 +88410,6 @@ export interface reportsComponents {
88635
88410
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88636
88411
  _links?: reportsComponents["schemas"]["SelfLink"];
88637
88412
  };
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
88413
  Organization: {
88681
88414
  /**
88682
88415
  * Unique organization identifier.
@@ -99808,17 +99541,8 @@ declare module "rebilly-js-sdk" {
99808
99541
  export type GetListVersionRequest = rebilly.GetListVersionRequest;
99809
99542
  export type GetListVersionResponse = rebilly.GetListVersionResponse;
99810
99543
  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;
99544
+ export type DeleteUserMembershipResponse = rebilly.DeleteUserMembershipResponse;
99545
+ export type DeleteUserMembershipResponsePromise = rebilly.DeleteUserMembershipResponsePromise;
99822
99546
  export type GetOrganizationCollectionRequest = rebilly.GetOrganizationCollectionRequest;
99823
99547
  export type GetOrganizationCollectionResponse = rebilly.GetOrganizationCollectionResponse;
99824
99548
  export type GetOrganizationCollectionResponsePromise = rebilly.GetOrganizationCollectionResponsePromise;