@seekora-ai/admin-api 1.2.2 → 1.2.4

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/dist/api.js CHANGED
@@ -18294,10 +18294,10 @@ const BillingUserPaymentsApiAxiosParamCreator = function (configuration) {
18294
18294
  * @param {*} [options] Override http request option.
18295
18295
  * @throws {RequiredError}
18296
18296
  */
18297
- apiBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest_1, ...args_1) => __awaiter(this, [billingServiceRetryPaymentRequest_1, ...args_1], void 0, function* (billingServiceRetryPaymentRequest, options = {}) {
18297
+ adminBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest_1, ...args_1) => __awaiter(this, [billingServiceRetryPaymentRequest_1, ...args_1], void 0, function* (billingServiceRetryPaymentRequest, options = {}) {
18298
18298
  // verify required parameter 'billingServiceRetryPaymentRequest' is not null or undefined
18299
- (0, common_1.assertParamExists)('apiBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest);
18300
- const localVarPath = `/api/billing/payments/retry`;
18299
+ (0, common_1.assertParamExists)('adminBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest);
18300
+ const localVarPath = `/admin/billing/payments/retry`;
18301
18301
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18302
18302
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18303
18303
  let baseOptions;
@@ -18326,10 +18326,10 @@ const BillingUserPaymentsApiAxiosParamCreator = function (configuration) {
18326
18326
  * @param {*} [options] Override http request option.
18327
18327
  * @throws {RequiredError}
18328
18328
  */
18329
- apiBillingSubscriptionsIdPaymentStatusGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
18329
+ adminBillingSubscriptionsIdPaymentStatusGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
18330
18330
  // verify required parameter 'id' is not null or undefined
18331
- (0, common_1.assertParamExists)('apiBillingSubscriptionsIdPaymentStatusGet', 'id', id);
18332
- const localVarPath = `/api/billing/subscriptions/{id}/payment-status`
18331
+ (0, common_1.assertParamExists)('adminBillingSubscriptionsIdPaymentStatusGet', 'id', id);
18332
+ const localVarPath = `/admin/billing/subscriptions/{id}/payment-status`
18333
18333
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18334
18334
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18335
18335
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -18367,12 +18367,12 @@ const BillingUserPaymentsApiFp = function (configuration) {
18367
18367
  * @param {*} [options] Override http request option.
18368
18368
  * @throws {RequiredError}
18369
18369
  */
18370
- apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18370
+ adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18371
18371
  return __awaiter(this, void 0, void 0, function* () {
18372
18372
  var _a, _b, _c;
18373
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
18373
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
18374
18374
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18375
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingUserPaymentsApi.apiBillingPaymentsRetryPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18375
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingUserPaymentsApi.adminBillingPaymentsRetryPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18376
18376
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18377
18377
  });
18378
18378
  },
@@ -18383,12 +18383,12 @@ const BillingUserPaymentsApiFp = function (configuration) {
18383
18383
  * @param {*} [options] Override http request option.
18384
18384
  * @throws {RequiredError}
18385
18385
  */
18386
- apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
18386
+ adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
18387
18387
  return __awaiter(this, void 0, void 0, function* () {
18388
18388
  var _a, _b, _c;
18389
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiBillingSubscriptionsIdPaymentStatusGet(id, options);
18389
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingSubscriptionsIdPaymentStatusGet(id, options);
18390
18390
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18391
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingUserPaymentsApi.apiBillingSubscriptionsIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18391
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingUserPaymentsApi.adminBillingSubscriptionsIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18392
18392
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18393
18393
  });
18394
18394
  },
@@ -18409,8 +18409,8 @@ const BillingUserPaymentsApiFactory = function (configuration, basePath, axios)
18409
18409
  * @param {*} [options] Override http request option.
18410
18410
  * @throws {RequiredError}
18411
18411
  */
18412
- apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18413
- return localVarFp.apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
18412
+ adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18413
+ return localVarFp.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
18414
18414
  },
18415
18415
  /**
18416
18416
  * Gets the current payment status, dunning state, and retry options for a subscription
@@ -18419,8 +18419,8 @@ const BillingUserPaymentsApiFactory = function (configuration, basePath, axios)
18419
18419
  * @param {*} [options] Override http request option.
18420
18420
  * @throws {RequiredError}
18421
18421
  */
18422
- apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
18423
- return localVarFp.apiBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
18422
+ adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
18423
+ return localVarFp.adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
18424
18424
  },
18425
18425
  };
18426
18426
  };
@@ -18440,8 +18440,8 @@ class BillingUserPaymentsApi extends base_1.BaseAPI {
18440
18440
  * @throws {RequiredError}
18441
18441
  * @memberof BillingUserPaymentsApi
18442
18442
  */
18443
- apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18444
- return (0, exports.BillingUserPaymentsApiFp)(this.configuration).apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
18443
+ adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18444
+ return (0, exports.BillingUserPaymentsApiFp)(this.configuration).adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
18445
18445
  }
18446
18446
  /**
18447
18447
  * Gets the current payment status, dunning state, and retry options for a subscription
@@ -18451,8 +18451,8 @@ class BillingUserPaymentsApi extends base_1.BaseAPI {
18451
18451
  * @throws {RequiredError}
18452
18452
  * @memberof BillingUserPaymentsApi
18453
18453
  */
18454
- apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
18455
- return (0, exports.BillingUserPaymentsApiFp)(this.configuration).apiBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
18454
+ adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
18455
+ return (0, exports.BillingUserPaymentsApiFp)(this.configuration).adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
18456
18456
  }
18457
18457
  }
18458
18458
  exports.BillingUserPaymentsApi = BillingUserPaymentsApi;
@@ -35900,6 +35900,37 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
35900
35900
  options: localVarRequestOptions,
35901
35901
  };
35902
35902
  }),
35903
+ /**
35904
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
35905
+ * @summary Get order retry payment info
35906
+ * @param {string} id Order UUID
35907
+ * @param {*} [options] Override http request option.
35908
+ * @throws {RequiredError}
35909
+ */
35910
+ adminPaymentGatewayOrdersIdRetryInfoGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
35911
+ // verify required parameter 'id' is not null or undefined
35912
+ (0, common_1.assertParamExists)('adminPaymentGatewayOrdersIdRetryInfoGet', 'id', id);
35913
+ const localVarPath = `/admin/payment-gateway/orders/{id}/retry-info`
35914
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
35915
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35916
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
35917
+ let baseOptions;
35918
+ if (configuration) {
35919
+ baseOptions = configuration.baseOptions;
35920
+ }
35921
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
35922
+ const localVarHeaderParameter = {};
35923
+ const localVarQueryParameter = {};
35924
+ // authentication BearerAuth required
35925
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
35926
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
35927
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35928
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35929
+ return {
35930
+ url: (0, common_1.toPathString)(localVarUrlObj),
35931
+ options: localVarRequestOptions,
35932
+ };
35933
+ }),
35903
35934
  /**
35904
35935
  * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
35905
35936
  * @summary Get payment status for polling (frontend)
@@ -36246,6 +36277,22 @@ const PaymentGatewayApiFp = function (configuration) {
36246
36277
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36247
36278
  });
36248
36279
  },
36280
+ /**
36281
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
36282
+ * @summary Get order retry payment info
36283
+ * @param {string} id Order UUID
36284
+ * @param {*} [options] Override http request option.
36285
+ * @throws {RequiredError}
36286
+ */
36287
+ adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
36288
+ return __awaiter(this, void 0, void 0, function* () {
36289
+ var _a, _b, _c;
36290
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersIdRetryInfoGet(id, options);
36291
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36292
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersIdRetryInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36293
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36294
+ });
36295
+ },
36249
36296
  /**
36250
36297
  * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
36251
36298
  * @summary Get payment status for polling (frontend)
@@ -36445,6 +36492,16 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
36445
36492
  adminPaymentGatewayOrdersIdGet(id, options) {
36446
36493
  return localVarFp.adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(axios, basePath));
36447
36494
  },
36495
+ /**
36496
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
36497
+ * @summary Get order retry payment info
36498
+ * @param {string} id Order UUID
36499
+ * @param {*} [options] Override http request option.
36500
+ * @throws {RequiredError}
36501
+ */
36502
+ adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
36503
+ return localVarFp.adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(axios, basePath));
36504
+ },
36448
36505
  /**
36449
36506
  * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
36450
36507
  * @summary Get payment status for polling (frontend)
@@ -36601,6 +36658,17 @@ class PaymentGatewayApi extends base_1.BaseAPI {
36601
36658
  adminPaymentGatewayOrdersIdGet(id, options) {
36602
36659
  return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
36603
36660
  }
36661
+ /**
36662
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
36663
+ * @summary Get order retry payment info
36664
+ * @param {string} id Order UUID
36665
+ * @param {*} [options] Override http request option.
36666
+ * @throws {RequiredError}
36667
+ * @memberof PaymentGatewayApi
36668
+ */
36669
+ adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
36670
+ return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(this.axios, this.basePath));
36671
+ }
36604
36672
  /**
36605
36673
  * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
36606
36674
  * @summary Get payment status for polling (frontend)
@@ -50554,6 +50622,38 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
50554
50622
  options: localVarRequestOptions,
50555
50623
  };
50556
50624
  }),
50625
+ /**
50626
+ * Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
50627
+ * @summary Preview plan change details
50628
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50629
+ * @param {*} [options] Override http request option.
50630
+ * @throws {RequiredError}
50631
+ */
50632
+ adminSubscriptionsPlanChangePreviewPost: (subscriptionRoutePlanChangePreviewHTTPRequest_1, ...args_1) => __awaiter(this, [subscriptionRoutePlanChangePreviewHTTPRequest_1, ...args_1], void 0, function* (subscriptionRoutePlanChangePreviewHTTPRequest, options = {}) {
50633
+ // verify required parameter 'subscriptionRoutePlanChangePreviewHTTPRequest' is not null or undefined
50634
+ (0, common_1.assertParamExists)('adminSubscriptionsPlanChangePreviewPost', 'subscriptionRoutePlanChangePreviewHTTPRequest', subscriptionRoutePlanChangePreviewHTTPRequest);
50635
+ const localVarPath = `/admin/subscriptions/plan-change/preview`;
50636
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50637
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
50638
+ let baseOptions;
50639
+ if (configuration) {
50640
+ baseOptions = configuration.baseOptions;
50641
+ }
50642
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
50643
+ const localVarHeaderParameter = {};
50644
+ const localVarQueryParameter = {};
50645
+ // authentication BearerAuth required
50646
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
50647
+ localVarHeaderParameter['Content-Type'] = 'application/json';
50648
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
50649
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
50650
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
50651
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(subscriptionRoutePlanChangePreviewHTTPRequest, localVarRequestOptions, configuration);
50652
+ return {
50653
+ url: (0, common_1.toPathString)(localVarUrlObj),
50654
+ options: localVarRequestOptions,
50655
+ };
50656
+ }),
50557
50657
  /**
50558
50658
  * Updates Subscription information by ID.
50559
50659
  * @summary Update an existing Subscription
@@ -50757,6 +50857,22 @@ const SubscriptionsApiFp = function (configuration) {
50757
50857
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
50758
50858
  });
50759
50859
  },
50860
+ /**
50861
+ * Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
50862
+ * @summary Preview plan change details
50863
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50864
+ * @param {*} [options] Override http request option.
50865
+ * @throws {RequiredError}
50866
+ */
50867
+ adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
50868
+ return __awaiter(this, void 0, void 0, function* () {
50869
+ var _a, _b, _c;
50870
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options);
50871
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
50872
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SubscriptionsApi.adminSubscriptionsPlanChangePreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
50873
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
50874
+ });
50875
+ },
50760
50876
  /**
50761
50877
  * Updates Subscription information by ID.
50762
50878
  * @summary Update an existing Subscription
@@ -50868,6 +50984,16 @@ const SubscriptionsApiFactory = function (configuration, basePath, axios) {
50868
50984
  adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options) {
50869
50985
  return localVarFp.adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(axios, basePath));
50870
50986
  },
50987
+ /**
50988
+ * Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
50989
+ * @summary Preview plan change details
50990
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50991
+ * @param {*} [options] Override http request option.
50992
+ * @throws {RequiredError}
50993
+ */
50994
+ adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
50995
+ return localVarFp.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(axios, basePath));
50996
+ },
50871
50997
  /**
50872
50998
  * Updates Subscription information by ID.
50873
50999
  * @summary Update an existing Subscription
@@ -50951,6 +51077,17 @@ class SubscriptionsApi extends base_1.BaseAPI {
50951
51077
  adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options) {
50952
51078
  return (0, exports.SubscriptionsApiFp)(this.configuration).adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(this.axios, this.basePath));
50953
51079
  }
51080
+ /**
51081
+ * Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
51082
+ * @summary Preview plan change details
51083
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
51084
+ * @param {*} [options] Override http request option.
51085
+ * @throws {RequiredError}
51086
+ * @memberof SubscriptionsApi
51087
+ */
51088
+ adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
51089
+ return (0, exports.SubscriptionsApiFp)(this.configuration).adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(this.axios, this.basePath));
51090
+ }
50954
51091
  /**
50955
51092
  * Updates Subscription information by ID.
50956
51093
  * @summary Update an existing Subscription
@@ -51455,37 +51592,6 @@ const TeamApiAxiosParamCreator = function (configuration) {
51455
51592
  options: localVarRequestOptions,
51456
51593
  };
51457
51594
  }),
51458
- /**
51459
- * Resends the invitation email for an existing pending invitation
51460
- * @summary Resend invitation email
51461
- * @param {string} invitationId Invitation UUID
51462
- * @param {*} [options] Override http request option.
51463
- * @throws {RequiredError}
51464
- */
51465
- v1InvitationsInvitationIdResendPost: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
51466
- // verify required parameter 'invitationId' is not null or undefined
51467
- (0, common_1.assertParamExists)('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId);
51468
- const localVarPath = `/v1/invitations/{invitationId}/resend`
51469
- .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
51470
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
51471
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51472
- let baseOptions;
51473
- if (configuration) {
51474
- baseOptions = configuration.baseOptions;
51475
- }
51476
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
51477
- const localVarHeaderParameter = {};
51478
- const localVarQueryParameter = {};
51479
- // authentication BearerAuth required
51480
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
51481
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
51482
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51483
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51484
- return {
51485
- url: (0, common_1.toPathString)(localVarUrlObj),
51486
- options: localVarRequestOptions,
51487
- };
51488
- }),
51489
51595
  /**
51490
51596
  * Accepts a team invitation using token
51491
51597
  * @summary Accept invitation
@@ -51812,6 +51918,37 @@ const TeamApiAxiosParamCreator = function (configuration) {
51812
51918
  options: localVarRequestOptions,
51813
51919
  };
51814
51920
  }),
51921
+ /**
51922
+ * Resends the invitation email for an existing pending invitation
51923
+ * @summary Resend invitation email
51924
+ * @param {string} invitationId Invitation UUID
51925
+ * @param {*} [options] Override http request option.
51926
+ * @throws {RequiredError}
51927
+ */
51928
+ v1TeamInvitationsInvitationIdResendPost: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
51929
+ // verify required parameter 'invitationId' is not null or undefined
51930
+ (0, common_1.assertParamExists)('v1TeamInvitationsInvitationIdResendPost', 'invitationId', invitationId);
51931
+ const localVarPath = `/v1/team/invitations/{invitationId}/resend`
51932
+ .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
51933
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51934
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51935
+ let baseOptions;
51936
+ if (configuration) {
51937
+ baseOptions = configuration.baseOptions;
51938
+ }
51939
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
51940
+ const localVarHeaderParameter = {};
51941
+ const localVarQueryParameter = {};
51942
+ // authentication BearerAuth required
51943
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
51944
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
51945
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51946
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51947
+ return {
51948
+ url: (0, common_1.toPathString)(localVarUrlObj),
51949
+ options: localVarRequestOptions,
51950
+ };
51951
+ }),
51815
51952
  /**
51816
51953
  * Retrieves all members of the user\'s organization with their details
51817
51954
  * @summary Get all members of an organization
@@ -52045,22 +52182,6 @@ const TeamApiFp = function (configuration) {
52045
52182
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52046
52183
  });
52047
52184
  },
52048
- /**
52049
- * Resends the invitation email for an existing pending invitation
52050
- * @summary Resend invitation email
52051
- * @param {string} invitationId Invitation UUID
52052
- * @param {*} [options] Override http request option.
52053
- * @throws {RequiredError}
52054
- */
52055
- v1InvitationsInvitationIdResendPost(invitationId, options) {
52056
- return __awaiter(this, void 0, void 0, function* () {
52057
- var _a, _b, _c;
52058
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
52059
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
52060
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
52061
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52062
- });
52063
- },
52064
52185
  /**
52065
52186
  * Accepts a team invitation using token
52066
52187
  * @summary Accept invitation
@@ -52226,6 +52347,22 @@ const TeamApiFp = function (configuration) {
52226
52347
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52227
52348
  });
52228
52349
  },
52350
+ /**
52351
+ * Resends the invitation email for an existing pending invitation
52352
+ * @summary Resend invitation email
52353
+ * @param {string} invitationId Invitation UUID
52354
+ * @param {*} [options] Override http request option.
52355
+ * @throws {RequiredError}
52356
+ */
52357
+ v1TeamInvitationsInvitationIdResendPost(invitationId, options) {
52358
+ return __awaiter(this, void 0, void 0, function* () {
52359
+ var _a, _b, _c;
52360
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamInvitationsInvitationIdResendPost(invitationId, options);
52361
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
52362
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1TeamInvitationsInvitationIdResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
52363
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52364
+ });
52365
+ },
52229
52366
  /**
52230
52367
  * Retrieves all members of the user\'s organization with their details
52231
52368
  * @summary Get all members of an organization
@@ -52358,16 +52495,6 @@ const TeamApiFactory = function (configuration, basePath, axios) {
52358
52495
  v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
52359
52496
  return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
52360
52497
  },
52361
- /**
52362
- * Resends the invitation email for an existing pending invitation
52363
- * @summary Resend invitation email
52364
- * @param {string} invitationId Invitation UUID
52365
- * @param {*} [options] Override http request option.
52366
- * @throws {RequiredError}
52367
- */
52368
- v1InvitationsInvitationIdResendPost(invitationId, options) {
52369
- return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
52370
- },
52371
52498
  /**
52372
52499
  * Accepts a team invitation using token
52373
52500
  * @summary Accept invitation
@@ -52473,6 +52600,16 @@ const TeamApiFactory = function (configuration, basePath, axios) {
52473
52600
  v1TeamInvitationsGet(options) {
52474
52601
  return localVarFp.v1TeamInvitationsGet(options).then((request) => request(axios, basePath));
52475
52602
  },
52603
+ /**
52604
+ * Resends the invitation email for an existing pending invitation
52605
+ * @summary Resend invitation email
52606
+ * @param {string} invitationId Invitation UUID
52607
+ * @param {*} [options] Override http request option.
52608
+ * @throws {RequiredError}
52609
+ */
52610
+ v1TeamInvitationsInvitationIdResendPost(invitationId, options) {
52611
+ return localVarFp.v1TeamInvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
52612
+ },
52476
52613
  /**
52477
52614
  * Retrieves all members of the user\'s organization with their details
52478
52615
  * @summary Get all members of an organization
@@ -52579,17 +52716,6 @@ class TeamApi extends base_1.BaseAPI {
52579
52716
  v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
52580
52717
  return (0, exports.TeamApiFp)(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
52581
52718
  }
52582
- /**
52583
- * Resends the invitation email for an existing pending invitation
52584
- * @summary Resend invitation email
52585
- * @param {string} invitationId Invitation UUID
52586
- * @param {*} [options] Override http request option.
52587
- * @throws {RequiredError}
52588
- * @memberof TeamApi
52589
- */
52590
- v1InvitationsInvitationIdResendPost(invitationId, options) {
52591
- return (0, exports.TeamApiFp)(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
52592
- }
52593
52719
  /**
52594
52720
  * Accepts a team invitation using token
52595
52721
  * @summary Accept invitation
@@ -52705,6 +52831,17 @@ class TeamApi extends base_1.BaseAPI {
52705
52831
  v1TeamInvitationsGet(options) {
52706
52832
  return (0, exports.TeamApiFp)(this.configuration).v1TeamInvitationsGet(options).then((request) => request(this.axios, this.basePath));
52707
52833
  }
52834
+ /**
52835
+ * Resends the invitation email for an existing pending invitation
52836
+ * @summary Resend invitation email
52837
+ * @param {string} invitationId Invitation UUID
52838
+ * @param {*} [options] Override http request option.
52839
+ * @throws {RequiredError}
52840
+ * @memberof TeamApi
52841
+ */
52842
+ v1TeamInvitationsInvitationIdResendPost(invitationId, options) {
52843
+ return (0, exports.TeamApiFp)(this.configuration).v1TeamInvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
52844
+ }
52708
52845
  /**
52709
52846
  * Retrieves all members of the user\'s organization with their details
52710
52847
  * @summary Get all members of an organization