@dynamic-labs/sdk-api 0.0.478 → 0.0.479

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.478",
3
+ "version": "0.0.479",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -102,40 +102,6 @@ class OrganizationsApi extends runtime.BaseAPI {
102
102
  return yield response.value();
103
103
  });
104
104
  }
105
- /**
106
- * Deletes an organization by ID
107
- */
108
- deleteOrganizationByIdRaw(requestParameters, initOverrides) {
109
- return _tslib.__awaiter(this, void 0, void 0, function* () {
110
- if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
111
- throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
112
- }
113
- const queryParameters = {};
114
- const headerParameters = {};
115
- if (this.configuration && this.configuration.accessToken) {
116
- const token = this.configuration.accessToken;
117
- const tokenString = yield token("bearerAuth", []);
118
- if (tokenString) {
119
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
120
- }
121
- }
122
- const response = yield this.request({
123
- path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
124
- method: 'DELETE',
125
- headers: headerParameters,
126
- query: queryParameters,
127
- }, initOverrides);
128
- return new runtime.VoidApiResponse(response);
129
- });
130
- }
131
- /**
132
- * Deletes an organization by ID
133
- */
134
- deleteOrganizationById(requestParameters, initOverrides) {
135
- return _tslib.__awaiter(this, void 0, void 0, function* () {
136
- yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
137
- });
138
- }
139
105
  /**
140
106
  * Find the subscription of an organization using its ID
141
107
  */
@@ -14,9 +14,6 @@ import { BillingSubscription, Organization, OrganizationFields, OrganizationRequ
14
14
  export interface CreateOrganizationRequest {
15
15
  organizationRequest: OrganizationRequest;
16
16
  }
17
- export interface DeleteOrganizationByIdRequest {
18
- organizationId: string;
19
- }
20
17
  export interface GetBillingSubscriptionByOrganizationRequest {
21
18
  organizationId: string;
22
19
  }
@@ -42,14 +39,6 @@ export declare class OrganizationsApi extends runtime.BaseAPI {
42
39
  * Creates organization
43
40
  */
44
41
  createOrganization(requestParameters: CreateOrganizationRequest, initOverrides?: RequestInit): Promise<OrganizationResponse>;
45
- /**
46
- * Deletes an organization by ID
47
- */
48
- deleteOrganizationByIdRaw(requestParameters: DeleteOrganizationByIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
49
- /**
50
- * Deletes an organization by ID
51
- */
52
- deleteOrganizationById(requestParameters: DeleteOrganizationByIdRequest, initOverrides?: RequestInit): Promise<void>;
53
42
  /**
54
43
  * Find the subscription of an organization using its ID
55
44
  */
@@ -1,5 +1,5 @@
1
1
  import { __awaiter } from '../../_virtual/_tslib.js';
2
- import { BaseAPI, RequiredError, JSONApiResponse, VoidApiResponse } from '../runtime.js';
2
+ import { BaseAPI, RequiredError, JSONApiResponse } from '../runtime.js';
3
3
  import '../models/AccessOutcomeEnum.js';
4
4
  import '../models/AuthModeEnum.js';
5
5
  import '../models/AuthStorageEnum.js';
@@ -98,40 +98,6 @@ class OrganizationsApi extends BaseAPI {
98
98
  return yield response.value();
99
99
  });
100
100
  }
101
- /**
102
- * Deletes an organization by ID
103
- */
104
- deleteOrganizationByIdRaw(requestParameters, initOverrides) {
105
- return __awaiter(this, void 0, void 0, function* () {
106
- if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
107
- throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
108
- }
109
- const queryParameters = {};
110
- const headerParameters = {};
111
- if (this.configuration && this.configuration.accessToken) {
112
- const token = this.configuration.accessToken;
113
- const tokenString = yield token("bearerAuth", []);
114
- if (tokenString) {
115
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
116
- }
117
- }
118
- const response = yield this.request({
119
- path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
120
- method: 'DELETE',
121
- headers: headerParameters,
122
- query: queryParameters,
123
- }, initOverrides);
124
- return new VoidApiResponse(response);
125
- });
126
- }
127
- /**
128
- * Deletes an organization by ID
129
- */
130
- deleteOrganizationById(requestParameters, initOverrides) {
131
- return __awaiter(this, void 0, void 0, function* () {
132
- yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
133
- });
134
- }
135
101
  /**
136
102
  * Find the subscription of an organization using its ID
137
103
  */