@managespace/sdk 0.0.32 → 0.0.34

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 (108) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +31 -29
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/extensibility/functions/project/billing.js +8 -11
  4. package/dist/extensibility/functions/project/communication.d.ts +12 -0
  5. package/dist/extensibility/functions/project/communication.d.ts.map +1 -0
  6. package/dist/extensibility/functions/project/communication.js +18 -0
  7. package/dist/extensibility/functions/project/index.d.ts +2 -1
  8. package/dist/extensibility/functions/project/index.d.ts.map +1 -1
  9. package/dist/extensibility/functions/project/index.js +2 -1
  10. package/dist/extensibility/functions/project/managespace.d.ts +1 -15
  11. package/dist/extensibility/functions/project/managespace.d.ts.map +1 -1
  12. package/dist/extensibility/functions/project/managespace.js +0 -15
  13. package/dist/generated/apis/default-api.d.ts +17 -58
  14. package/dist/generated/apis/default-api.d.ts.map +1 -1
  15. package/dist/generated/apis/default-api.js +48 -185
  16. package/dist/generated/models/custom-create-contact.d.ts +0 -12
  17. package/dist/generated/models/custom-create-contact.d.ts.map +1 -1
  18. package/dist/generated/models/custom-create-contact.js +0 -6
  19. package/dist/generated/models/custom-create-customer.d.ts +12 -18
  20. package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
  21. package/dist/generated/models/custom-create-customer.js +5 -7
  22. package/dist/generated/models/custom-update-customer.d.ts +75 -10
  23. package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
  24. package/dist/generated/models/custom-update-customer.js +26 -5
  25. package/dist/generated/models/customer-response.d.ts +0 -84
  26. package/dist/generated/models/customer-response.d.ts.map +1 -1
  27. package/dist/generated/models/customer-response.js +0 -56
  28. package/dist/generated/models/get-invoice-billing200-response.d.ts +41 -0
  29. package/dist/generated/models/get-invoice-billing200-response.d.ts.map +1 -0
  30. package/dist/generated/models/get-invoice-billing200-response.js +55 -0
  31. package/dist/generated/models/index.d.ts +2 -11
  32. package/dist/generated/models/index.d.ts.map +1 -1
  33. package/dist/generated/models/index.js +2 -11
  34. package/dist/generated/models/payment-response.d.ts +2 -2
  35. package/package.json +1 -1
  36. package/src/extensibility/functions/project/billing.ts +34 -35
  37. package/src/extensibility/functions/project/communication.ts +16 -0
  38. package/src/extensibility/functions/project/index.ts +2 -1
  39. package/src/extensibility/functions/project/managespace.ts +0 -16
  40. package/src/generated/.openapi-generator/FILES +2 -11
  41. package/src/generated/apis/default-api.ts +83 -313
  42. package/src/generated/models/custom-create-contact.ts +0 -17
  43. package/src/generated/models/custom-create-customer.ts +21 -29
  44. package/src/generated/models/custom-update-customer.ts +101 -21
  45. package/src/generated/models/customer-response.ts +0 -126
  46. package/src/generated/models/get-invoice-billing200-response.ts +89 -0
  47. package/src/generated/models/index.ts +2 -11
  48. package/src/generated/models/payment-response.ts +2 -2
  49. package/dist/generated/models/create-contact.d.ts +0 -87
  50. package/dist/generated/models/create-contact.d.ts.map +0 -1
  51. package/dist/generated/models/create-contact.js +0 -81
  52. package/dist/generated/models/create-payment.d.ts +0 -155
  53. package/dist/generated/models/create-payment.d.ts.map +0 -1
  54. package/dist/generated/models/create-payment.js +0 -123
  55. package/dist/generated/models/create-plan-billing.d.ts +0 -58
  56. package/dist/generated/models/create-plan-billing.d.ts.map +0 -1
  57. package/dist/generated/models/create-plan-billing.js +0 -68
  58. package/dist/generated/models/create-product-billing.d.ts +0 -82
  59. package/dist/generated/models/create-product-billing.d.ts.map +0 -1
  60. package/dist/generated/models/create-product-billing.js +0 -84
  61. package/dist/generated/models/custom-add-customer-contact.d.ts +0 -34
  62. package/dist/generated/models/custom-add-customer-contact.d.ts.map +0 -1
  63. package/dist/generated/models/custom-add-customer-contact.js +0 -52
  64. package/dist/generated/models/custom-create-contact-with-customer.d.ts +0 -82
  65. package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +0 -1
  66. package/dist/generated/models/custom-create-contact-with-customer.js +0 -78
  67. package/dist/generated/models/customer-delivery-preferences.d.ts +0 -39
  68. package/dist/generated/models/customer-delivery-preferences.d.ts.map +0 -1
  69. package/dist/generated/models/customer-delivery-preferences.js +0 -55
  70. package/dist/generated/models/customer-id.d.ts +0 -33
  71. package/dist/generated/models/customer-id.d.ts.map +0 -1
  72. package/dist/generated/models/customer-id.js +0 -51
  73. package/dist/generated/models/customer-payment-options.d.ts +0 -39
  74. package/dist/generated/models/customer-payment-options.d.ts.map +0 -1
  75. package/dist/generated/models/customer-payment-options.js +0 -55
  76. package/dist/generated/models/get-customer-response.d.ts +0 -276
  77. package/dist/generated/models/get-customer-response.d.ts.map +0 -1
  78. package/dist/generated/models/get-customer-response.js +0 -214
  79. package/dist/generated/models/get-customers-billing200-response.d.ts +0 -41
  80. package/dist/generated/models/get-customers-billing200-response.d.ts.map +0 -1
  81. package/dist/generated/models/get-customers-billing200-response.js +0 -55
  82. package/dist/generated/models/product-billing-response.d.ts +0 -142
  83. package/dist/generated/models/product-billing-response.d.ts.map +0 -1
  84. package/dist/generated/models/product-billing-response.js +0 -124
  85. package/dist/generated/models/product-transaction-posting-entries.d.ts +0 -45
  86. package/dist/generated/models/product-transaction-posting-entries.d.ts.map +0 -1
  87. package/dist/generated/models/product-transaction-posting-entries.js +0 -59
  88. package/dist/generated/models/update-customer.d.ts +0 -57
  89. package/dist/generated/models/update-customer.d.ts.map +0 -1
  90. package/dist/generated/models/update-customer.js +0 -57
  91. package/dist/generated/models/update-product.d.ts +0 -52
  92. package/dist/generated/models/update-product.d.ts.map +0 -1
  93. package/dist/generated/models/update-product.js +0 -60
  94. package/src/generated/models/create-contact.ts +0 -144
  95. package/src/generated/models/create-payment.ts +0 -256
  96. package/src/generated/models/create-plan-billing.ts +0 -110
  97. package/src/generated/models/create-product-billing.ts +0 -146
  98. package/src/generated/models/custom-add-customer-contact.ts +0 -74
  99. package/src/generated/models/custom-create-contact-with-customer.ts +0 -143
  100. package/src/generated/models/customer-delivery-preferences.ts +0 -75
  101. package/src/generated/models/customer-id.ts +0 -66
  102. package/src/generated/models/customer-payment-options.ts +0 -75
  103. package/src/generated/models/get-customer-response.ts +0 -448
  104. package/src/generated/models/get-customers-billing200-response.ts +0 -89
  105. package/src/generated/models/product-billing-response.ts +0 -236
  106. package/src/generated/models/product-transaction-posting-entries.ts +0 -84
  107. package/src/generated/models/update-customer.ts +0 -97
  108. package/src/generated/models/update-product.ts +0 -101
@@ -16,12 +16,6 @@ import type { CreateAddress } from './create-address';
16
16
  * @interface CustomCreateContact
17
17
  */
18
18
  export interface CustomCreateContact {
19
- /**
20
- * External ID
21
- * @type {string}
22
- * @memberof CustomCreateContact
23
- */
24
- externalId?: string | null;
25
19
  /**
26
20
  * First name
27
21
  * @type {string}
@@ -64,12 +58,6 @@ export interface CustomCreateContact {
64
58
  * @memberof CustomCreateContact
65
59
  */
66
60
  mobileNumber: string;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof CustomCreateContact
71
- */
72
- customerId: string;
73
61
  /**
74
62
  * Contact address.
75
63
  * @type {CreateAddress}
@@ -1 +1 @@
1
- {"version":3,"file":"custom-create-contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-create-contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;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,OAAO,EAAE,aAAa,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CASzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAiB7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkB5H"}
1
+ {"version":3,"file":"custom-create-contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-create-contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;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,OAAO,EAAE,aAAa,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAQzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAe7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB5H"}
@@ -29,8 +29,6 @@ function instanceOfCustomCreateContact(value) {
29
29
  return false;
30
30
  if (!('mobileNumber' in value) || value['mobileNumber'] === undefined)
31
31
  return false;
32
- if (!('customerId' in value) || value['customerId'] === undefined)
33
- return false;
34
32
  if (!('address' in value) || value['address'] === undefined)
35
33
  return false;
36
34
  return true;
@@ -45,7 +43,6 @@ function CustomCreateContactFromJSONTyped(json, ignoreDiscriminator) {
45
43
  return json;
46
44
  }
47
45
  return {
48
- 'externalId': json['externalId'] == null ? undefined : json['externalId'],
49
46
  'firstName': json['firstName'],
50
47
  'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
51
48
  'lastName': json['lastName'],
@@ -53,7 +50,6 @@ function CustomCreateContactFromJSONTyped(json, ignoreDiscriminator) {
53
50
  'email': json['email'],
54
51
  'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
55
52
  'mobileNumber': json['mobileNumber'],
56
- 'customerId': json['customerId'],
57
53
  'address': (0, create_address_1.CreateAddressFromJSON)(json['address']),
58
54
  };
59
55
  }
@@ -67,7 +63,6 @@ function CustomCreateContactToJSONTyped(value, ignoreDiscriminator = false) {
67
63
  return value;
68
64
  }
69
65
  return {
70
- 'externalId': value['externalId'],
71
66
  'firstName': value['firstName'],
72
67
  'middleInitial': value['middleInitial'],
73
68
  'lastName': value['lastName'],
@@ -75,7 +70,6 @@ function CustomCreateContactToJSONTyped(value, ignoreDiscriminator = false) {
75
70
  'email': value['email'],
76
71
  'phoneNumber': value['phoneNumber'],
77
72
  'mobileNumber': value['mobileNumber'],
78
- 'customerId': value['customerId'],
79
73
  'address': (0, create_address_1.CreateAddressToJSON)(value['address']),
80
74
  };
81
75
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { CustomCreateContactWithCustomer } from './custom-create-contact-with-customer';
12
+ import type { CustomCreateContact } from './custom-create-contact';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -29,23 +29,23 @@ export interface CustomCreateCustomer {
29
29
  */
30
30
  description?: string | null;
31
31
  /**
32
- * Customer status
33
- * @type {string}
32
+ * Balance
33
+ * @type {number}
34
34
  * @memberof CustomCreateCustomer
35
35
  */
36
- status?: string;
36
+ balance?: number;
37
37
  /**
38
- * External ID
39
- * @type {string}
38
+ * Contact information.
39
+ * @type {Array<CustomCreateContact>}
40
40
  * @memberof CustomCreateCustomer
41
41
  */
42
- externalId?: string | null;
42
+ contacts: Array<CustomCreateContact>;
43
43
  /**
44
- * Balance
45
- * @type {number}
44
+ * Tennant ID.
45
+ * @type {string}
46
46
  * @memberof CustomCreateCustomer
47
47
  */
48
- balance?: number;
48
+ tenantId?: string;
49
49
  /**
50
50
  * autoPay
51
51
  * @type {boolean}
@@ -117,19 +117,13 @@ export interface CustomCreateCustomer {
117
117
  * @type {string}
118
118
  * @memberof CustomCreateCustomer
119
119
  */
120
- billingContactId?: string | null;
120
+ billingContactId?: string;
121
121
  /**
122
122
  * shipping contact ID
123
123
  * @type {string}
124
124
  * @memberof CustomCreateCustomer
125
125
  */
126
- shippingContactId?: string | null;
127
- /**
128
- * Contact information.
129
- * @type {Array<CustomCreateContactWithCustomer>}
130
- * @memberof CustomCreateCustomer
131
- */
132
- contacts: Array<CustomCreateContactWithCustomer>;
126
+ shippingContactId?: string;
133
127
  }
134
128
  /**
135
129
  * Check if a given object implements the CustomCreateCustomer interface.
@@ -1 +1 @@
1
- {"version":3,"file":"custom-create-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-create-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CA0B/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,CA2B9H"}
1
+ {"version":3,"file":"custom-create-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-create-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAyB/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,CA0B9H"}
@@ -14,7 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CustomCreateCustomerToJSONTyped = exports.CustomCreateCustomerToJSON = exports.CustomCreateCustomerFromJSONTyped = exports.CustomCreateCustomerFromJSON = exports.instanceOfCustomCreateCustomer = void 0;
17
- const custom_create_contact_with_customer_1 = require("./custom-create-contact-with-customer");
17
+ const custom_create_contact_1 = require("./custom-create-contact");
18
18
  /**
19
19
  * Check if a given object implements the CustomCreateCustomer interface.
20
20
  */
@@ -37,9 +37,9 @@ function CustomCreateCustomerFromJSONTyped(json, ignoreDiscriminator) {
37
37
  return {
38
38
  'name': json['name'],
39
39
  'description': json['description'] == null ? undefined : json['description'],
40
- 'status': json['status'] == null ? undefined : json['status'],
41
- 'externalId': json['externalId'] == null ? undefined : json['externalId'],
42
40
  'balance': json['balance'] == null ? undefined : json['balance'],
41
+ 'contacts': (json['contacts'].map(custom_create_contact_1.CustomCreateContactFromJSON)),
42
+ 'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
43
43
  'autoPay': json['autoPay'] == null ? undefined : json['autoPay'],
44
44
  'billingCycleDay': json['billingCycleDay'] == null ? undefined : json['billingCycleDay'],
45
45
  'currency': json['currency'] == null ? undefined : json['currency'],
@@ -53,7 +53,6 @@ function CustomCreateCustomerFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'creditEnabled': json['creditEnabled'] == null ? undefined : json['creditEnabled'],
54
54
  'billingContactId': json['billingContactId'] == null ? undefined : json['billingContactId'],
55
55
  'shippingContactId': json['shippingContactId'] == null ? undefined : json['shippingContactId'],
56
- 'contacts': (json['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerFromJSON)),
57
56
  };
58
57
  }
59
58
  exports.CustomCreateCustomerFromJSONTyped = CustomCreateCustomerFromJSONTyped;
@@ -68,9 +67,9 @@ function CustomCreateCustomerToJSONTyped(value, ignoreDiscriminator = false) {
68
67
  return {
69
68
  'name': value['name'],
70
69
  'description': value['description'],
71
- 'status': value['status'],
72
- 'externalId': value['externalId'],
73
70
  'balance': value['balance'],
71
+ 'contacts': (value['contacts'].map(custom_create_contact_1.CustomCreateContactToJSON)),
72
+ 'tenantId': value['tenantId'],
74
73
  'autoPay': value['autoPay'],
75
74
  'billingCycleDay': value['billingCycleDay'],
76
75
  'currency': value['currency'],
@@ -84,7 +83,6 @@ function CustomCreateCustomerToJSONTyped(value, ignoreDiscriminator = false) {
84
83
  'creditEnabled': value['creditEnabled'],
85
84
  'billingContactId': value['billingContactId'],
86
85
  'shippingContactId': value['shippingContactId'],
87
- 'contacts': (value['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerToJSON)),
88
86
  };
89
87
  }
90
88
  exports.CustomCreateCustomerToJSONTyped = CustomCreateCustomerToJSONTyped;
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { CustomCreateContactWithCustomer } from './custom-create-contact-with-customer';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -29,29 +28,95 @@ export interface CustomUpdateCustomer {
29
28
  */
30
29
  description?: string | null;
31
30
  /**
32
- * External ID
31
+ * Balance
32
+ * @type {number}
33
+ * @memberof CustomUpdateCustomer
34
+ */
35
+ balance?: number;
36
+ /**
37
+ * Tennant ID.
33
38
  * @type {string}
34
39
  * @memberof CustomUpdateCustomer
35
40
  */
36
- externalId?: string | null;
41
+ tenantId?: string;
37
42
  /**
38
- * billing contact ID
43
+ * autoPay
44
+ * @type {boolean}
45
+ * @memberof CustomUpdateCustomer
46
+ */
47
+ autoPay?: boolean;
48
+ /**
49
+ * Billing cycle day
50
+ * @type {number}
51
+ * @memberof CustomUpdateCustomer
52
+ */
53
+ billingCycleDay?: number;
54
+ /**
55
+ * Currency
39
56
  * @type {string}
40
57
  * @memberof CustomUpdateCustomer
41
58
  */
42
- billingContactId?: string | null;
59
+ currency?: string;
43
60
  /**
44
- * shipping contact ID
61
+ * Payment gateway
62
+ * @type {string}
63
+ * @memberof CustomUpdateCustomer
64
+ */
65
+ paymentGateway?: string;
66
+ /**
67
+ * Edit auto pay
68
+ * @type {boolean}
69
+ * @memberof CustomUpdateCustomer
70
+ */
71
+ editAutoPay?: boolean;
72
+ /**
73
+ * Payment terms
74
+ * @type {string}
75
+ * @memberof CustomUpdateCustomer
76
+ */
77
+ paymentTerms?: string;
78
+ /**
79
+ * Tax exempt
80
+ * @type {boolean}
81
+ * @memberof CustomUpdateCustomer
82
+ */
83
+ taxExempt?: boolean;
84
+ /**
85
+ * ACH Enabled
86
+ * @type {boolean}
87
+ * @memberof CustomUpdateCustomer
88
+ */
89
+ achEnabled?: boolean;
90
+ /**
91
+ * Email Preference
92
+ * @type {boolean}
93
+ * @memberof CustomUpdateCustomer
94
+ */
95
+ emailPreference?: boolean;
96
+ /**
97
+ * Print Preference
98
+ * @type {boolean}
99
+ * @memberof CustomUpdateCustomer
100
+ */
101
+ printPreference?: boolean;
102
+ /**
103
+ * Credit Enabled
104
+ * @type {boolean}
105
+ * @memberof CustomUpdateCustomer
106
+ */
107
+ creditEnabled?: boolean;
108
+ /**
109
+ * billing contact ID
45
110
  * @type {string}
46
111
  * @memberof CustomUpdateCustomer
47
112
  */
48
- shippingContactId?: string | null;
113
+ billingContactId?: string;
49
114
  /**
50
- * Contact information.
51
- * @type {Array<CustomCreateContactWithCustomer>}
115
+ * shipping contact ID
116
+ * @type {string}
52
117
  * @memberof CustomUpdateCustomer
53
118
  */
54
- contacts?: Array<CustomCreateContactWithCustomer>;
119
+ shippingContactId?: string;
55
120
  }
56
121
  /**
57
122
  * Check if a given object implements the CustomUpdateCustomer interface.
@@ -1 +1 @@
1
- {"version":3,"file":"custom-update-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-update-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAE3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAa/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,CAc9H"}
1
+ {"version":3,"file":"custom-update-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/custom-update-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAE3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAwB/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,CAyB9H"}
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CustomUpdateCustomerToJSONTyped = exports.CustomUpdateCustomerToJSON = exports.CustomUpdateCustomerFromJSONTyped = exports.CustomUpdateCustomerFromJSON = exports.instanceOfCustomUpdateCustomer = void 0;
17
- const custom_create_contact_with_customer_1 = require("./custom-create-contact-with-customer");
18
17
  /**
19
18
  * Check if a given object implements the CustomUpdateCustomer interface.
20
19
  */
@@ -33,10 +32,21 @@ function CustomUpdateCustomerFromJSONTyped(json, ignoreDiscriminator) {
33
32
  return {
34
33
  'name': json['name'] == null ? undefined : json['name'],
35
34
  'description': json['description'] == null ? undefined : json['description'],
36
- 'externalId': json['externalId'] == null ? undefined : json['externalId'],
35
+ 'balance': json['balance'] == null ? undefined : json['balance'],
36
+ 'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
37
+ 'autoPay': json['autoPay'] == null ? undefined : json['autoPay'],
38
+ 'billingCycleDay': json['billingCycleDay'] == null ? undefined : json['billingCycleDay'],
39
+ 'currency': json['currency'] == null ? undefined : json['currency'],
40
+ 'paymentGateway': json['paymentGateway'] == null ? undefined : json['paymentGateway'],
41
+ 'editAutoPay': json['editAutoPay'] == null ? undefined : json['editAutoPay'],
42
+ 'paymentTerms': json['paymentTerms'] == null ? undefined : json['paymentTerms'],
43
+ 'taxExempt': json['taxExempt'] == null ? undefined : json['taxExempt'],
44
+ 'achEnabled': json['achEnabled'] == null ? undefined : json['achEnabled'],
45
+ 'emailPreference': json['emailPreference'] == null ? undefined : json['emailPreference'],
46
+ 'printPreference': json['printPreference'] == null ? undefined : json['printPreference'],
47
+ 'creditEnabled': json['creditEnabled'] == null ? undefined : json['creditEnabled'],
37
48
  'billingContactId': json['billingContactId'] == null ? undefined : json['billingContactId'],
38
49
  'shippingContactId': json['shippingContactId'] == null ? undefined : json['shippingContactId'],
39
- 'contacts': json['contacts'] == null ? undefined : (json['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerFromJSON)),
40
50
  };
41
51
  }
42
52
  exports.CustomUpdateCustomerFromJSONTyped = CustomUpdateCustomerFromJSONTyped;
@@ -51,10 +61,21 @@ function CustomUpdateCustomerToJSONTyped(value, ignoreDiscriminator = false) {
51
61
  return {
52
62
  'name': value['name'],
53
63
  'description': value['description'],
54
- 'externalId': value['externalId'],
64
+ 'balance': value['balance'],
65
+ 'tenantId': value['tenantId'],
66
+ 'autoPay': value['autoPay'],
67
+ 'billingCycleDay': value['billingCycleDay'],
68
+ 'currency': value['currency'],
69
+ 'paymentGateway': value['paymentGateway'],
70
+ 'editAutoPay': value['editAutoPay'],
71
+ 'paymentTerms': value['paymentTerms'],
72
+ 'taxExempt': value['taxExempt'],
73
+ 'achEnabled': value['achEnabled'],
74
+ 'emailPreference': value['emailPreference'],
75
+ 'printPreference': value['printPreference'],
76
+ 'creditEnabled': value['creditEnabled'],
55
77
  'billingContactId': value['billingContactId'],
56
78
  'shippingContactId': value['shippingContactId'],
57
- 'contacts': value['contacts'] == null ? undefined : (value['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerToJSON)),
58
79
  };
59
80
  }
60
81
  exports.CustomUpdateCustomerToJSONTyped = CustomUpdateCustomerToJSONTyped;
@@ -37,12 +37,6 @@ export interface CustomerResponse {
37
37
  * @memberof CustomerResponse
38
38
  */
39
39
  description: string | null;
40
- /**
41
- * Customer status
42
- * @type {string}
43
- * @memberof CustomerResponse
44
- */
45
- status: string;
46
40
  /**
47
41
  * When the record was created
48
42
  * @type {Date}
@@ -91,84 +85,6 @@ export interface CustomerResponse {
91
85
  * @memberof CustomerResponse
92
86
  */
93
87
  balance: number;
94
- /**
95
- * autoPay
96
- * @type {boolean}
97
- * @memberof CustomerResponse
98
- */
99
- autoPay: boolean;
100
- /**
101
- * Billing cycle day
102
- * @type {number}
103
- * @memberof CustomerResponse
104
- */
105
- billingCycleDay: number;
106
- /**
107
- * Currency
108
- * @type {string}
109
- * @memberof CustomerResponse
110
- */
111
- currency: string;
112
- /**
113
- * Payment gateway
114
- * @type {string}
115
- * @memberof CustomerResponse
116
- */
117
- paymentGateway: string;
118
- /**
119
- * Edit auto pay
120
- * @type {boolean}
121
- * @memberof CustomerResponse
122
- */
123
- editAutoPay: boolean;
124
- /**
125
- * Payment terms
126
- * @type {string}
127
- * @memberof CustomerResponse
128
- */
129
- paymentTerms: string;
130
- /**
131
- * Tax exempt
132
- * @type {boolean}
133
- * @memberof CustomerResponse
134
- */
135
- taxExempt: boolean;
136
- /**
137
- * ACH Enabled
138
- * @type {boolean}
139
- * @memberof CustomerResponse
140
- */
141
- achEnabled: boolean;
142
- /**
143
- * Email Preference
144
- * @type {boolean}
145
- * @memberof CustomerResponse
146
- */
147
- emailPreference: boolean;
148
- /**
149
- * Print Preference
150
- * @type {boolean}
151
- * @memberof CustomerResponse
152
- */
153
- printPreference: boolean;
154
- /**
155
- * Credit Enabled
156
- * @type {boolean}
157
- * @memberof CustomerResponse
158
- */
159
- creditEnabled: boolean;
160
- /**
161
- * billing contact ID
162
- * @type {string}
163
- * @memberof CustomerResponse
164
- */
165
- billingContactId: string | null;
166
- /**
167
- * shipping contact ID
168
- * @type {string}
169
- * @memberof CustomerResponse
170
- */
171
- shippingContactId: string | null;
172
88
  /**
173
89
  *
174
90
  * @type {Array<CommunicationResponse>}
@@ -1 +1 @@
1
- {"version":3,"file":"customer-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/customer-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAOtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAwBnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAiCvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkCtH"}
1
+ {"version":3,"file":"customer-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/customer-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAOpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAOtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAUnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAmBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBtH"}
@@ -28,8 +28,6 @@ function instanceOfCustomerResponse(value) {
28
28
  return false;
29
29
  if (!('description' in value) || value['description'] === undefined)
30
30
  return false;
31
- if (!('status' in value) || value['status'] === undefined)
32
- return false;
33
31
  if (!('createdAt' in value) || value['createdAt'] === undefined)
34
32
  return false;
35
33
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -40,32 +38,6 @@ function instanceOfCustomerResponse(value) {
40
38
  return false;
41
39
  if (!('balance' in value) || value['balance'] === undefined)
42
40
  return false;
43
- if (!('autoPay' in value) || value['autoPay'] === undefined)
44
- return false;
45
- if (!('billingCycleDay' in value) || value['billingCycleDay'] === undefined)
46
- return false;
47
- if (!('currency' in value) || value['currency'] === undefined)
48
- return false;
49
- if (!('paymentGateway' in value) || value['paymentGateway'] === undefined)
50
- return false;
51
- if (!('editAutoPay' in value) || value['editAutoPay'] === undefined)
52
- return false;
53
- if (!('paymentTerms' in value) || value['paymentTerms'] === undefined)
54
- return false;
55
- if (!('taxExempt' in value) || value['taxExempt'] === undefined)
56
- return false;
57
- if (!('achEnabled' in value) || value['achEnabled'] === undefined)
58
- return false;
59
- if (!('emailPreference' in value) || value['emailPreference'] === undefined)
60
- return false;
61
- if (!('printPreference' in value) || value['printPreference'] === undefined)
62
- return false;
63
- if (!('creditEnabled' in value) || value['creditEnabled'] === undefined)
64
- return false;
65
- if (!('billingContactId' in value) || value['billingContactId'] === undefined)
66
- return false;
67
- if (!('shippingContactId' in value) || value['shippingContactId'] === undefined)
68
- return false;
69
41
  return true;
70
42
  }
71
43
  exports.instanceOfCustomerResponse = instanceOfCustomerResponse;
@@ -81,7 +53,6 @@ function CustomerResponseFromJSONTyped(json, ignoreDiscriminator) {
81
53
  'id': json['id'],
82
54
  'name': json['name'],
83
55
  'description': json['description'],
84
- 'status': json['status'],
85
56
  'createdAt': (new Date(json['createdAt'])),
86
57
  'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
87
58
  'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
@@ -90,19 +61,6 @@ function CustomerResponseFromJSONTyped(json, ignoreDiscriminator) {
90
61
  'note': json['note'] == null ? undefined : (json['note'].map(note_response_1.NoteResponseFromJSON)),
91
62
  'externalId': json['externalId'],
92
63
  'balance': json['balance'],
93
- 'autoPay': json['autoPay'],
94
- 'billingCycleDay': json['billingCycleDay'],
95
- 'currency': json['currency'],
96
- 'paymentGateway': json['paymentGateway'],
97
- 'editAutoPay': json['editAutoPay'],
98
- 'paymentTerms': json['paymentTerms'],
99
- 'taxExempt': json['taxExempt'],
100
- 'achEnabled': json['achEnabled'],
101
- 'emailPreference': json['emailPreference'],
102
- 'printPreference': json['printPreference'],
103
- 'creditEnabled': json['creditEnabled'],
104
- 'billingContactId': json['billingContactId'],
105
- 'shippingContactId': json['shippingContactId'],
106
64
  'communications': json['communications'] == null ? undefined : (json['communications'].map(communication_response_1.CommunicationResponseFromJSON)),
107
65
  };
108
66
  }
@@ -119,7 +77,6 @@ function CustomerResponseToJSONTyped(value, ignoreDiscriminator = false) {
119
77
  'id': value['id'],
120
78
  'name': value['name'],
121
79
  'description': value['description'],
122
- 'status': value['status'],
123
80
  'createdAt': ((value['createdAt']).toISOString()),
124
81
  'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
125
82
  'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
@@ -128,19 +85,6 @@ function CustomerResponseToJSONTyped(value, ignoreDiscriminator = false) {
128
85
  'note': value['note'] == null ? undefined : (value['note'].map(note_response_1.NoteResponseToJSON)),
129
86
  'externalId': value['externalId'],
130
87
  'balance': value['balance'],
131
- 'autoPay': value['autoPay'],
132
- 'billingCycleDay': value['billingCycleDay'],
133
- 'currency': value['currency'],
134
- 'paymentGateway': value['paymentGateway'],
135
- 'editAutoPay': value['editAutoPay'],
136
- 'paymentTerms': value['paymentTerms'],
137
- 'taxExempt': value['taxExempt'],
138
- 'achEnabled': value['achEnabled'],
139
- 'emailPreference': value['emailPreference'],
140
- 'printPreference': value['printPreference'],
141
- 'creditEnabled': value['creditEnabled'],
142
- 'billingContactId': value['billingContactId'],
143
- 'shippingContactId': value['shippingContactId'],
144
88
  'communications': value['communications'] == null ? undefined : (value['communications'].map(communication_response_1.CommunicationResponseToJSON)),
145
89
  };
146
90
  }
@@ -0,0 +1,41 @@
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 { InvoiceResponse } from './invoice-response';
13
+ import type { PageMeta } from './page-meta';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GetInvoiceBilling200Response
18
+ */
19
+ export interface GetInvoiceBilling200Response {
20
+ /**
21
+ * The pagination metadata
22
+ * @type {PageMeta}
23
+ * @memberof GetInvoiceBilling200Response
24
+ */
25
+ pageMeta: PageMeta;
26
+ /**
27
+ *
28
+ * @type {Array<InvoiceResponse>}
29
+ * @memberof GetInvoiceBilling200Response
30
+ */
31
+ results?: Array<InvoiceResponse>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the GetInvoiceBilling200Response interface.
35
+ */
36
+ export declare function instanceOfGetInvoiceBilling200Response(value: object): value is GetInvoiceBilling200Response;
37
+ export declare function GetInvoiceBilling200ResponseFromJSON(json: any): GetInvoiceBilling200Response;
38
+ export declare function GetInvoiceBilling200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoiceBilling200Response;
39
+ export declare function GetInvoiceBilling200ResponseToJSON(json: any): GetInvoiceBilling200Response;
40
+ export declare function GetInvoiceBilling200ResponseToJSONTyped(value?: GetInvoiceBilling200Response | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=get-invoice-billing200-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice-billing200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-invoice-billing200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQ5C;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}