@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/esm/api.js CHANGED
@@ -18178,10 +18178,10 @@ export const BillingUserPaymentsApiAxiosParamCreator = function (configuration)
18178
18178
  * @param {*} [options] Override http request option.
18179
18179
  * @throws {RequiredError}
18180
18180
  */
18181
- apiBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest_1, ...args_1) => __awaiter(this, [billingServiceRetryPaymentRequest_1, ...args_1], void 0, function* (billingServiceRetryPaymentRequest, options = {}) {
18181
+ adminBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest_1, ...args_1) => __awaiter(this, [billingServiceRetryPaymentRequest_1, ...args_1], void 0, function* (billingServiceRetryPaymentRequest, options = {}) {
18182
18182
  // verify required parameter 'billingServiceRetryPaymentRequest' is not null or undefined
18183
- assertParamExists('apiBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest);
18184
- const localVarPath = `/api/billing/payments/retry`;
18183
+ assertParamExists('adminBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest);
18184
+ const localVarPath = `/admin/billing/payments/retry`;
18185
18185
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18186
18186
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18187
18187
  let baseOptions;
@@ -18210,10 +18210,10 @@ export const BillingUserPaymentsApiAxiosParamCreator = function (configuration)
18210
18210
  * @param {*} [options] Override http request option.
18211
18211
  * @throws {RequiredError}
18212
18212
  */
18213
- apiBillingSubscriptionsIdPaymentStatusGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
18213
+ adminBillingSubscriptionsIdPaymentStatusGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
18214
18214
  // verify required parameter 'id' is not null or undefined
18215
- assertParamExists('apiBillingSubscriptionsIdPaymentStatusGet', 'id', id);
18216
- const localVarPath = `/api/billing/subscriptions/{id}/payment-status`
18215
+ assertParamExists('adminBillingSubscriptionsIdPaymentStatusGet', 'id', id);
18216
+ const localVarPath = `/admin/billing/subscriptions/{id}/payment-status`
18217
18217
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18218
18218
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18219
18219
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -18250,12 +18250,12 @@ export const BillingUserPaymentsApiFp = function (configuration) {
18250
18250
  * @param {*} [options] Override http request option.
18251
18251
  * @throws {RequiredError}
18252
18252
  */
18253
- apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18253
+ adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18254
18254
  return __awaiter(this, void 0, void 0, function* () {
18255
18255
  var _a, _b, _c;
18256
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
18256
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
18257
18257
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18258
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.apiBillingPaymentsRetryPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18258
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.adminBillingPaymentsRetryPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18259
18259
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18260
18260
  });
18261
18261
  },
@@ -18266,12 +18266,12 @@ export const BillingUserPaymentsApiFp = function (configuration) {
18266
18266
  * @param {*} [options] Override http request option.
18267
18267
  * @throws {RequiredError}
18268
18268
  */
18269
- apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
18269
+ adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
18270
18270
  return __awaiter(this, void 0, void 0, function* () {
18271
18271
  var _a, _b, _c;
18272
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiBillingSubscriptionsIdPaymentStatusGet(id, options);
18272
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingSubscriptionsIdPaymentStatusGet(id, options);
18273
18273
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18274
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.apiBillingSubscriptionsIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18274
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.adminBillingSubscriptionsIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18275
18275
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18276
18276
  });
18277
18277
  },
@@ -18291,8 +18291,8 @@ export const BillingUserPaymentsApiFactory = function (configuration, basePath,
18291
18291
  * @param {*} [options] Override http request option.
18292
18292
  * @throws {RequiredError}
18293
18293
  */
18294
- apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18295
- return localVarFp.apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
18294
+ adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18295
+ return localVarFp.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
18296
18296
  },
18297
18297
  /**
18298
18298
  * Gets the current payment status, dunning state, and retry options for a subscription
@@ -18301,8 +18301,8 @@ export const BillingUserPaymentsApiFactory = function (configuration, basePath,
18301
18301
  * @param {*} [options] Override http request option.
18302
18302
  * @throws {RequiredError}
18303
18303
  */
18304
- apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
18305
- return localVarFp.apiBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
18304
+ adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
18305
+ return localVarFp.adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
18306
18306
  },
18307
18307
  };
18308
18308
  };
@@ -18321,8 +18321,8 @@ export class BillingUserPaymentsApi extends BaseAPI {
18321
18321
  * @throws {RequiredError}
18322
18322
  * @memberof BillingUserPaymentsApi
18323
18323
  */
18324
- apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18325
- return BillingUserPaymentsApiFp(this.configuration).apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
18324
+ adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
18325
+ return BillingUserPaymentsApiFp(this.configuration).adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
18326
18326
  }
18327
18327
  /**
18328
18328
  * Gets the current payment status, dunning state, and retry options for a subscription
@@ -18332,8 +18332,8 @@ export class BillingUserPaymentsApi extends BaseAPI {
18332
18332
  * @throws {RequiredError}
18333
18333
  * @memberof BillingUserPaymentsApi
18334
18334
  */
18335
- apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
18336
- return BillingUserPaymentsApiFp(this.configuration).apiBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
18335
+ adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
18336
+ return BillingUserPaymentsApiFp(this.configuration).adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
18337
18337
  }
18338
18338
  }
18339
18339
  /**
@@ -35644,6 +35644,37 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
35644
35644
  options: localVarRequestOptions,
35645
35645
  };
35646
35646
  }),
35647
+ /**
35648
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
35649
+ * @summary Get order retry payment info
35650
+ * @param {string} id Order UUID
35651
+ * @param {*} [options] Override http request option.
35652
+ * @throws {RequiredError}
35653
+ */
35654
+ adminPaymentGatewayOrdersIdRetryInfoGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
35655
+ // verify required parameter 'id' is not null or undefined
35656
+ assertParamExists('adminPaymentGatewayOrdersIdRetryInfoGet', 'id', id);
35657
+ const localVarPath = `/admin/payment-gateway/orders/{id}/retry-info`
35658
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
35659
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35660
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35661
+ let baseOptions;
35662
+ if (configuration) {
35663
+ baseOptions = configuration.baseOptions;
35664
+ }
35665
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
35666
+ const localVarHeaderParameter = {};
35667
+ const localVarQueryParameter = {};
35668
+ // authentication BearerAuth required
35669
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
35670
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35671
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35672
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35673
+ return {
35674
+ url: toPathString(localVarUrlObj),
35675
+ options: localVarRequestOptions,
35676
+ };
35677
+ }),
35647
35678
  /**
35648
35679
  * 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.
35649
35680
  * @summary Get payment status for polling (frontend)
@@ -35989,6 +36020,22 @@ export const PaymentGatewayApiFp = function (configuration) {
35989
36020
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35990
36021
  });
35991
36022
  },
36023
+ /**
36024
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
36025
+ * @summary Get order retry payment info
36026
+ * @param {string} id Order UUID
36027
+ * @param {*} [options] Override http request option.
36028
+ * @throws {RequiredError}
36029
+ */
36030
+ adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
36031
+ return __awaiter(this, void 0, void 0, function* () {
36032
+ var _a, _b, _c;
36033
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersIdRetryInfoGet(id, options);
36034
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
36035
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersIdRetryInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
36036
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36037
+ });
36038
+ },
35992
36039
  /**
35993
36040
  * 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.
35994
36041
  * @summary Get payment status for polling (frontend)
@@ -36187,6 +36234,16 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
36187
36234
  adminPaymentGatewayOrdersIdGet(id, options) {
36188
36235
  return localVarFp.adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(axios, basePath));
36189
36236
  },
36237
+ /**
36238
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
36239
+ * @summary Get order retry payment info
36240
+ * @param {string} id Order UUID
36241
+ * @param {*} [options] Override http request option.
36242
+ * @throws {RequiredError}
36243
+ */
36244
+ adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
36245
+ return localVarFp.adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(axios, basePath));
36246
+ },
36190
36247
  /**
36191
36248
  * 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.
36192
36249
  * @summary Get payment status for polling (frontend)
@@ -36342,6 +36399,17 @@ export class PaymentGatewayApi extends BaseAPI {
36342
36399
  adminPaymentGatewayOrdersIdGet(id, options) {
36343
36400
  return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
36344
36401
  }
36402
+ /**
36403
+ * Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
36404
+ * @summary Get order retry payment info
36405
+ * @param {string} id Order UUID
36406
+ * @param {*} [options] Override http request option.
36407
+ * @throws {RequiredError}
36408
+ * @memberof PaymentGatewayApi
36409
+ */
36410
+ adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
36411
+ return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(this.axios, this.basePath));
36412
+ }
36345
36413
  /**
36346
36414
  * 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.
36347
36415
  * @summary Get payment status for polling (frontend)
@@ -50226,6 +50294,38 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
50226
50294
  options: localVarRequestOptions,
50227
50295
  };
50228
50296
  }),
50297
+ /**
50298
+ * 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.
50299
+ * @summary Preview plan change details
50300
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50301
+ * @param {*} [options] Override http request option.
50302
+ * @throws {RequiredError}
50303
+ */
50304
+ adminSubscriptionsPlanChangePreviewPost: (subscriptionRoutePlanChangePreviewHTTPRequest_1, ...args_1) => __awaiter(this, [subscriptionRoutePlanChangePreviewHTTPRequest_1, ...args_1], void 0, function* (subscriptionRoutePlanChangePreviewHTTPRequest, options = {}) {
50305
+ // verify required parameter 'subscriptionRoutePlanChangePreviewHTTPRequest' is not null or undefined
50306
+ assertParamExists('adminSubscriptionsPlanChangePreviewPost', 'subscriptionRoutePlanChangePreviewHTTPRequest', subscriptionRoutePlanChangePreviewHTTPRequest);
50307
+ const localVarPath = `/admin/subscriptions/plan-change/preview`;
50308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50309
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
50310
+ let baseOptions;
50311
+ if (configuration) {
50312
+ baseOptions = configuration.baseOptions;
50313
+ }
50314
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
50315
+ const localVarHeaderParameter = {};
50316
+ const localVarQueryParameter = {};
50317
+ // authentication BearerAuth required
50318
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
50319
+ localVarHeaderParameter['Content-Type'] = 'application/json';
50320
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
50321
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
50322
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
50323
+ localVarRequestOptions.data = serializeDataIfNeeded(subscriptionRoutePlanChangePreviewHTTPRequest, localVarRequestOptions, configuration);
50324
+ return {
50325
+ url: toPathString(localVarUrlObj),
50326
+ options: localVarRequestOptions,
50327
+ };
50328
+ }),
50229
50329
  /**
50230
50330
  * Updates Subscription information by ID.
50231
50331
  * @summary Update an existing Subscription
@@ -50428,6 +50528,22 @@ export const SubscriptionsApiFp = function (configuration) {
50428
50528
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
50429
50529
  });
50430
50530
  },
50531
+ /**
50532
+ * 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.
50533
+ * @summary Preview plan change details
50534
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50535
+ * @param {*} [options] Override http request option.
50536
+ * @throws {RequiredError}
50537
+ */
50538
+ adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
50539
+ return __awaiter(this, void 0, void 0, function* () {
50540
+ var _a, _b, _c;
50541
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options);
50542
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
50543
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsApi.adminSubscriptionsPlanChangePreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
50544
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
50545
+ });
50546
+ },
50431
50547
  /**
50432
50548
  * Updates Subscription information by ID.
50433
50549
  * @summary Update an existing Subscription
@@ -50538,6 +50654,16 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
50538
50654
  adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options) {
50539
50655
  return localVarFp.adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(axios, basePath));
50540
50656
  },
50657
+ /**
50658
+ * 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.
50659
+ * @summary Preview plan change details
50660
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50661
+ * @param {*} [options] Override http request option.
50662
+ * @throws {RequiredError}
50663
+ */
50664
+ adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
50665
+ return localVarFp.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(axios, basePath));
50666
+ },
50541
50667
  /**
50542
50668
  * Updates Subscription information by ID.
50543
50669
  * @summary Update an existing Subscription
@@ -50620,6 +50746,17 @@ export class SubscriptionsApi extends BaseAPI {
50620
50746
  adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options) {
50621
50747
  return SubscriptionsApiFp(this.configuration).adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(this.axios, this.basePath));
50622
50748
  }
50749
+ /**
50750
+ * 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.
50751
+ * @summary Preview plan change details
50752
+ * @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
50753
+ * @param {*} [options] Override http request option.
50754
+ * @throws {RequiredError}
50755
+ * @memberof SubscriptionsApi
50756
+ */
50757
+ adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
50758
+ return SubscriptionsApiFp(this.configuration).adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(this.axios, this.basePath));
50759
+ }
50623
50760
  /**
50624
50761
  * Updates Subscription information by ID.
50625
50762
  * @summary Update an existing Subscription
@@ -51119,37 +51256,6 @@ export const TeamApiAxiosParamCreator = function (configuration) {
51119
51256
  options: localVarRequestOptions,
51120
51257
  };
51121
51258
  }),
51122
- /**
51123
- * Resends the invitation email for an existing pending invitation
51124
- * @summary Resend invitation email
51125
- * @param {string} invitationId Invitation UUID
51126
- * @param {*} [options] Override http request option.
51127
- * @throws {RequiredError}
51128
- */
51129
- v1InvitationsInvitationIdResendPost: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
51130
- // verify required parameter 'invitationId' is not null or undefined
51131
- assertParamExists('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId);
51132
- const localVarPath = `/v1/invitations/{invitationId}/resend`
51133
- .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
51134
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
51135
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51136
- let baseOptions;
51137
- if (configuration) {
51138
- baseOptions = configuration.baseOptions;
51139
- }
51140
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
51141
- const localVarHeaderParameter = {};
51142
- const localVarQueryParameter = {};
51143
- // authentication BearerAuth required
51144
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
51145
- setSearchParams(localVarUrlObj, localVarQueryParameter);
51146
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51147
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51148
- return {
51149
- url: toPathString(localVarUrlObj),
51150
- options: localVarRequestOptions,
51151
- };
51152
- }),
51153
51259
  /**
51154
51260
  * Accepts a team invitation using token
51155
51261
  * @summary Accept invitation
@@ -51476,6 +51582,37 @@ export const TeamApiAxiosParamCreator = function (configuration) {
51476
51582
  options: localVarRequestOptions,
51477
51583
  };
51478
51584
  }),
51585
+ /**
51586
+ * Resends the invitation email for an existing pending invitation
51587
+ * @summary Resend invitation email
51588
+ * @param {string} invitationId Invitation UUID
51589
+ * @param {*} [options] Override http request option.
51590
+ * @throws {RequiredError}
51591
+ */
51592
+ v1TeamInvitationsInvitationIdResendPost: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
51593
+ // verify required parameter 'invitationId' is not null or undefined
51594
+ assertParamExists('v1TeamInvitationsInvitationIdResendPost', 'invitationId', invitationId);
51595
+ const localVarPath = `/v1/team/invitations/{invitationId}/resend`
51596
+ .replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
51597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51599
+ let baseOptions;
51600
+ if (configuration) {
51601
+ baseOptions = configuration.baseOptions;
51602
+ }
51603
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
51604
+ const localVarHeaderParameter = {};
51605
+ const localVarQueryParameter = {};
51606
+ // authentication BearerAuth required
51607
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
51608
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51609
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51610
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51611
+ return {
51612
+ url: toPathString(localVarUrlObj),
51613
+ options: localVarRequestOptions,
51614
+ };
51615
+ }),
51479
51616
  /**
51480
51617
  * Retrieves all members of the user\'s organization with their details
51481
51618
  * @summary Get all members of an organization
@@ -51708,22 +51845,6 @@ export const TeamApiFp = function (configuration) {
51708
51845
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51709
51846
  });
51710
51847
  },
51711
- /**
51712
- * Resends the invitation email for an existing pending invitation
51713
- * @summary Resend invitation email
51714
- * @param {string} invitationId Invitation UUID
51715
- * @param {*} [options] Override http request option.
51716
- * @throws {RequiredError}
51717
- */
51718
- v1InvitationsInvitationIdResendPost(invitationId, options) {
51719
- return __awaiter(this, void 0, void 0, function* () {
51720
- var _a, _b, _c;
51721
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
51722
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
51723
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
51724
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51725
- });
51726
- },
51727
51848
  /**
51728
51849
  * Accepts a team invitation using token
51729
51850
  * @summary Accept invitation
@@ -51889,6 +52010,22 @@ export const TeamApiFp = function (configuration) {
51889
52010
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51890
52011
  });
51891
52012
  },
52013
+ /**
52014
+ * Resends the invitation email for an existing pending invitation
52015
+ * @summary Resend invitation email
52016
+ * @param {string} invitationId Invitation UUID
52017
+ * @param {*} [options] Override http request option.
52018
+ * @throws {RequiredError}
52019
+ */
52020
+ v1TeamInvitationsInvitationIdResendPost(invitationId, options) {
52021
+ return __awaiter(this, void 0, void 0, function* () {
52022
+ var _a, _b, _c;
52023
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamInvitationsInvitationIdResendPost(invitationId, options);
52024
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
52025
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1TeamInvitationsInvitationIdResendPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
52026
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52027
+ });
52028
+ },
51892
52029
  /**
51893
52030
  * Retrieves all members of the user\'s organization with their details
51894
52031
  * @summary Get all members of an organization
@@ -52020,16 +52157,6 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
52020
52157
  v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
52021
52158
  return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
52022
52159
  },
52023
- /**
52024
- * Resends the invitation email for an existing pending invitation
52025
- * @summary Resend invitation email
52026
- * @param {string} invitationId Invitation UUID
52027
- * @param {*} [options] Override http request option.
52028
- * @throws {RequiredError}
52029
- */
52030
- v1InvitationsInvitationIdResendPost(invitationId, options) {
52031
- return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
52032
- },
52033
52160
  /**
52034
52161
  * Accepts a team invitation using token
52035
52162
  * @summary Accept invitation
@@ -52135,6 +52262,16 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
52135
52262
  v1TeamInvitationsGet(options) {
52136
52263
  return localVarFp.v1TeamInvitationsGet(options).then((request) => request(axios, basePath));
52137
52264
  },
52265
+ /**
52266
+ * Resends the invitation email for an existing pending invitation
52267
+ * @summary Resend invitation email
52268
+ * @param {string} invitationId Invitation UUID
52269
+ * @param {*} [options] Override http request option.
52270
+ * @throws {RequiredError}
52271
+ */
52272
+ v1TeamInvitationsInvitationIdResendPost(invitationId, options) {
52273
+ return localVarFp.v1TeamInvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
52274
+ },
52138
52275
  /**
52139
52276
  * Retrieves all members of the user\'s organization with their details
52140
52277
  * @summary Get all members of an organization
@@ -52240,17 +52377,6 @@ export class TeamApi extends BaseAPI {
52240
52377
  v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
52241
52378
  return TeamApiFp(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
52242
52379
  }
52243
- /**
52244
- * Resends the invitation email for an existing pending invitation
52245
- * @summary Resend invitation email
52246
- * @param {string} invitationId Invitation UUID
52247
- * @param {*} [options] Override http request option.
52248
- * @throws {RequiredError}
52249
- * @memberof TeamApi
52250
- */
52251
- v1InvitationsInvitationIdResendPost(invitationId, options) {
52252
- return TeamApiFp(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
52253
- }
52254
52380
  /**
52255
52381
  * Accepts a team invitation using token
52256
52382
  * @summary Accept invitation
@@ -52366,6 +52492,17 @@ export class TeamApi extends BaseAPI {
52366
52492
  v1TeamInvitationsGet(options) {
52367
52493
  return TeamApiFp(this.configuration).v1TeamInvitationsGet(options).then((request) => request(this.axios, this.basePath));
52368
52494
  }
52495
+ /**
52496
+ * Resends the invitation email for an existing pending invitation
52497
+ * @summary Resend invitation email
52498
+ * @param {string} invitationId Invitation UUID
52499
+ * @param {*} [options] Override http request option.
52500
+ * @throws {RequiredError}
52501
+ * @memberof TeamApi
52502
+ */
52503
+ v1TeamInvitationsInvitationIdResendPost(invitationId, options) {
52504
+ return TeamApiFp(this.configuration).v1TeamInvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
52505
+ }
52369
52506
  /**
52370
52507
  * Retrieves all members of the user\'s organization with their details
52371
52508
  * @summary Get all members of an organization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file