@managespace/sdk 0.0.31 → 0.0.32

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 (64) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +25 -28
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/extensibility/functions/project/billing.js +10 -8
  4. package/dist/extensibility/functions/project/index.d.ts +1 -2
  5. package/dist/extensibility/functions/project/index.d.ts.map +1 -1
  6. package/dist/extensibility/functions/project/index.js +1 -2
  7. package/dist/extensibility/functions/project/managespace.d.ts +2 -2
  8. package/dist/extensibility/functions/project/managespace.d.ts.map +1 -1
  9. package/dist/extensibility/functions/project/managespace.js +0 -1
  10. package/dist/generated/apis/default-api.d.ts +65 -13
  11. package/dist/generated/apis/default-api.d.ts.map +1 -1
  12. package/dist/generated/apis/default-api.js +213 -39
  13. package/dist/generated/models/create-contact.d.ts +15 -4
  14. package/dist/generated/models/create-contact.d.ts.map +1 -1
  15. package/dist/generated/models/create-contact.js +9 -4
  16. package/dist/generated/models/create-payment.d.ts +155 -0
  17. package/dist/generated/models/create-payment.d.ts.map +1 -0
  18. package/dist/generated/models/create-payment.js +123 -0
  19. package/dist/generated/models/custom-create-contact-with-customer.d.ts +6 -0
  20. package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +1 -1
  21. package/dist/generated/models/custom-create-contact-with-customer.js +2 -0
  22. package/dist/generated/models/custom-create-contact.d.ts +12 -0
  23. package/dist/generated/models/custom-create-contact.d.ts.map +1 -1
  24. package/dist/generated/models/custom-create-contact.js +6 -0
  25. package/dist/generated/models/custom-create-customer.d.ts +18 -12
  26. package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
  27. package/dist/generated/models/custom-create-customer.js +7 -5
  28. package/dist/generated/models/custom-update-customer.d.ts +10 -75
  29. package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
  30. package/dist/generated/models/custom-update-customer.js +5 -26
  31. package/dist/generated/models/customer-response.d.ts +84 -0
  32. package/dist/generated/models/customer-response.d.ts.map +1 -1
  33. package/dist/generated/models/customer-response.js +56 -0
  34. package/dist/generated/models/index.d.ts +10 -1
  35. package/dist/generated/models/index.d.ts.map +1 -1
  36. package/dist/generated/models/index.js +10 -1
  37. package/dist/generated/models/payment-response.d.ts +2 -2
  38. package/dist/generated/models/update-customer.d.ts +18 -0
  39. package/dist/generated/models/update-customer.d.ts.map +1 -1
  40. package/dist/generated/models/update-customer.js +6 -0
  41. package/package.json +1 -1
  42. package/src/extensibility/functions/project/billing.ts +29 -38
  43. package/src/extensibility/functions/project/index.ts +1 -2
  44. package/src/extensibility/functions/project/managespace.ts +2 -3
  45. package/src/generated/.openapi-generator/FILES +10 -1
  46. package/src/generated/apis/default-api.ts +354 -59
  47. package/src/generated/models/create-contact.ts +23 -14
  48. package/src/generated/models/create-payment.ts +256 -0
  49. package/src/generated/models/custom-create-contact-with-customer.ts +8 -0
  50. package/src/generated/models/custom-create-contact.ts +17 -0
  51. package/src/generated/models/custom-create-customer.ts +29 -21
  52. package/src/generated/models/custom-update-customer.ts +21 -101
  53. package/src/generated/models/customer-response.ts +126 -0
  54. package/src/generated/models/index.ts +10 -1
  55. package/src/generated/models/payment-response.ts +2 -2
  56. package/src/generated/models/update-customer.ts +24 -0
  57. package/dist/extensibility/functions/project/communication.d.ts +0 -12
  58. package/dist/extensibility/functions/project/communication.d.ts.map +0 -1
  59. package/dist/extensibility/functions/project/communication.js +0 -18
  60. package/dist/generated/models/custom-customer-response.d.ts +0 -193
  61. package/dist/generated/models/custom-customer-response.d.ts.map +0 -1
  62. package/dist/generated/models/custom-customer-response.js +0 -151
  63. package/src/extensibility/functions/project/communication.ts +0 -16
  64. package/src/generated/models/custom-customer-response.ts +0 -325
@@ -9,6 +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
13
  /**
13
14
  *
14
15
  * @export
@@ -28,95 +29,29 @@ export interface CustomUpdateCustomer {
28
29
  */
29
30
  description?: string | null;
30
31
  /**
31
- * Balance
32
- * @type {number}
33
- * @memberof CustomUpdateCustomer
34
- */
35
- balance?: number;
36
- /**
37
- * Tennant ID.
38
- * @type {string}
39
- * @memberof CustomUpdateCustomer
40
- */
41
- tenantId?: string;
42
- /**
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
56
- * @type {string}
57
- * @memberof CustomUpdateCustomer
58
- */
59
- currency?: string;
60
- /**
61
- * Payment gateway
32
+ * External ID
62
33
  * @type {string}
63
34
  * @memberof CustomUpdateCustomer
64
35
  */
65
- paymentGateway?: string;
66
- /**
67
- * Edit auto pay
68
- * @type {boolean}
69
- * @memberof CustomUpdateCustomer
70
- */
71
- editAutoPay?: boolean;
36
+ externalId?: string | null;
72
37
  /**
73
- * Payment terms
38
+ * billing contact ID
74
39
  * @type {string}
75
40
  * @memberof CustomUpdateCustomer
76
41
  */
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;
42
+ billingContactId?: string | null;
96
43
  /**
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
44
+ * shipping contact ID
110
45
  * @type {string}
111
46
  * @memberof CustomUpdateCustomer
112
47
  */
113
- billingContactId?: string;
48
+ shippingContactId?: string | null;
114
49
  /**
115
- * shipping contact ID
116
- * @type {string}
50
+ * Contact information.
51
+ * @type {Array<CustomCreateContactWithCustomer>}
117
52
  * @memberof CustomUpdateCustomer
118
53
  */
119
- shippingContactId?: string;
54
+ contacts?: Array<CustomCreateContactWithCustomer>;
120
55
  }
121
56
  /**
122
57
  * 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;;;;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"}
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"}
@@ -14,6 +14,7 @@
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");
17
18
  /**
18
19
  * Check if a given object implements the CustomUpdateCustomer interface.
19
20
  */
@@ -32,21 +33,10 @@ function CustomUpdateCustomerFromJSONTyped(json, ignoreDiscriminator) {
32
33
  return {
33
34
  'name': json['name'] == null ? undefined : json['name'],
34
35
  'description': json['description'] == null ? undefined : json['description'],
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'],
36
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
48
37
  'billingContactId': json['billingContactId'] == null ? undefined : json['billingContactId'],
49
38
  'shippingContactId': json['shippingContactId'] == null ? undefined : json['shippingContactId'],
39
+ 'contacts': json['contacts'] == null ? undefined : (json['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerFromJSON)),
50
40
  };
51
41
  }
52
42
  exports.CustomUpdateCustomerFromJSONTyped = CustomUpdateCustomerFromJSONTyped;
@@ -61,21 +51,10 @@ function CustomUpdateCustomerToJSONTyped(value, ignoreDiscriminator = false) {
61
51
  return {
62
52
  'name': value['name'],
63
53
  'description': value['description'],
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'],
54
+ 'externalId': value['externalId'],
77
55
  'billingContactId': value['billingContactId'],
78
56
  'shippingContactId': value['shippingContactId'],
57
+ 'contacts': value['contacts'] == null ? undefined : (value['contacts'].map(custom_create_contact_with_customer_1.CustomCreateContactWithCustomerToJSON)),
79
58
  };
80
59
  }
81
60
  exports.CustomUpdateCustomerToJSONTyped = CustomUpdateCustomerToJSONTyped;
@@ -37,6 +37,12 @@ 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;
40
46
  /**
41
47
  * When the record was created
42
48
  * @type {Date}
@@ -85,6 +91,84 @@ export interface CustomerResponse {
85
91
  * @memberof CustomerResponse
86
92
  */
87
93
  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;
88
172
  /**
89
173
  *
90
174
  * @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,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"}
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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
29
29
  if (!('description' in value) || value['description'] === undefined)
30
30
  return false;
31
+ if (!('status' in value) || value['status'] === undefined)
32
+ return false;
31
33
  if (!('createdAt' in value) || value['createdAt'] === undefined)
32
34
  return false;
33
35
  if (!('updatedAt' in value) || value['updatedAt'] === undefined)
@@ -38,6 +40,32 @@ function instanceOfCustomerResponse(value) {
38
40
  return false;
39
41
  if (!('balance' in value) || value['balance'] === undefined)
40
42
  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;
41
69
  return true;
42
70
  }
43
71
  exports.instanceOfCustomerResponse = instanceOfCustomerResponse;
@@ -53,6 +81,7 @@ function CustomerResponseFromJSONTyped(json, ignoreDiscriminator) {
53
81
  'id': json['id'],
54
82
  'name': json['name'],
55
83
  'description': json['description'],
84
+ 'status': json['status'],
56
85
  'createdAt': (new Date(json['createdAt'])),
57
86
  'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
58
87
  'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
@@ -61,6 +90,19 @@ function CustomerResponseFromJSONTyped(json, ignoreDiscriminator) {
61
90
  'note': json['note'] == null ? undefined : (json['note'].map(note_response_1.NoteResponseFromJSON)),
62
91
  'externalId': json['externalId'],
63
92
  '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'],
64
106
  'communications': json['communications'] == null ? undefined : (json['communications'].map(communication_response_1.CommunicationResponseFromJSON)),
65
107
  };
66
108
  }
@@ -77,6 +119,7 @@ function CustomerResponseToJSONTyped(value, ignoreDiscriminator = false) {
77
119
  'id': value['id'],
78
120
  'name': value['name'],
79
121
  'description': value['description'],
122
+ 'status': value['status'],
80
123
  'createdAt': ((value['createdAt']).toISOString()),
81
124
  'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
82
125
  'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
@@ -85,6 +128,19 @@ function CustomerResponseToJSONTyped(value, ignoreDiscriminator = false) {
85
128
  'note': value['note'] == null ? undefined : (value['note'].map(note_response_1.NoteResponseToJSON)),
86
129
  'externalId': value['externalId'],
87
130
  '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'],
88
144
  'communications': value['communications'] == null ? undefined : (value['communications'].map(communication_response_1.CommunicationResponseToJSON)),
89
145
  };
90
146
  }
@@ -28,6 +28,7 @@ export * from './create-billing-run';
28
28
  export * from './create-calendar';
29
29
  export * from './create-checklist';
30
30
  export * from './create-communication';
31
+ export * from './create-contact';
31
32
  export * from './create-document';
32
33
  export * from './create-instances';
33
34
  export * from './create-lease-status';
@@ -35,7 +36,7 @@ export * from './create-map-feature';
35
36
  export * from './create-note';
36
37
  export * from './create-notification';
37
38
  export * from './create-org';
38
- export * from './create-payment-billing';
39
+ export * from './create-payment';
39
40
  export * from './create-payment-invoice';
40
41
  export * from './create-payment-refund';
41
42
  export * from './create-payment-run';
@@ -51,13 +52,18 @@ export * from './create-subscription-plan';
51
52
  export * from './create-task';
52
53
  export * from './create-task-template';
53
54
  export * from './create-template';
55
+ export * from './custom-add-customer-contact';
54
56
  export * from './custom-chart-of-account';
55
57
  export * from './custom-chart-of-accounts';
56
58
  export * from './custom-create-contact';
59
+ export * from './custom-create-contact-with-customer';
57
60
  export * from './custom-create-customer';
58
61
  export * from './custom-create-user';
59
62
  export * from './custom-update-customer';
60
63
  export * from './custom-update-task-template';
64
+ export * from './customer-delivery-preferences';
65
+ export * from './customer-id';
66
+ export * from './customer-payment-options';
61
67
  export * from './customer-response';
62
68
  export * from './document-signed';
63
69
  export * from './document-urls-response';
@@ -80,7 +86,9 @@ export * from './get-chart-of-accounts200-response';
80
86
  export * from './get-communications200-response';
81
87
  export * from './get-contact-response';
82
88
  export * from './get-contacts200-response';
89
+ export * from './get-customer-response';
83
90
  export * from './get-customers200-response';
91
+ export * from './get-customers-billing200-response';
84
92
  export * from './get-intent';
85
93
  export * from './get-invoices200-response';
86
94
  export * from './get-notes200-response';
@@ -165,6 +173,7 @@ export * from './update-asset';
165
173
  export * from './update-asset-category';
166
174
  export * from './update-asset-feature';
167
175
  export * from './update-checklist-task-template';
176
+ export * from './update-customer';
168
177
  export * from './update-extensibility-repo';
169
178
  export * from './update-map-feature';
170
179
  export * from './update-note';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,c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mB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC"}
@@ -46,6 +46,7 @@ __exportStar(require("./create-billing-run"), exports);
46
46
  __exportStar(require("./create-calendar"), exports);
47
47
  __exportStar(require("./create-checklist"), exports);
48
48
  __exportStar(require("./create-communication"), exports);
49
+ __exportStar(require("./create-contact"), exports);
49
50
  __exportStar(require("./create-document"), exports);
50
51
  __exportStar(require("./create-instances"), exports);
51
52
  __exportStar(require("./create-lease-status"), exports);
@@ -53,7 +54,7 @@ __exportStar(require("./create-map-feature"), exports);
53
54
  __exportStar(require("./create-note"), exports);
54
55
  __exportStar(require("./create-notification"), exports);
55
56
  __exportStar(require("./create-org"), exports);
56
- __exportStar(require("./create-payment-billing"), exports);
57
+ __exportStar(require("./create-payment"), exports);
57
58
  __exportStar(require("./create-payment-invoice"), exports);
58
59
  __exportStar(require("./create-payment-refund"), exports);
59
60
  __exportStar(require("./create-payment-run"), exports);
@@ -69,13 +70,18 @@ __exportStar(require("./create-subscription-plan"), exports);
69
70
  __exportStar(require("./create-task"), exports);
70
71
  __exportStar(require("./create-task-template"), exports);
71
72
  __exportStar(require("./create-template"), exports);
73
+ __exportStar(require("./custom-add-customer-contact"), exports);
72
74
  __exportStar(require("./custom-chart-of-account"), exports);
73
75
  __exportStar(require("./custom-chart-of-accounts"), exports);
74
76
  __exportStar(require("./custom-create-contact"), exports);
77
+ __exportStar(require("./custom-create-contact-with-customer"), exports);
75
78
  __exportStar(require("./custom-create-customer"), exports);
76
79
  __exportStar(require("./custom-create-user"), exports);
77
80
  __exportStar(require("./custom-update-customer"), exports);
78
81
  __exportStar(require("./custom-update-task-template"), exports);
82
+ __exportStar(require("./customer-delivery-preferences"), exports);
83
+ __exportStar(require("./customer-id"), exports);
84
+ __exportStar(require("./customer-payment-options"), exports);
79
85
  __exportStar(require("./customer-response"), exports);
80
86
  __exportStar(require("./document-signed"), exports);
81
87
  __exportStar(require("./document-urls-response"), exports);
@@ -98,7 +104,9 @@ __exportStar(require("./get-chart-of-accounts200-response"), exports);
98
104
  __exportStar(require("./get-communications200-response"), exports);
99
105
  __exportStar(require("./get-contact-response"), exports);
100
106
  __exportStar(require("./get-contacts200-response"), exports);
107
+ __exportStar(require("./get-customer-response"), exports);
101
108
  __exportStar(require("./get-customers200-response"), exports);
109
+ __exportStar(require("./get-customers-billing200-response"), exports);
102
110
  __exportStar(require("./get-intent"), exports);
103
111
  __exportStar(require("./get-invoices200-response"), exports);
104
112
  __exportStar(require("./get-notes200-response"), exports);
@@ -183,6 +191,7 @@ __exportStar(require("./update-asset"), exports);
183
191
  __exportStar(require("./update-asset-category"), exports);
184
192
  __exportStar(require("./update-asset-feature"), exports);
185
193
  __exportStar(require("./update-checklist-task-template"), exports);
194
+ __exportStar(require("./update-customer"), exports);
186
195
  __exportStar(require("./update-extensibility-repo"), exports);
187
196
  __exportStar(require("./update-map-feature"), exports);
188
197
  __exportStar(require("./update-note"), exports);
@@ -156,10 +156,10 @@ export interface PaymentResponse {
156
156
  updatedAt: string;
157
157
  /**
158
158
  * Number of times attempts failed
159
- * @type {string}
159
+ * @type {number}
160
160
  * @memberof PaymentResponse
161
161
  */
162
- failedAttempts: string;
162
+ failedAttempts: number;
163
163
  /**
164
164
  * Reason for failed attempt
165
165
  * @type {string}
@@ -27,6 +27,24 @@ export interface UpdateCustomer {
27
27
  * @memberof UpdateCustomer
28
28
  */
29
29
  description?: string | null;
30
+ /**
31
+ * External ID
32
+ * @type {string}
33
+ * @memberof UpdateCustomer
34
+ */
35
+ externalId?: string | null;
36
+ /**
37
+ * billing contact ID
38
+ * @type {string}
39
+ * @memberof UpdateCustomer
40
+ */
41
+ billingContactId?: string | null;
42
+ /**
43
+ * shipping contact ID
44
+ * @type {string}
45
+ * @memberof UpdateCustomer
46
+ */
47
+ shippingContactId?: string | null;
30
48
  }
31
49
  /**
32
50
  * Check if a given object implements the UpdateCustomer interface.
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CASnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlH"}
1
+ {"version":3,"file":"update-customer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-customer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;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;CACrC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAYnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAalH"}
@@ -32,6 +32,9 @@ function UpdateCustomerFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return {
33
33
  'name': json['name'] == null ? undefined : json['name'],
34
34
  'description': json['description'] == null ? undefined : json['description'],
35
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
36
+ 'billingContactId': json['billingContactId'] == null ? undefined : json['billingContactId'],
37
+ 'shippingContactId': json['shippingContactId'] == null ? undefined : json['shippingContactId'],
35
38
  };
36
39
  }
37
40
  exports.UpdateCustomerFromJSONTyped = UpdateCustomerFromJSONTyped;
@@ -46,6 +49,9 @@ function UpdateCustomerToJSONTyped(value, ignoreDiscriminator = false) {
46
49
  return {
47
50
  'name': value['name'],
48
51
  'description': value['description'],
52
+ 'externalId': value['externalId'],
53
+ 'billingContactId': value['billingContactId'],
54
+ 'shippingContactId': value['shippingContactId'],
49
55
  };
50
56
  }
51
57
  exports.UpdateCustomerToJSONTyped = UpdateCustomerToJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",