@managespace/sdk 0.0.45 → 0.0.46

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.
Files changed (43) hide show
  1. package/package.json +14 -3
  2. package/dist/generated/models/create-contact.d.ts +0 -87
  3. package/dist/generated/models/create-contact.d.ts.map +0 -1
  4. package/dist/generated/models/create-contact.js +0 -81
  5. package/dist/generated/models/create-plan-billing.d.ts +0 -58
  6. package/dist/generated/models/create-plan-billing.d.ts.map +0 -1
  7. package/dist/generated/models/create-plan-billing.js +0 -68
  8. package/dist/generated/models/create-product-billing.d.ts +0 -82
  9. package/dist/generated/models/create-product-billing.d.ts.map +0 -1
  10. package/dist/generated/models/create-product-billing.js +0 -84
  11. package/dist/generated/models/custom-add-customer-contact.d.ts +0 -34
  12. package/dist/generated/models/custom-add-customer-contact.d.ts.map +0 -1
  13. package/dist/generated/models/custom-add-customer-contact.js +0 -52
  14. package/dist/generated/models/custom-create-contact-with-customer.d.ts +0 -82
  15. package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +0 -1
  16. package/dist/generated/models/custom-create-contact-with-customer.js +0 -78
  17. package/dist/generated/models/customer-delivery-preferences.d.ts +0 -39
  18. package/dist/generated/models/customer-delivery-preferences.d.ts.map +0 -1
  19. package/dist/generated/models/customer-delivery-preferences.js +0 -55
  20. package/dist/generated/models/customer-id.d.ts +0 -33
  21. package/dist/generated/models/customer-id.d.ts.map +0 -1
  22. package/dist/generated/models/customer-id.js +0 -51
  23. package/dist/generated/models/customer-payment-options.d.ts +0 -39
  24. package/dist/generated/models/customer-payment-options.d.ts.map +0 -1
  25. package/dist/generated/models/customer-payment-options.js +0 -55
  26. package/dist/generated/models/get-customer-response.d.ts +0 -276
  27. package/dist/generated/models/get-customer-response.d.ts.map +0 -1
  28. package/dist/generated/models/get-customer-response.js +0 -214
  29. package/dist/generated/models/get-customers-billing200-response.d.ts +0 -41
  30. package/dist/generated/models/get-customers-billing200-response.d.ts.map +0 -1
  31. package/dist/generated/models/get-customers-billing200-response.js +0 -55
  32. package/dist/generated/models/product-billing-response.d.ts +0 -142
  33. package/dist/generated/models/product-billing-response.d.ts.map +0 -1
  34. package/dist/generated/models/product-billing-response.js +0 -124
  35. package/dist/generated/models/product-transaction-posting-entries.d.ts +0 -45
  36. package/dist/generated/models/product-transaction-posting-entries.d.ts.map +0 -1
  37. package/dist/generated/models/product-transaction-posting-entries.js +0 -59
  38. package/dist/generated/models/update-customer.d.ts +0 -57
  39. package/dist/generated/models/update-customer.d.ts.map +0 -1
  40. package/dist/generated/models/update-customer.js +0 -57
  41. package/dist/generated/models/update-product.d.ts +0 -52
  42. package/dist/generated/models/update-product.d.ts.map +0 -1
  43. package/dist/generated/models/update-product.js +0 -60
package/package.json CHANGED
@@ -1,13 +1,24 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "scripts": {
5
+ "dev": "tsc -w --preserveWatchOutput",
6
+ "build": "tsc",
5
7
  "lint:check": "eslint .",
6
8
  "lint:fix": "eslint --fix .",
7
9
  "upload": "tsc && npm publish"
8
10
  },
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
9
13
  "exports": {
10
- ".": "./src/index.ts"
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ },
18
+ "./*": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js"
21
+ }
11
22
  },
12
23
  "dependencies": {
13
24
  "tslib": "^2.4.0",
@@ -19,4 +30,4 @@
19
30
  "@repo/eslint-config": "*",
20
31
  "@repo/typescript-config": "*"
21
32
  }
22
- }
33
+ }
@@ -1,87 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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
- *
14
- * @export
15
- * @interface CreateContact
16
- */
17
- export interface CreateContact {
18
- /**
19
- * External ID
20
- * @type {string}
21
- * @memberof CreateContact
22
- */
23
- externalId?: string | null;
24
- /**
25
- * First name
26
- * @type {string}
27
- * @memberof CreateContact
28
- */
29
- firstName: string;
30
- /**
31
- * Initial of middle name
32
- * @type {string}
33
- * @memberof CreateContact
34
- */
35
- middleInitial?: string | null;
36
- /**
37
- * Last name
38
- * @type {string}
39
- * @memberof CreateContact
40
- */
41
- lastName: string;
42
- /**
43
- * Display name
44
- * @type {string}
45
- * @memberof CreateContact
46
- */
47
- displayName: string;
48
- /**
49
- * Contact email address
50
- * @type {string}
51
- * @memberof CreateContact
52
- */
53
- email: string;
54
- /**
55
- * Phone number
56
- * @type {string}
57
- * @memberof CreateContact
58
- */
59
- phoneNumber?: string | null;
60
- /**
61
- * Contact mobile number
62
- * @type {string}
63
- * @memberof CreateContact
64
- */
65
- mobileNumber: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof CreateContact
70
- */
71
- customerId: string;
72
- /**
73
- *
74
- * @type {string}
75
- * @memberof CreateContact
76
- */
77
- addressId: string;
78
- }
79
- /**
80
- * Check if a given object implements the CreateContact interface.
81
- */
82
- export declare function instanceOfCreateContact(value: object): value is CreateContact;
83
- export declare function CreateContactFromJSON(json: any): CreateContact;
84
- export declare function CreateContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateContact;
85
- export declare function CreateContactToJSON(json: any): CreateContact;
86
- export declare function CreateContactToJSONTyped(value?: CreateContact | null, ignoreDiscriminator?: boolean): any;
87
- //# sourceMappingURL=create-contact.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAS7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAiBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhH"}
@@ -1,81 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * ManageSpace V2 Auth API
6
- * ManageSpace Auth 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.CreateContactToJSONTyped = exports.CreateContactToJSON = exports.CreateContactFromJSONTyped = exports.CreateContactFromJSON = exports.instanceOfCreateContact = void 0;
17
- /**
18
- * Check if a given object implements the CreateContact interface.
19
- */
20
- function instanceOfCreateContact(value) {
21
- if (!('firstName' in value) || value['firstName'] === undefined)
22
- return false;
23
- if (!('lastName' in value) || value['lastName'] === undefined)
24
- return false;
25
- if (!('displayName' in value) || value['displayName'] === undefined)
26
- return false;
27
- if (!('email' in value) || value['email'] === undefined)
28
- return false;
29
- if (!('mobileNumber' in value) || value['mobileNumber'] === undefined)
30
- return false;
31
- if (!('customerId' in value) || value['customerId'] === undefined)
32
- return false;
33
- if (!('addressId' in value) || value['addressId'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- exports.instanceOfCreateContact = instanceOfCreateContact;
38
- function CreateContactFromJSON(json) {
39
- return CreateContactFromJSONTyped(json, false);
40
- }
41
- exports.CreateContactFromJSON = CreateContactFromJSON;
42
- function CreateContactFromJSONTyped(json, ignoreDiscriminator) {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
- 'externalId': json['externalId'] == null ? undefined : json['externalId'],
48
- 'firstName': json['firstName'],
49
- 'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
50
- 'lastName': json['lastName'],
51
- 'displayName': json['displayName'],
52
- 'email': json['email'],
53
- 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
54
- 'mobileNumber': json['mobileNumber'],
55
- 'customerId': json['customerId'],
56
- 'addressId': json['addressId'],
57
- };
58
- }
59
- exports.CreateContactFromJSONTyped = CreateContactFromJSONTyped;
60
- function CreateContactToJSON(json) {
61
- return CreateContactToJSONTyped(json, false);
62
- }
63
- exports.CreateContactToJSON = CreateContactToJSON;
64
- function CreateContactToJSONTyped(value, ignoreDiscriminator = false) {
65
- if (value == null) {
66
- return value;
67
- }
68
- return {
69
- 'externalId': value['externalId'],
70
- 'firstName': value['firstName'],
71
- 'middleInitial': value['middleInitial'],
72
- 'lastName': value['lastName'],
73
- 'displayName': value['displayName'],
74
- 'email': value['email'],
75
- 'phoneNumber': value['phoneNumber'],
76
- 'mobileNumber': value['mobileNumber'],
77
- 'customerId': value['customerId'],
78
- 'addressId': value['addressId'],
79
- };
80
- }
81
- exports.CreateContactToJSONTyped = CreateContactToJSONTyped;
@@ -1,58 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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
- import type { CreatePlanCharge } from './create-plan-charge';
13
- /**
14
- *
15
- * @export
16
- * @interface CreatePlanBilling
17
- */
18
- export interface CreatePlanBilling {
19
- /**
20
- * Name of plan
21
- * @type {string}
22
- * @memberof CreatePlanBilling
23
- */
24
- name: string;
25
- /**
26
- * Plan status
27
- * @type {string}
28
- * @memberof CreatePlanBilling
29
- */
30
- status: string;
31
- /**
32
- * Description of plan
33
- * @type {string}
34
- * @memberof CreatePlanBilling
35
- */
36
- description: string;
37
- /**
38
- * URL used for self sign up
39
- * @type {string}
40
- * @memberof CreatePlanBilling
41
- */
42
- publicUrl: string;
43
- /**
44
- * Charges associated with plan
45
- * @type {Array<CreatePlanCharge>}
46
- * @memberof CreatePlanBilling
47
- */
48
- charges: Array<CreatePlanCharge>;
49
- }
50
- /**
51
- * Check if a given object implements the CreatePlanBilling interface.
52
- */
53
- export declare function instanceOfCreatePlanBilling(value: object): value is CreatePlanBilling;
54
- export declare function CreatePlanBillingFromJSON(json: any): CreatePlanBilling;
55
- export declare function CreatePlanBillingFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePlanBilling;
56
- export declare function CreatePlanBillingToJSON(json: any): CreatePlanBilling;
57
- export declare function CreatePlanBillingToJSONTyped(value?: CreatePlanBilling | null, ignoreDiscriminator?: boolean): any;
58
- //# sourceMappingURL=create-plan-billing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-plan-billing.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-plan-billing.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAOrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAYzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAaxH"}
@@ -1,68 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * ManageSpace V2 Auth API
6
- * ManageSpace Auth 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.CreatePlanBillingToJSONTyped = exports.CreatePlanBillingToJSON = exports.CreatePlanBillingFromJSONTyped = exports.CreatePlanBillingFromJSON = exports.instanceOfCreatePlanBilling = void 0;
17
- const create_plan_charge_1 = require("./create-plan-charge");
18
- /**
19
- * Check if a given object implements the CreatePlanBilling interface.
20
- */
21
- function instanceOfCreatePlanBilling(value) {
22
- if (!('name' in value) || value['name'] === undefined)
23
- return false;
24
- if (!('status' in value) || value['status'] === undefined)
25
- return false;
26
- if (!('description' in value) || value['description'] === undefined)
27
- return false;
28
- if (!('publicUrl' in value) || value['publicUrl'] === undefined)
29
- return false;
30
- if (!('charges' in value) || value['charges'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- exports.instanceOfCreatePlanBilling = instanceOfCreatePlanBilling;
35
- function CreatePlanBillingFromJSON(json) {
36
- return CreatePlanBillingFromJSONTyped(json, false);
37
- }
38
- exports.CreatePlanBillingFromJSON = CreatePlanBillingFromJSON;
39
- function CreatePlanBillingFromJSONTyped(json, ignoreDiscriminator) {
40
- if (json == null) {
41
- return json;
42
- }
43
- return {
44
- 'name': json['name'],
45
- 'status': json['status'],
46
- 'description': json['description'],
47
- 'publicUrl': json['publicUrl'],
48
- 'charges': (json['charges'].map(create_plan_charge_1.CreatePlanChargeFromJSON)),
49
- };
50
- }
51
- exports.CreatePlanBillingFromJSONTyped = CreatePlanBillingFromJSONTyped;
52
- function CreatePlanBillingToJSON(json) {
53
- return CreatePlanBillingToJSONTyped(json, false);
54
- }
55
- exports.CreatePlanBillingToJSON = CreatePlanBillingToJSON;
56
- function CreatePlanBillingToJSONTyped(value, ignoreDiscriminator = false) {
57
- if (value == null) {
58
- return value;
59
- }
60
- return {
61
- 'name': value['name'],
62
- 'status': value['status'],
63
- 'description': value['description'],
64
- 'publicUrl': value['publicUrl'],
65
- 'charges': (value['charges'].map(create_plan_charge_1.CreatePlanChargeToJSON)),
66
- };
67
- }
68
- exports.CreatePlanBillingToJSONTyped = CreatePlanBillingToJSONTyped;
@@ -1,82 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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
- import type { ProductTransactionPostingEntries } from './product-transaction-posting-entries';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateProductBilling
17
- */
18
- export interface CreateProductBilling {
19
- /**
20
- * Name of product
21
- * @type {string}
22
- * @memberof CreateProductBilling
23
- */
24
- name: string;
25
- /**
26
- * Stock keeping unit
27
- * @type {string}
28
- * @memberof CreateProductBilling
29
- */
30
- sku: string;
31
- /**
32
- * Product status
33
- * @type {string}
34
- * @memberof CreateProductBilling
35
- */
36
- status: string;
37
- /**
38
- * Describes whether product is taxable or not
39
- * @type {boolean}
40
- * @memberof CreateProductBilling
41
- */
42
- taxable: boolean;
43
- /**
44
- * Description of product
45
- * @type {string}
46
- * @memberof CreateProductBilling
47
- */
48
- description: string;
49
- /**
50
- * Product price
51
- * @type {string}
52
- * @memberof CreateProductBilling
53
- */
54
- price: string;
55
- /**
56
- * ID of revenue
57
- * @type {string}
58
- * @memberof CreateProductBilling
59
- */
60
- revenueRuleId: string;
61
- /**
62
- * Date revenue will begin to be recognized
63
- * @type {string}
64
- * @memberof CreateProductBilling
65
- */
66
- recognitionStartDate: string;
67
- /**
68
- * Product ID
69
- * @type {Array<ProductTransactionPostingEntries>}
70
- * @memberof CreateProductBilling
71
- */
72
- transactionPostingEntries: Array<ProductTransactionPostingEntries>;
73
- }
74
- /**
75
- * Check if a given object implements the CreateProductBilling interface.
76
- */
77
- export declare function instanceOfCreateProductBilling(value: object): value is CreateProductBilling;
78
- export declare function CreateProductBillingFromJSON(json: any): CreateProductBilling;
79
- export declare function CreateProductBillingFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProductBilling;
80
- export declare function CreateProductBillingToJSON(json: any): CreateProductBilling;
81
- export declare function CreateProductBillingToJSONTyped(value?: CreateProductBilling | null, ignoreDiscriminator?: boolean): any;
82
- //# sourceMappingURL=create-product-billing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-product-billing.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-product-billing.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAQ9F;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;CACtE;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAW3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAgB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiB9H"}
@@ -1,84 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * ManageSpace V2 Auth API
6
- * ManageSpace Auth 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.CreateProductBillingToJSONTyped = exports.CreateProductBillingToJSON = exports.CreateProductBillingFromJSONTyped = exports.CreateProductBillingFromJSON = exports.instanceOfCreateProductBilling = void 0;
17
- const product_transaction_posting_entries_1 = require("./product-transaction-posting-entries");
18
- /**
19
- * Check if a given object implements the CreateProductBilling interface.
20
- */
21
- function instanceOfCreateProductBilling(value) {
22
- if (!('name' in value) || value['name'] === undefined)
23
- return false;
24
- if (!('sku' in value) || value['sku'] === undefined)
25
- return false;
26
- if (!('status' in value) || value['status'] === undefined)
27
- return false;
28
- if (!('taxable' in value) || value['taxable'] === undefined)
29
- return false;
30
- if (!('description' in value) || value['description'] === undefined)
31
- return false;
32
- if (!('price' in value) || value['price'] === undefined)
33
- return false;
34
- if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined)
35
- return false;
36
- if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined)
37
- return false;
38
- if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined)
39
- return false;
40
- return true;
41
- }
42
- exports.instanceOfCreateProductBilling = instanceOfCreateProductBilling;
43
- function CreateProductBillingFromJSON(json) {
44
- return CreateProductBillingFromJSONTyped(json, false);
45
- }
46
- exports.CreateProductBillingFromJSON = CreateProductBillingFromJSON;
47
- function CreateProductBillingFromJSONTyped(json, ignoreDiscriminator) {
48
- if (json == null) {
49
- return json;
50
- }
51
- return {
52
- 'name': json['name'],
53
- 'sku': json['sku'],
54
- 'status': json['status'],
55
- 'taxable': json['taxable'],
56
- 'description': json['description'],
57
- 'price': json['price'],
58
- 'revenueRuleId': json['revenueRuleId'],
59
- 'recognitionStartDate': json['recognitionStartDate'],
60
- 'transactionPostingEntries': (json['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesFromJSON)),
61
- };
62
- }
63
- exports.CreateProductBillingFromJSONTyped = CreateProductBillingFromJSONTyped;
64
- function CreateProductBillingToJSON(json) {
65
- return CreateProductBillingToJSONTyped(json, false);
66
- }
67
- exports.CreateProductBillingToJSON = CreateProductBillingToJSON;
68
- function CreateProductBillingToJSONTyped(value, ignoreDiscriminator = false) {
69
- if (value == null) {
70
- return value;
71
- }
72
- return {
73
- 'name': value['name'],
74
- 'sku': value['sku'],
75
- 'status': value['status'],
76
- 'taxable': value['taxable'],
77
- 'description': value['description'],
78
- 'price': value['price'],
79
- 'revenueRuleId': value['revenueRuleId'],
80
- 'recognitionStartDate': value['recognitionStartDate'],
81
- 'transactionPostingEntries': (value['transactionPostingEntries'].map(product_transaction_posting_entries_1.ProductTransactionPostingEntriesToJSON)),
82
- };
83
- }
84
- exports.CreateProductBillingToJSONTyped = CreateProductBillingToJSONTyped;
@@ -1,34 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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
- import type { CustomCreateContactWithCustomer } from './custom-create-contact-with-customer';
13
- /**
14
- *
15
- * @export
16
- * @interface CustomAddCustomerContact
17
- */
18
- export interface CustomAddCustomerContact {
19
- /**
20
- * Contact information.
21
- * @type {Array<CustomCreateContactWithCustomer>}
22
- * @memberof CustomAddCustomerContact
23
- */
24
- contacts: Array<CustomCreateContactWithCustomer>;
25
- }
26
- /**
27
- * Check if a given object implements the CustomAddCustomerContact interface.
28
- */
29
- export declare function instanceOfCustomAddCustomerContact(value: object): value is CustomAddCustomerContact;
30
- export declare function CustomAddCustomerContactFromJSON(json: any): CustomAddCustomerContact;
31
- export declare function CustomAddCustomerContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomAddCustomerContact;
32
- export declare function CustomAddCustomerContactToJSON(json: any): CustomAddCustomerContact;
33
- export declare function CustomAddCustomerContactToJSONTyped(value?: CustomAddCustomerContact | null, ignoreDiscriminator?: boolean): any;
34
- //# sourceMappingURL=custom-add-customer-contact.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-add-customer-contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-add-customer-contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAQvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStI"}
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * ManageSpace V2 Auth API
6
- * ManageSpace Auth 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.CustomAddCustomerContactToJSONTyped = exports.CustomAddCustomerContactToJSON = exports.CustomAddCustomerContactFromJSONTyped = exports.CustomAddCustomerContactFromJSON = exports.instanceOfCustomAddCustomerContact = void 0;
17
- const custom_create_contact_with_customer_1 = require("./custom-create-contact-with-customer");
18
- /**
19
- * Check if a given object implements the CustomAddCustomerContact interface.
20
- */
21
- function instanceOfCustomAddCustomerContact(value) {
22
- if (!('contacts' in value) || value['contacts'] === undefined)
23
- return false;
24
- return true;
25
- }
26
- exports.instanceOfCustomAddCustomerContact = instanceOfCustomAddCustomerContact;
27
- function CustomAddCustomerContactFromJSON(json) {
28
- return CustomAddCustomerContactFromJSONTyped(json, false);
29
- }
30
- exports.CustomAddCustomerContactFromJSON = CustomAddCustomerContactFromJSON;
31
- function CustomAddCustomerContactFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'contacts': (json['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerFromJSON)),
37
- };
38
- }
39
- exports.CustomAddCustomerContactFromJSONTyped = CustomAddCustomerContactFromJSONTyped;
40
- function CustomAddCustomerContactToJSON(json) {
41
- return CustomAddCustomerContactToJSONTyped(json, false);
42
- }
43
- exports.CustomAddCustomerContactToJSON = CustomAddCustomerContactToJSON;
44
- function CustomAddCustomerContactToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'contacts': (value['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerToJSON)),
50
- };
51
- }
52
- exports.CustomAddCustomerContactToJSONTyped = CustomAddCustomerContactToJSONTyped;