@managespace/sdk 0.1.67 → 0.1.68

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.
@@ -5332,7 +5332,7 @@ class DefaultApi extends runtime.BaseAPI {
5332
5332
  }
5333
5333
  }
5334
5334
  const response = await this.request({
5335
- path: `/api/billing/product-tax-groups`.replace(`{${"productTaxGroupId"}}`, encodeURIComponent(String(requestParameters['productTaxGroupId']))),
5335
+ path: `/api/billing/product-tax-groups/{productTaxGroupId}`.replace(`{${"productTaxGroupId"}}`, encodeURIComponent(String(requestParameters['productTaxGroupId']))),
5336
5336
  method: 'PUT',
5337
5337
  headers: headerParameters,
5338
5338
  query: queryParameters,
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ProductTaxGroupStatus } from './product-tax-group-status';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -28,11 +29,11 @@ export interface CreateProductTaxGroup {
28
29
  */
29
30
  notes?: string;
30
31
  /**
31
- * Status of tax group
32
- * @type {string}
32
+ *
33
+ * @type {ProductTaxGroupStatus}
33
34
  * @memberof CreateProductTaxGroup
34
35
  */
35
- status: string;
36
+ status: ProductTaxGroupStatus;
36
37
  }
37
38
  /**
38
39
  * Check if a given object implements the CreateProductTaxGroup interface.
@@ -1 +1 @@
1
- {"version":3,"file":"create-product-tax-group.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-product-tax-group.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}
1
+ {"version":3,"file":"create-product-tax-group.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-product-tax-group.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAQxE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,qBAAqB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateProductTaxGroupToJSONTyped = exports.CreateProductTaxGroupToJSON = exports.CreateProductTaxGroupFromJSONTyped = exports.CreateProductTaxGroupFromJSON = exports.instanceOfCreateProductTaxGroup = void 0;
17
+ const product_tax_group_status_1 = require("./product-tax-group-status");
17
18
  /**
18
19
  * Check if a given object implements the CreateProductTaxGroup interface.
19
20
  */
@@ -36,7 +37,7 @@ function CreateProductTaxGroupFromJSONTyped(json, ignoreDiscriminator) {
36
37
  return {
37
38
  'name': json['name'],
38
39
  'notes': json['notes'] == null ? undefined : json['notes'],
39
- 'status': json['status'],
40
+ 'status': (0, product_tax_group_status_1.ProductTaxGroupStatusFromJSON)(json['status']),
40
41
  };
41
42
  }
42
43
  exports.CreateProductTaxGroupFromJSONTyped = CreateProductTaxGroupFromJSONTyped;
@@ -51,7 +52,7 @@ function CreateProductTaxGroupToJSONTyped(value, ignoreDiscriminator = false) {
51
52
  return {
52
53
  'name': value['name'],
53
54
  'notes': value['notes'],
54
- 'status': value['status'],
55
+ 'status': (0, product_tax_group_status_1.ProductTaxGroupStatusToJSON)(value['status']),
55
56
  };
56
57
  }
57
58
  exports.CreateProductTaxGroupToJSONTyped = CreateProductTaxGroupToJSONTyped;
@@ -163,6 +163,7 @@ export * from './plugin-version';
163
163
  export * from './preview-subscription';
164
164
  export * from './product-custom';
165
165
  export * from './product-tax-group';
166
+ export * from './product-tax-group-status';
166
167
  export * from './project';
167
168
  export * from './project1';
168
169
  export * from './project2';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,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__exportStar(require("./plugin-version"), exports);
181
181
  __exportStar(require("./preview-subscription"), exports);
182
182
  __exportStar(require("./product-custom"), exports);
183
183
  __exportStar(require("./product-tax-group"), exports);
184
+ __exportStar(require("./product-tax-group-status"), exports);
184
185
  __exportStar(require("./project"), exports);
185
186
  __exportStar(require("./project1"), exports);
186
187
  __exportStar(require("./project2"), exports);
@@ -0,0 +1,26 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The status of the product tax group
14
+ * @export
15
+ */
16
+ export declare const ProductTaxGroupStatus: {
17
+ readonly Active: "active";
18
+ readonly Inactive: "inactive";
19
+ };
20
+ export type ProductTaxGroupStatus = typeof ProductTaxGroupStatus[keyof typeof ProductTaxGroupStatus];
21
+ export declare function instanceOfProductTaxGroupStatus(value: any): boolean;
22
+ export declare function ProductTaxGroupStatusFromJSON(json: any): ProductTaxGroupStatus;
23
+ export declare function ProductTaxGroupStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTaxGroupStatus;
24
+ export declare function ProductTaxGroupStatusToJSON(value?: ProductTaxGroupStatus | null): any;
25
+ export declare function ProductTaxGroupStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductTaxGroupStatus;
26
+ //# sourceMappingURL=product-tax-group-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-tax-group-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-tax-group-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGrG,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASnE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAEjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,GAAG,CAErF;AAED,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAEhH"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * ManageSpace API
6
+ * ManageSpace API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProductTaxGroupStatusToJSONTyped = exports.ProductTaxGroupStatusToJSON = exports.ProductTaxGroupStatusFromJSONTyped = exports.ProductTaxGroupStatusFromJSON = exports.instanceOfProductTaxGroupStatus = exports.ProductTaxGroupStatus = void 0;
17
+ /**
18
+ * The status of the product tax group
19
+ * @export
20
+ */
21
+ exports.ProductTaxGroupStatus = {
22
+ Active: 'active',
23
+ Inactive: 'inactive'
24
+ };
25
+ function instanceOfProductTaxGroupStatus(value) {
26
+ for (const key in exports.ProductTaxGroupStatus) {
27
+ if (Object.prototype.hasOwnProperty.call(exports.ProductTaxGroupStatus, key)) {
28
+ if (exports.ProductTaxGroupStatus[key] === value) {
29
+ return true;
30
+ }
31
+ }
32
+ }
33
+ return false;
34
+ }
35
+ exports.instanceOfProductTaxGroupStatus = instanceOfProductTaxGroupStatus;
36
+ function ProductTaxGroupStatusFromJSON(json) {
37
+ return ProductTaxGroupStatusFromJSONTyped(json, false);
38
+ }
39
+ exports.ProductTaxGroupStatusFromJSON = ProductTaxGroupStatusFromJSON;
40
+ function ProductTaxGroupStatusFromJSONTyped(json, ignoreDiscriminator) {
41
+ return json;
42
+ }
43
+ exports.ProductTaxGroupStatusFromJSONTyped = ProductTaxGroupStatusFromJSONTyped;
44
+ function ProductTaxGroupStatusToJSON(value) {
45
+ return value;
46
+ }
47
+ exports.ProductTaxGroupStatusToJSON = ProductTaxGroupStatusToJSON;
48
+ function ProductTaxGroupStatusToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }
51
+ exports.ProductTaxGroupStatusToJSONTyped = ProductTaxGroupStatusToJSONTyped;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ProductTaxGroupStatus } from './product-tax-group-status';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -28,11 +29,11 @@ export interface ProductTaxGroup {
28
29
  */
29
30
  notes?: string;
30
31
  /**
31
- * Status of tax group
32
- * @type {string}
32
+ *
33
+ * @type {ProductTaxGroupStatus}
33
34
  * @memberof ProductTaxGroup
34
35
  */
35
- status: string;
36
+ status: ProductTaxGroupStatus;
36
37
  /**
37
38
  * Product Tax Group ID
38
39
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"product-tax-group.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-tax-group.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAOjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAarG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAcpH"}
1
+ {"version":3,"file":"product-tax-group.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-tax-group.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAQxE;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,qBAAqB,CAAC;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAID;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAOjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAarG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAcpH"}
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductTaxGroupToJSONTyped = exports.ProductTaxGroupToJSON = exports.ProductTaxGroupFromJSONTyped = exports.ProductTaxGroupFromJSON = exports.instanceOfProductTaxGroup = void 0;
17
+ const product_tax_group_status_1 = require("./product-tax-group-status");
17
18
  /**
18
19
  * Check if a given object implements the ProductTaxGroup interface.
19
20
  */
@@ -42,7 +43,7 @@ function ProductTaxGroupFromJSONTyped(json, ignoreDiscriminator) {
42
43
  return {
43
44
  'name': json['name'],
44
45
  'notes': json['notes'] == null ? undefined : json['notes'],
45
- 'status': json['status'],
46
+ 'status': (0, product_tax_group_status_1.ProductTaxGroupStatusFromJSON)(json['status']),
46
47
  'id': json['id'],
47
48
  'createdAt': json['createdAt'],
48
49
  'updatedAt': json['updatedAt'],
@@ -60,7 +61,7 @@ function ProductTaxGroupToJSONTyped(value, ignoreDiscriminator = false) {
60
61
  return {
61
62
  'name': value['name'],
62
63
  'notes': value['notes'],
63
- 'status': value['status'],
64
+ 'status': (0, product_tax_group_status_1.ProductTaxGroupStatusToJSON)(value['status']),
64
65
  'id': value['id'],
65
66
  'createdAt': value['createdAt'],
66
67
  'updatedAt': value['updatedAt'],
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ProductTaxGroupStatus } from './product-tax-group-status';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -28,11 +29,11 @@ export interface UpdateProductTaxGroup {
28
29
  */
29
30
  notes?: string;
30
31
  /**
31
- * Status of tax group
32
- * @type {string}
32
+ *
33
+ * @type {ProductTaxGroupStatus}
33
34
  * @memberof UpdateProductTaxGroup
34
35
  */
35
- status: string;
36
+ status: ProductTaxGroupStatus;
36
37
  }
37
38
  /**
38
39
  * Check if a given object implements the UpdateProductTaxGroup interface.
@@ -1 +1 @@
1
- {"version":3,"file":"update-product-tax-group.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-product-tax-group.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}
1
+ {"version":3,"file":"update-product-tax-group.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-product-tax-group.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAQxE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,qBAAqB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UpdateProductTaxGroupToJSONTyped = exports.UpdateProductTaxGroupToJSON = exports.UpdateProductTaxGroupFromJSONTyped = exports.UpdateProductTaxGroupFromJSON = exports.instanceOfUpdateProductTaxGroup = void 0;
17
+ const product_tax_group_status_1 = require("./product-tax-group-status");
17
18
  /**
18
19
  * Check if a given object implements the UpdateProductTaxGroup interface.
19
20
  */
@@ -36,7 +37,7 @@ function UpdateProductTaxGroupFromJSONTyped(json, ignoreDiscriminator) {
36
37
  return {
37
38
  'name': json['name'],
38
39
  'notes': json['notes'] == null ? undefined : json['notes'],
39
- 'status': json['status'],
40
+ 'status': (0, product_tax_group_status_1.ProductTaxGroupStatusFromJSON)(json['status']),
40
41
  };
41
42
  }
42
43
  exports.UpdateProductTaxGroupFromJSONTyped = UpdateProductTaxGroupFromJSONTyped;
@@ -51,7 +52,7 @@ function UpdateProductTaxGroupToJSONTyped(value, ignoreDiscriminator = false) {
51
52
  return {
52
53
  'name': value['name'],
53
54
  'notes': value['notes'],
54
- 'status': value['status'],
55
+ 'status': (0, product_tax_group_status_1.ProductTaxGroupStatusToJSON)(value['status']),
55
56
  };
56
57
  }
57
58
  exports.UpdateProductTaxGroupToJSONTyped = UpdateProductTaxGroupToJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",
@@ -166,6 +166,7 @@ models/plugin-version.ts
166
166
  models/plugin.ts
167
167
  models/preview-subscription.ts
168
168
  models/product-custom.ts
169
+ models/product-tax-group-status.ts
169
170
  models/product-tax-group.ts
170
171
  models/project-version.ts
171
172
  models/project-version1.ts
@@ -8620,7 +8620,7 @@ export class DefaultApi extends runtime.BaseAPI {
8620
8620
  }
8621
8621
  }
8622
8622
  const response = await this.request({
8623
- path: `/api/billing/product-tax-groups`.replace(`{${"productTaxGroupId"}}`, encodeURIComponent(String(requestParameters['productTaxGroupId']))),
8623
+ path: `/api/billing/product-tax-groups/{productTaxGroupId}`.replace(`{${"productTaxGroupId"}}`, encodeURIComponent(String(requestParameters['productTaxGroupId']))),
8624
8624
  method: 'PUT',
8625
8625
  headers: headerParameters,
8626
8626
  query: queryParameters,
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ProductTaxGroupStatus } from './product-tax-group-status';
17
+ import {
18
+ ProductTaxGroupStatusFromJSON,
19
+ ProductTaxGroupStatusFromJSONTyped,
20
+ ProductTaxGroupStatusToJSON,
21
+ ProductTaxGroupStatusToJSONTyped,
22
+ } from './product-tax-group-status';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -32,13 +40,15 @@ export interface CreateProductTaxGroup {
32
40
  */
33
41
  notes?: string;
34
42
  /**
35
- * Status of tax group
36
- * @type {string}
43
+ *
44
+ * @type {ProductTaxGroupStatus}
37
45
  * @memberof CreateProductTaxGroup
38
46
  */
39
- status: string;
47
+ status: ProductTaxGroupStatus;
40
48
  }
41
49
 
50
+
51
+
42
52
  /**
43
53
  * Check if a given object implements the CreateProductTaxGroup interface.
44
54
  */
@@ -60,7 +70,7 @@ export function CreateProductTaxGroupFromJSONTyped(json: any, ignoreDiscriminato
60
70
 
61
71
  'name': json['name'],
62
72
  'notes': json['notes'] == null ? undefined : json['notes'],
63
- 'status': json['status'],
73
+ 'status': ProductTaxGroupStatusFromJSON(json['status']),
64
74
  };
65
75
  }
66
76
 
@@ -77,7 +87,7 @@ export function CreateProductTaxGroupToJSONTyped(value?: CreateProductTaxGroup |
77
87
 
78
88
  'name': value['name'],
79
89
  'notes': value['notes'],
80
- 'status': value['status'],
90
+ 'status': ProductTaxGroupStatusToJSON(value['status']),
81
91
  };
82
92
  }
83
93
 
@@ -165,6 +165,7 @@ export * from './plugin-version';
165
165
  export * from './preview-subscription';
166
166
  export * from './product-custom';
167
167
  export * from './product-tax-group';
168
+ export * from './product-tax-group-status';
168
169
  export * from './project';
169
170
  export * from './project1';
170
171
  export * from './project2';
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * ManageSpace API
5
+ * ManageSpace API Documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ * The status of the product tax group
18
+ * @export
19
+ */
20
+ export const ProductTaxGroupStatus = {
21
+ Active: 'active',
22
+ Inactive: 'inactive'
23
+ } as const;
24
+ export type ProductTaxGroupStatus = typeof ProductTaxGroupStatus[keyof typeof ProductTaxGroupStatus];
25
+
26
+
27
+ export function instanceOfProductTaxGroupStatus(value: any): boolean {
28
+ for (const key in ProductTaxGroupStatus) {
29
+ if (Object.prototype.hasOwnProperty.call(ProductTaxGroupStatus, key)) {
30
+ if (ProductTaxGroupStatus[key as keyof typeof ProductTaxGroupStatus] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function ProductTaxGroupStatusFromJSON(json: any): ProductTaxGroupStatus {
39
+ return ProductTaxGroupStatusFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ProductTaxGroupStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTaxGroupStatus {
43
+ return json as ProductTaxGroupStatus;
44
+ }
45
+
46
+ export function ProductTaxGroupStatusToJSON(value?: ProductTaxGroupStatus | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function ProductTaxGroupStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductTaxGroupStatus {
51
+ return value as ProductTaxGroupStatus;
52
+ }
53
+
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ProductTaxGroupStatus } from './product-tax-group-status';
17
+ import {
18
+ ProductTaxGroupStatusFromJSON,
19
+ ProductTaxGroupStatusFromJSONTyped,
20
+ ProductTaxGroupStatusToJSON,
21
+ ProductTaxGroupStatusToJSONTyped,
22
+ } from './product-tax-group-status';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -32,11 +40,11 @@ export interface ProductTaxGroup {
32
40
  */
33
41
  notes?: string;
34
42
  /**
35
- * Status of tax group
36
- * @type {string}
43
+ *
44
+ * @type {ProductTaxGroupStatus}
37
45
  * @memberof ProductTaxGroup
38
46
  */
39
- status: string;
47
+ status: ProductTaxGroupStatus;
40
48
  /**
41
49
  * Product Tax Group ID
42
50
  * @type {string}
@@ -57,6 +65,8 @@ export interface ProductTaxGroup {
57
65
  updatedAt: string;
58
66
  }
59
67
 
68
+
69
+
60
70
  /**
61
71
  * Check if a given object implements the ProductTaxGroup interface.
62
72
  */
@@ -81,7 +91,7 @@ export function ProductTaxGroupFromJSONTyped(json: any, ignoreDiscriminator: boo
81
91
 
82
92
  'name': json['name'],
83
93
  'notes': json['notes'] == null ? undefined : json['notes'],
84
- 'status': json['status'],
94
+ 'status': ProductTaxGroupStatusFromJSON(json['status']),
85
95
  'id': json['id'],
86
96
  'createdAt': json['createdAt'],
87
97
  'updatedAt': json['updatedAt'],
@@ -101,7 +111,7 @@ export function ProductTaxGroupToJSONTyped(value?: ProductTaxGroup | null, ignor
101
111
 
102
112
  'name': value['name'],
103
113
  'notes': value['notes'],
104
- 'status': value['status'],
114
+ 'status': ProductTaxGroupStatusToJSON(value['status']),
105
115
  'id': value['id'],
106
116
  'createdAt': value['createdAt'],
107
117
  'updatedAt': value['updatedAt'],
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ProductTaxGroupStatus } from './product-tax-group-status';
17
+ import {
18
+ ProductTaxGroupStatusFromJSON,
19
+ ProductTaxGroupStatusFromJSONTyped,
20
+ ProductTaxGroupStatusToJSON,
21
+ ProductTaxGroupStatusToJSONTyped,
22
+ } from './product-tax-group-status';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -32,13 +40,15 @@ export interface UpdateProductTaxGroup {
32
40
  */
33
41
  notes?: string;
34
42
  /**
35
- * Status of tax group
36
- * @type {string}
43
+ *
44
+ * @type {ProductTaxGroupStatus}
37
45
  * @memberof UpdateProductTaxGroup
38
46
  */
39
- status: string;
47
+ status: ProductTaxGroupStatus;
40
48
  }
41
49
 
50
+
51
+
42
52
  /**
43
53
  * Check if a given object implements the UpdateProductTaxGroup interface.
44
54
  */
@@ -60,7 +70,7 @@ export function UpdateProductTaxGroupFromJSONTyped(json: any, ignoreDiscriminato
60
70
 
61
71
  'name': json['name'],
62
72
  'notes': json['notes'] == null ? undefined : json['notes'],
63
- 'status': json['status'],
73
+ 'status': ProductTaxGroupStatusFromJSON(json['status']),
64
74
  };
65
75
  }
66
76
 
@@ -77,7 +87,7 @@ export function UpdateProductTaxGroupToJSONTyped(value?: UpdateProductTaxGroup |
77
87
 
78
88
  'name': value['name'],
79
89
  'notes': value['notes'],
80
- 'status': value['status'],
90
+ 'status': ProductTaxGroupStatusToJSON(value['status']),
81
91
  };
82
92
  }
83
93