reach-api-sdk 1.0.153 → 1.0.154

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.
@@ -43893,6 +43893,17 @@ declare class TenantsService {
43893
43893
  */
43894
43894
  id: string;
43895
43895
  }): CancelablePromise<boolean>;
43896
+ /**
43897
+ * Unlinks a stripe account from a tenant. />.
43898
+ * @returns Tenant Success
43899
+ * @throws ApiError
43900
+ */
43901
+ unlinkStripeAccount({ tenantId, }: {
43902
+ /**
43903
+ * The tenant Id.
43904
+ */
43905
+ tenantId: string;
43906
+ }): CancelablePromise<Tenant>;
43896
43907
  /**
43897
43908
  * Registers the tenants domain with Apple pay in Stripe. />.
43898
43909
  * @returns string Success
@@ -48416,11 +48427,11 @@ declare class VenuesService {
48416
48427
  stripeAccountId: string;
48417
48428
  }): CancelablePromise<Venue>;
48418
48429
  /**
48419
- * Removes a stripe account from a venue. />.
48430
+ * Unlinks a stripe account from a venue. />.
48420
48431
  * @returns Venue Success
48421
48432
  * @throws ApiError
48422
48433
  */
48423
- removeStripeAccount({ venueId, }: {
48434
+ unlinkStripeAccount({ venueId, }: {
48424
48435
  /**
48425
48436
  * The venue Id.
48426
48437
  */
package/dist/reach-sdk.js CHANGED
@@ -32022,6 +32022,27 @@ const request = (config, options, axiosClient = axios) => {
32022
32022
  }
32023
32023
  });
32024
32024
  }
32025
+ /**
32026
+ * Unlinks a stripe account from a tenant. />.
32027
+ * @returns Tenant Success
32028
+ * @throws ApiError
32029
+ */
32030
+ unlinkStripeAccount({
32031
+ tenantId
32032
+ }) {
32033
+ return this.httpRequest.request({
32034
+ method: "PATCH",
32035
+ url: "/api/tenants/{tenantId}/unlink-stripe-account",
32036
+ path: {
32037
+ tenantId
32038
+ },
32039
+ errors: {
32040
+ 400: `Bad Request`,
32041
+ 422: `Client Error`,
32042
+ 500: `Server Error`
32043
+ }
32044
+ });
32045
+ }
32025
32046
  /**
32026
32047
  * Registers the tenants domain with Apple pay in Stripe. />.
32027
32048
  * @returns string Success
@@ -35948,16 +35969,16 @@ const request = (config, options, axiosClient = axios) => {
35948
35969
  });
35949
35970
  }
35950
35971
  /**
35951
- * Removes a stripe account from a venue. />.
35972
+ * Unlinks a stripe account from a venue. />.
35952
35973
  * @returns Venue Success
35953
35974
  * @throws ApiError
35954
35975
  */
35955
- removeStripeAccount({
35976
+ unlinkStripeAccount({
35956
35977
  venueId
35957
35978
  }) {
35958
35979
  return this.httpRequest.request({
35959
35980
  method: "PATCH",
35960
- url: "/api/venues/{venueId}/remove-stripe-account",
35981
+ url: "/api/venues/{venueId}/unlink-stripe-account",
35961
35982
  path: {
35962
35983
  venueId
35963
35984
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.153",
3
+ "version": "1.0.154",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -93898,6 +93898,69 @@ paths:
93898
93898
  text/json:
93899
93899
  schema:
93900
93900
  $ref: '#/components/schemas/ValidationResultModel'
93901
+ '/api/tenants/{tenantId}/unlink-stripe-account':
93902
+ patch:
93903
+ tags:
93904
+ - Tenants
93905
+ summary: Unlinks a stripe account from a tenant. />.
93906
+ operationId: UnlinkStripeAccount
93907
+ parameters:
93908
+ - name: tenantId
93909
+ in: path
93910
+ description: The tenant Id.
93911
+ required: true
93912
+ schema:
93913
+ type: string
93914
+ format: uuid
93915
+ responses:
93916
+ '200':
93917
+ description: Success
93918
+ content:
93919
+ text/plain:
93920
+ schema:
93921
+ $ref: '#/components/schemas/Tenant'
93922
+ application/json:
93923
+ schema:
93924
+ $ref: '#/components/schemas/Tenant'
93925
+ text/json:
93926
+ schema:
93927
+ $ref: '#/components/schemas/Tenant'
93928
+ '400':
93929
+ description: Bad Request
93930
+ content:
93931
+ text/plain:
93932
+ schema:
93933
+ $ref: '#/components/schemas/ReachError'
93934
+ application/json:
93935
+ schema:
93936
+ $ref: '#/components/schemas/ReachError'
93937
+ text/json:
93938
+ schema:
93939
+ $ref: '#/components/schemas/ReachError'
93940
+ '500':
93941
+ description: Server Error
93942
+ content:
93943
+ text/plain:
93944
+ schema:
93945
+ $ref: '#/components/schemas/ReachError'
93946
+ application/json:
93947
+ schema:
93948
+ $ref: '#/components/schemas/ReachError'
93949
+ text/json:
93950
+ schema:
93951
+ $ref: '#/components/schemas/ReachError'
93952
+ '422':
93953
+ description: Client Error
93954
+ content:
93955
+ text/plain:
93956
+ schema:
93957
+ $ref: '#/components/schemas/ValidationResultModel'
93958
+ application/json:
93959
+ schema:
93960
+ $ref: '#/components/schemas/ValidationResultModel'
93961
+ text/json:
93962
+ schema:
93963
+ $ref: '#/components/schemas/ValidationResultModel'
93901
93964
  '/api/tenants/{id}/register-apple-pay-domain':
93902
93965
  get:
93903
93966
  tags:
@@ -105848,12 +105911,12 @@ paths:
105848
105911
  text/json:
105849
105912
  schema:
105850
105913
  $ref: '#/components/schemas/ValidationResultModel'
105851
- '/api/venues/{venueId}/remove-stripe-account':
105914
+ '/api/venues/{venueId}/unlink-stripe-account':
105852
105915
  patch:
105853
105916
  tags:
105854
105917
  - Venues
105855
- summary: Removes a stripe account from a venue. />.
105856
- operationId: RemoveStripeAccount
105918
+ summary: Unlinks a stripe account from a venue. />.
105919
+ operationId: UnlinkStripeAccount
105857
105920
  parameters:
105858
105921
  - name: venueId
105859
105922
  in: path
@@ -268,6 +268,33 @@ export class TenantsService {
268
268
  });
269
269
  }
270
270
 
271
+ /**
272
+ * Unlinks a stripe account from a tenant. />.
273
+ * @returns Tenant Success
274
+ * @throws ApiError
275
+ */
276
+ public unlinkStripeAccount({
277
+ tenantId,
278
+ }: {
279
+ /**
280
+ * The tenant Id.
281
+ */
282
+ tenantId: string;
283
+ }): CancelablePromise<Tenant> {
284
+ return this.httpRequest.request({
285
+ method: 'PATCH',
286
+ url: '/api/tenants/{tenantId}/unlink-stripe-account',
287
+ path: {
288
+ tenantId: tenantId,
289
+ },
290
+ errors: {
291
+ 400: `Bad Request`,
292
+ 422: `Client Error`,
293
+ 500: `Server Error`,
294
+ },
295
+ });
296
+ }
297
+
271
298
  /**
272
299
  * Registers the tenants domain with Apple pay in Stripe. />.
273
300
  * @returns string Success
@@ -183,11 +183,11 @@ export class VenuesService {
183
183
  }
184
184
 
185
185
  /**
186
- * Removes a stripe account from a venue. />.
186
+ * Unlinks a stripe account from a venue. />.
187
187
  * @returns Venue Success
188
188
  * @throws ApiError
189
189
  */
190
- public removeStripeAccount({
190
+ public unlinkStripeAccount({
191
191
  venueId,
192
192
  }: {
193
193
  /**
@@ -197,7 +197,7 @@ export class VenuesService {
197
197
  }): CancelablePromise<Venue> {
198
198
  return this.httpRequest.request({
199
199
  method: 'PATCH',
200
- url: '/api/venues/{venueId}/remove-stripe-account',
200
+ url: '/api/venues/{venueId}/unlink-stripe-account',
201
201
  path: {
202
202
  venueId: venueId,
203
203
  },