@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.
- package/dist/extensibility/functions/project/billing.d.ts +31 -29
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +8 -11
- package/dist/extensibility/functions/project/communication.d.ts +12 -0
- package/dist/extensibility/functions/project/communication.d.ts.map +1 -0
- package/dist/extensibility/functions/project/communication.js +18 -0
- package/dist/extensibility/functions/project/index.d.ts +2 -1
- package/dist/extensibility/functions/project/index.d.ts.map +1 -1
- package/dist/extensibility/functions/project/index.js +2 -1
- package/dist/extensibility/functions/project/managespace.d.ts +1 -15
- package/dist/extensibility/functions/project/managespace.d.ts.map +1 -1
- package/dist/extensibility/functions/project/managespace.js +0 -15
- package/dist/generated/apis/default-api.d.ts +17 -58
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +48 -185
- package/dist/generated/models/custom-create-contact.d.ts +0 -12
- package/dist/generated/models/custom-create-contact.d.ts.map +1 -1
- package/dist/generated/models/custom-create-contact.js +0 -6
- package/dist/generated/models/custom-create-customer.d.ts +12 -18
- package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-create-customer.js +5 -7
- package/dist/generated/models/custom-update-customer.d.ts +75 -10
- package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-update-customer.js +26 -5
- package/dist/generated/models/customer-response.d.ts +0 -84
- package/dist/generated/models/customer-response.d.ts.map +1 -1
- package/dist/generated/models/customer-response.js +0 -56
- package/dist/generated/models/get-invoice-billing200-response.d.ts +41 -0
- package/dist/generated/models/get-invoice-billing200-response.d.ts.map +1 -0
- package/dist/generated/models/get-invoice-billing200-response.js +55 -0
- package/dist/generated/models/index.d.ts +2 -11
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +2 -11
- package/dist/generated/models/payment-response.d.ts +2 -2
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +34 -35
- package/src/extensibility/functions/project/communication.ts +16 -0
- package/src/extensibility/functions/project/index.ts +2 -1
- package/src/extensibility/functions/project/managespace.ts +0 -16
- package/src/generated/.openapi-generator/FILES +2 -11
- package/src/generated/apis/default-api.ts +83 -313
- package/src/generated/models/custom-create-contact.ts +0 -17
- package/src/generated/models/custom-create-customer.ts +21 -29
- package/src/generated/models/custom-update-customer.ts +101 -21
- package/src/generated/models/customer-response.ts +0 -126
- package/src/generated/models/get-invoice-billing200-response.ts +89 -0
- package/src/generated/models/index.ts +2 -11
- package/src/generated/models/payment-response.ts +2 -2
- package/dist/generated/models/create-contact.d.ts +0 -87
- package/dist/generated/models/create-contact.d.ts.map +0 -1
- package/dist/generated/models/create-contact.js +0 -81
- package/dist/generated/models/create-payment.d.ts +0 -155
- package/dist/generated/models/create-payment.d.ts.map +0 -1
- package/dist/generated/models/create-payment.js +0 -123
- package/dist/generated/models/create-plan-billing.d.ts +0 -58
- package/dist/generated/models/create-plan-billing.d.ts.map +0 -1
- package/dist/generated/models/create-plan-billing.js +0 -68
- package/dist/generated/models/create-product-billing.d.ts +0 -82
- package/dist/generated/models/create-product-billing.d.ts.map +0 -1
- package/dist/generated/models/create-product-billing.js +0 -84
- package/dist/generated/models/custom-add-customer-contact.d.ts +0 -34
- package/dist/generated/models/custom-add-customer-contact.d.ts.map +0 -1
- package/dist/generated/models/custom-add-customer-contact.js +0 -52
- package/dist/generated/models/custom-create-contact-with-customer.d.ts +0 -82
- package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +0 -1
- package/dist/generated/models/custom-create-contact-with-customer.js +0 -78
- package/dist/generated/models/customer-delivery-preferences.d.ts +0 -39
- package/dist/generated/models/customer-delivery-preferences.d.ts.map +0 -1
- package/dist/generated/models/customer-delivery-preferences.js +0 -55
- package/dist/generated/models/customer-id.d.ts +0 -33
- package/dist/generated/models/customer-id.d.ts.map +0 -1
- package/dist/generated/models/customer-id.js +0 -51
- package/dist/generated/models/customer-payment-options.d.ts +0 -39
- package/dist/generated/models/customer-payment-options.d.ts.map +0 -1
- package/dist/generated/models/customer-payment-options.js +0 -55
- package/dist/generated/models/get-customer-response.d.ts +0 -276
- package/dist/generated/models/get-customer-response.d.ts.map +0 -1
- package/dist/generated/models/get-customer-response.js +0 -214
- package/dist/generated/models/get-customers-billing200-response.d.ts +0 -41
- package/dist/generated/models/get-customers-billing200-response.d.ts.map +0 -1
- package/dist/generated/models/get-customers-billing200-response.js +0 -55
- package/dist/generated/models/product-billing-response.d.ts +0 -142
- package/dist/generated/models/product-billing-response.d.ts.map +0 -1
- package/dist/generated/models/product-billing-response.js +0 -124
- package/dist/generated/models/product-transaction-posting-entries.d.ts +0 -45
- package/dist/generated/models/product-transaction-posting-entries.d.ts.map +0 -1
- package/dist/generated/models/product-transaction-posting-entries.js +0 -59
- package/dist/generated/models/update-customer.d.ts +0 -57
- package/dist/generated/models/update-customer.d.ts.map +0 -1
- package/dist/generated/models/update-customer.js +0 -57
- package/dist/generated/models/update-product.d.ts +0 -52
- package/dist/generated/models/update-product.d.ts.map +0 -1
- package/dist/generated/models/update-product.js +0 -60
- package/src/generated/models/create-contact.ts +0 -144
- package/src/generated/models/create-payment.ts +0 -256
- package/src/generated/models/create-plan-billing.ts +0 -110
- package/src/generated/models/create-product-billing.ts +0 -146
- package/src/generated/models/custom-add-customer-contact.ts +0 -74
- package/src/generated/models/custom-create-contact-with-customer.ts +0 -143
- package/src/generated/models/customer-delivery-preferences.ts +0 -75
- package/src/generated/models/customer-id.ts +0 -66
- package/src/generated/models/customer-payment-options.ts +0 -75
- package/src/generated/models/get-customer-response.ts +0 -448
- package/src/generated/models/get-customers-billing200-response.ts +0 -89
- package/src/generated/models/product-billing-response.ts +0 -236
- package/src/generated/models/product-transaction-posting-entries.ts +0 -84
- package/src/generated/models/update-customer.ts +0 -97
- package/src/generated/models/update-product.ts +0 -101
|
@@ -0,0 +1,55 @@
|
|
|
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.GetInvoiceBilling200ResponseToJSONTyped = exports.GetInvoiceBilling200ResponseToJSON = exports.GetInvoiceBilling200ResponseFromJSONTyped = exports.GetInvoiceBilling200ResponseFromJSON = exports.instanceOfGetInvoiceBilling200Response = void 0;
|
|
17
|
+
const invoice_response_1 = require("./invoice-response");
|
|
18
|
+
const page_meta_1 = require("./page-meta");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the GetInvoiceBilling200Response interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfGetInvoiceBilling200Response(value) {
|
|
23
|
+
if (!('pageMeta' in value) || value['pageMeta'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGetInvoiceBilling200Response = instanceOfGetInvoiceBilling200Response;
|
|
28
|
+
function GetInvoiceBilling200ResponseFromJSON(json) {
|
|
29
|
+
return GetInvoiceBilling200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GetInvoiceBilling200ResponseFromJSON = GetInvoiceBilling200ResponseFromJSON;
|
|
32
|
+
function GetInvoiceBilling200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
+
'results': json['results'] == null ? undefined : (json['results'].map(invoice_response_1.InvoiceResponseFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.GetInvoiceBilling200ResponseFromJSONTyped = GetInvoiceBilling200ResponseFromJSONTyped;
|
|
42
|
+
function GetInvoiceBilling200ResponseToJSON(json) {
|
|
43
|
+
return GetInvoiceBilling200ResponseToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.GetInvoiceBilling200ResponseToJSON = GetInvoiceBilling200ResponseToJSON;
|
|
46
|
+
function GetInvoiceBilling200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
+
'results': value['results'] == null ? undefined : (value['results'].map(invoice_response_1.InvoiceResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.GetInvoiceBilling200ResponseToJSONTyped = GetInvoiceBilling200ResponseToJSONTyped;
|
|
@@ -28,7 +28,6 @@ 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';
|
|
32
31
|
export * from './create-document';
|
|
33
32
|
export * from './create-instances';
|
|
34
33
|
export * from './create-lease-status';
|
|
@@ -36,7 +35,7 @@ export * from './create-map-feature';
|
|
|
36
35
|
export * from './create-note';
|
|
37
36
|
export * from './create-notification';
|
|
38
37
|
export * from './create-org';
|
|
39
|
-
export * from './create-payment';
|
|
38
|
+
export * from './create-payment-billing';
|
|
40
39
|
export * from './create-payment-invoice';
|
|
41
40
|
export * from './create-payment-refund';
|
|
42
41
|
export * from './create-payment-run';
|
|
@@ -52,18 +51,13 @@ export * from './create-subscription-plan';
|
|
|
52
51
|
export * from './create-task';
|
|
53
52
|
export * from './create-task-template';
|
|
54
53
|
export * from './create-template';
|
|
55
|
-
export * from './custom-add-customer-contact';
|
|
56
54
|
export * from './custom-chart-of-account';
|
|
57
55
|
export * from './custom-chart-of-accounts';
|
|
58
56
|
export * from './custom-create-contact';
|
|
59
|
-
export * from './custom-create-contact-with-customer';
|
|
60
57
|
export * from './custom-create-customer';
|
|
61
58
|
export * from './custom-create-user';
|
|
62
59
|
export * from './custom-update-customer';
|
|
63
60
|
export * from './custom-update-task-template';
|
|
64
|
-
export * from './customer-delivery-preferences';
|
|
65
|
-
export * from './customer-id';
|
|
66
|
-
export * from './customer-payment-options';
|
|
67
61
|
export * from './customer-response';
|
|
68
62
|
export * from './document-signed';
|
|
69
63
|
export * from './document-urls-response';
|
|
@@ -86,11 +80,9 @@ export * from './get-chart-of-accounts200-response';
|
|
|
86
80
|
export * from './get-communications200-response';
|
|
87
81
|
export * from './get-contact-response';
|
|
88
82
|
export * from './get-contacts200-response';
|
|
89
|
-
export * from './get-customer-response';
|
|
90
83
|
export * from './get-customers200-response';
|
|
91
|
-
export * from './get-customers-billing200-response';
|
|
92
84
|
export * from './get-intent';
|
|
93
|
-
export * from './get-
|
|
85
|
+
export * from './get-invoice-billing200-response';
|
|
94
86
|
export * from './get-notes200-response';
|
|
95
87
|
export * from './get-notifications200-response';
|
|
96
88
|
export * from './get-payment-runs200-response';
|
|
@@ -173,7 +165,6 @@ export * from './update-asset';
|
|
|
173
165
|
export * from './update-asset-category';
|
|
174
166
|
export * from './update-asset-feature';
|
|
175
167
|
export * from './update-checklist-task-template';
|
|
176
|
-
export * from './update-customer';
|
|
177
168
|
export * from './update-extensibility-repo';
|
|
178
169
|
export * from './update-map-feature';
|
|
179
170
|
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;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AC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,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,7 +46,6 @@ __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);
|
|
50
49
|
__exportStar(require("./create-document"), exports);
|
|
51
50
|
__exportStar(require("./create-instances"), exports);
|
|
52
51
|
__exportStar(require("./create-lease-status"), exports);
|
|
@@ -54,7 +53,7 @@ __exportStar(require("./create-map-feature"), exports);
|
|
|
54
53
|
__exportStar(require("./create-note"), exports);
|
|
55
54
|
__exportStar(require("./create-notification"), exports);
|
|
56
55
|
__exportStar(require("./create-org"), exports);
|
|
57
|
-
__exportStar(require("./create-payment"), exports);
|
|
56
|
+
__exportStar(require("./create-payment-billing"), exports);
|
|
58
57
|
__exportStar(require("./create-payment-invoice"), exports);
|
|
59
58
|
__exportStar(require("./create-payment-refund"), exports);
|
|
60
59
|
__exportStar(require("./create-payment-run"), exports);
|
|
@@ -70,18 +69,13 @@ __exportStar(require("./create-subscription-plan"), exports);
|
|
|
70
69
|
__exportStar(require("./create-task"), exports);
|
|
71
70
|
__exportStar(require("./create-task-template"), exports);
|
|
72
71
|
__exportStar(require("./create-template"), exports);
|
|
73
|
-
__exportStar(require("./custom-add-customer-contact"), exports);
|
|
74
72
|
__exportStar(require("./custom-chart-of-account"), exports);
|
|
75
73
|
__exportStar(require("./custom-chart-of-accounts"), exports);
|
|
76
74
|
__exportStar(require("./custom-create-contact"), exports);
|
|
77
|
-
__exportStar(require("./custom-create-contact-with-customer"), exports);
|
|
78
75
|
__exportStar(require("./custom-create-customer"), exports);
|
|
79
76
|
__exportStar(require("./custom-create-user"), exports);
|
|
80
77
|
__exportStar(require("./custom-update-customer"), exports);
|
|
81
78
|
__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);
|
|
85
79
|
__exportStar(require("./customer-response"), exports);
|
|
86
80
|
__exportStar(require("./document-signed"), exports);
|
|
87
81
|
__exportStar(require("./document-urls-response"), exports);
|
|
@@ -104,11 +98,9 @@ __exportStar(require("./get-chart-of-accounts200-response"), exports);
|
|
|
104
98
|
__exportStar(require("./get-communications200-response"), exports);
|
|
105
99
|
__exportStar(require("./get-contact-response"), exports);
|
|
106
100
|
__exportStar(require("./get-contacts200-response"), exports);
|
|
107
|
-
__exportStar(require("./get-customer-response"), exports);
|
|
108
101
|
__exportStar(require("./get-customers200-response"), exports);
|
|
109
|
-
__exportStar(require("./get-customers-billing200-response"), exports);
|
|
110
102
|
__exportStar(require("./get-intent"), exports);
|
|
111
|
-
__exportStar(require("./get-
|
|
103
|
+
__exportStar(require("./get-invoice-billing200-response"), exports);
|
|
112
104
|
__exportStar(require("./get-notes200-response"), exports);
|
|
113
105
|
__exportStar(require("./get-notifications200-response"), exports);
|
|
114
106
|
__exportStar(require("./get-payment-runs200-response"), exports);
|
|
@@ -191,7 +183,6 @@ __exportStar(require("./update-asset"), exports);
|
|
|
191
183
|
__exportStar(require("./update-asset-category"), exports);
|
|
192
184
|
__exportStar(require("./update-asset-feature"), exports);
|
|
193
185
|
__exportStar(require("./update-checklist-task-template"), exports);
|
|
194
|
-
__exportStar(require("./update-customer"), exports);
|
|
195
186
|
__exportStar(require("./update-extensibility-repo"), exports);
|
|
196
187
|
__exportStar(require("./update-map-feature"), exports);
|
|
197
188
|
__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 {
|
|
159
|
+
* @type {string}
|
|
160
160
|
* @memberof PaymentResponse
|
|
161
161
|
*/
|
|
162
|
-
failedAttempts:
|
|
162
|
+
failedAttempts: string;
|
|
163
163
|
/**
|
|
164
164
|
* Reason for failed attempt
|
|
165
165
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -4,31 +4,32 @@ import {
|
|
|
4
4
|
ChargeResponse,
|
|
5
5
|
InvoiceResponse,
|
|
6
6
|
CreateBillingRun as CreateBillingRunPayload,
|
|
7
|
-
CreatePaymentRun as
|
|
7
|
+
CreatePaymentRun as CreatePaymentRunPayload,
|
|
8
8
|
CustomChartOfAccounts,
|
|
9
|
-
CustomerResponse,
|
|
10
9
|
SubscriptionResponse,
|
|
11
10
|
PlanResponse,
|
|
12
11
|
PaymentRunResponse,
|
|
13
|
-
CustomerId,
|
|
14
12
|
GetContactResponse,
|
|
15
|
-
GetCustomerResponse,
|
|
16
13
|
CreatePlan as _CreatePlan,
|
|
17
|
-
CustomUpdateCustomer,
|
|
18
14
|
ChartOfAccountResponse,
|
|
19
15
|
ChartOfAccountsResponse,
|
|
20
16
|
RevenueRuleResponse,
|
|
21
17
|
CreateSubscriptionBilling,
|
|
22
|
-
|
|
18
|
+
CreatePaymentBilling,
|
|
23
19
|
PaymentResponse,
|
|
24
20
|
StatementResponse,
|
|
25
21
|
CancelSubscriptionBilling,
|
|
26
22
|
ProductCustomResponse,
|
|
27
23
|
CreateProductCustom,
|
|
24
|
+
CustomCreateCustomer,
|
|
25
|
+
CustomerResponse,
|
|
26
|
+
ContactResponse,
|
|
28
27
|
} from '../../../generated';
|
|
28
|
+
import { CustomCreateContact } from '../../../generated/models/custom-create-contact';
|
|
29
|
+
import { CustomUpdateCustomer } from '../../../generated/models/custom-update-customer';
|
|
29
30
|
import { ExtPlugin } from '../../types';
|
|
30
31
|
// TODO: import this from common, import it all from common ideally
|
|
31
|
-
type BasePaginationQuery = { offset
|
|
32
|
+
type BasePaginationQuery = { offset?: number; limit?: number };
|
|
32
33
|
|
|
33
34
|
export namespace Billing {
|
|
34
35
|
export class CreateBillingRun implements ExtPlugin {
|
|
@@ -38,7 +39,7 @@ export namespace Billing {
|
|
|
38
39
|
|
|
39
40
|
export class CreatePaymentRun implements ExtPlugin {
|
|
40
41
|
responseType!: PaymentRunResponse;
|
|
41
|
-
payload!:
|
|
42
|
+
payload!: { createPaymentRunPayload: CreatePaymentRunPayload };
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
export class CreateChartOfAccounts implements ExtPlugin {
|
|
@@ -46,13 +47,9 @@ export namespace Billing {
|
|
|
46
47
|
payload!: { chartOfAccountPayload: CustomChartOfAccounts };
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
//TODO: Use SiteId instead of string?
|
|
50
50
|
export class CreateContact implements ExtPlugin {
|
|
51
|
-
responseType!:
|
|
52
|
-
payload!: {
|
|
53
|
-
siteId: string;
|
|
54
|
-
contactId: string;
|
|
55
|
-
};
|
|
51
|
+
responseType!: Pick<ContactResponse, 'id' | 'externalId'>;
|
|
52
|
+
payload!: CustomCreateContact & { externalId: string };
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
export class ContactCreated implements ExtPlugin {
|
|
@@ -61,17 +58,21 @@ export namespace Billing {
|
|
|
61
58
|
}
|
|
62
59
|
|
|
63
60
|
export class CreateCustomer implements ExtPlugin {
|
|
64
|
-
responseType!:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
responseType!: Pick<CustomerResponse, 'id' | 'externalId'> & {
|
|
62
|
+
contacts: Pick<ContactResponse, 'id' | 'externalId'>[];
|
|
63
|
+
};
|
|
64
|
+
payload!: Omit<CustomCreateCustomer, 'contacts'> & {
|
|
65
|
+
externalId: string;
|
|
66
|
+
contacts: (CustomCreateContact & {
|
|
67
|
+
externalId: string;
|
|
68
|
+
})[];
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
export class CustomerCreated implements ExtPlugin {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
72
|
+
// export class CustomerCreated implements ExtPlugin {
|
|
73
|
+
// responseType!: any;
|
|
74
|
+
// payload!: any;
|
|
75
|
+
// }
|
|
75
76
|
|
|
76
77
|
export class GetBillingRuns implements ExtPlugin {
|
|
77
78
|
responseType!: BillingRunResponse[];
|
|
@@ -94,14 +95,16 @@ export namespace Billing {
|
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
export class GetCustomers implements ExtPlugin {
|
|
97
|
-
responseType!: CustomerResponse
|
|
98
|
-
|
|
98
|
+
responseType!: (Pick<CustomerResponse, 'id' | 'externalId'> & {
|
|
99
|
+
contacts: Pick<ContactResponse, 'id' | 'externalId'>[];
|
|
100
|
+
})[];
|
|
101
|
+
payload!: BasePaginationQuery & { tenantId?: string; active?: boolean };
|
|
99
102
|
}
|
|
100
103
|
|
|
101
|
-
export class GetCustomer implements ExtPlugin {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
104
|
+
// export class GetCustomer implements ExtPlugin {
|
|
105
|
+
// responseType!: Omit<CustomCustomerResponse, 'org' | 'orgId'>;
|
|
106
|
+
// payload!: { customerId: string };
|
|
107
|
+
// }
|
|
105
108
|
|
|
106
109
|
export class GetInvoices implements ExtPlugin {
|
|
107
110
|
responseType!: InvoiceResponse[];
|
|
@@ -185,12 +188,8 @@ export namespace Billing {
|
|
|
185
188
|
}
|
|
186
189
|
|
|
187
190
|
export class UpdateCustomer implements ExtPlugin {
|
|
188
|
-
responseType!:
|
|
189
|
-
payload!: {
|
|
190
|
-
siteId: string;
|
|
191
|
-
customerId: string;
|
|
192
|
-
updateCustomerPayload: CustomUpdateCustomer;
|
|
193
|
-
};
|
|
191
|
+
responseType!: Pick<CustomerResponse, 'id' | 'externalId'>;
|
|
192
|
+
payload!: CustomUpdateCustomer & { externalId: string };
|
|
194
193
|
}
|
|
195
194
|
|
|
196
195
|
export class GetChartOfAccount implements ExtPlugin {
|
|
@@ -223,7 +222,7 @@ export namespace Billing {
|
|
|
223
222
|
|
|
224
223
|
export class CreatePayment implements ExtPlugin {
|
|
225
224
|
responseType!: PaymentResponse;
|
|
226
|
-
payload!:
|
|
225
|
+
payload!: { createPaymentPayload: CreatePaymentBilling };
|
|
227
226
|
}
|
|
228
227
|
|
|
229
228
|
export class GetStatements implements ExtPlugin {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
2
|
+
import { ExtPlugin } from '../../types';
|
|
3
|
+
|
|
4
|
+
export namespace Communication {
|
|
5
|
+
export class SendEmail implements ExtPlugin {
|
|
6
|
+
// responseType!: EmailResponse;
|
|
7
|
+
responseType!: any;
|
|
8
|
+
// payload!: SendEmailPayload & { userId: string };
|
|
9
|
+
payload!: any;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class SendSms implements ExtPlugin {
|
|
13
|
+
responseType!: any;
|
|
14
|
+
payload!: any;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
2
2
|
import {
|
|
3
3
|
CustomerResponse,
|
|
4
|
-
CustomAddCustomerContact,
|
|
5
4
|
WorkflowStepInstanceResponse,
|
|
6
5
|
WorkflowInstanceResponse,
|
|
7
6
|
} from '../../../generated';
|
|
@@ -58,11 +57,6 @@ export namespace ManageSpace {
|
|
|
58
57
|
payload!: CustomerResponse & { customerId: string };
|
|
59
58
|
}
|
|
60
59
|
|
|
61
|
-
export class CustomerContactCreated implements ExtPlugin {
|
|
62
|
-
responseType!: any;
|
|
63
|
-
payload!: CustomAddCustomerContact & { customerId: string };
|
|
64
|
-
}
|
|
65
|
-
|
|
66
60
|
export class ContactCreated implements ExtPlugin {
|
|
67
61
|
responseType!: any;
|
|
68
62
|
payload!: { contactId: string };
|
|
@@ -82,14 +76,4 @@ export namespace ManageSpace {
|
|
|
82
76
|
responseType!: any;
|
|
83
77
|
payload!: { branch: string; commit: string };
|
|
84
78
|
}
|
|
85
|
-
|
|
86
|
-
export class JasonTestEvent implements ExtPlugin {
|
|
87
|
-
responseType!: any;
|
|
88
|
-
payload!: any;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export class JacksonTestEvent implements ExtPlugin {
|
|
92
|
-
responseType!: any;
|
|
93
|
-
payload!: any;
|
|
94
|
-
}
|
|
95
79
|
}
|
|
@@ -31,7 +31,6 @@ models/create-billing-run.ts
|
|
|
31
31
|
models/create-calendar.ts
|
|
32
32
|
models/create-checklist.ts
|
|
33
33
|
models/create-communication.ts
|
|
34
|
-
models/create-contact.ts
|
|
35
34
|
models/create-document.ts
|
|
36
35
|
models/create-instances.ts
|
|
37
36
|
models/create-lease-status.ts
|
|
@@ -39,10 +38,10 @@ models/create-map-feature.ts
|
|
|
39
38
|
models/create-note.ts
|
|
40
39
|
models/create-notification.ts
|
|
41
40
|
models/create-org.ts
|
|
41
|
+
models/create-payment-billing.ts
|
|
42
42
|
models/create-payment-invoice.ts
|
|
43
43
|
models/create-payment-refund.ts
|
|
44
44
|
models/create-payment-run.ts
|
|
45
|
-
models/create-payment.ts
|
|
46
45
|
models/create-plan-charge.ts
|
|
47
46
|
models/create-plan.ts
|
|
48
47
|
models/create-product-custom.ts
|
|
@@ -55,18 +54,13 @@ models/create-subscription-plan.ts
|
|
|
55
54
|
models/create-task-template.ts
|
|
56
55
|
models/create-task.ts
|
|
57
56
|
models/create-template.ts
|
|
58
|
-
models/custom-add-customer-contact.ts
|
|
59
57
|
models/custom-chart-of-account.ts
|
|
60
58
|
models/custom-chart-of-accounts.ts
|
|
61
|
-
models/custom-create-contact-with-customer.ts
|
|
62
59
|
models/custom-create-contact.ts
|
|
63
60
|
models/custom-create-customer.ts
|
|
64
61
|
models/custom-create-user.ts
|
|
65
62
|
models/custom-update-customer.ts
|
|
66
63
|
models/custom-update-task-template.ts
|
|
67
|
-
models/customer-delivery-preferences.ts
|
|
68
|
-
models/customer-id.ts
|
|
69
|
-
models/customer-payment-options.ts
|
|
70
64
|
models/customer-response.ts
|
|
71
65
|
models/document-signed.ts
|
|
72
66
|
models/document-urls-response.ts
|
|
@@ -89,11 +83,9 @@ models/get-chart-of-accounts200-response.ts
|
|
|
89
83
|
models/get-communications200-response.ts
|
|
90
84
|
models/get-contact-response.ts
|
|
91
85
|
models/get-contacts200-response.ts
|
|
92
|
-
models/get-customer-response.ts
|
|
93
|
-
models/get-customers-billing200-response.ts
|
|
94
86
|
models/get-customers200-response.ts
|
|
95
87
|
models/get-intent.ts
|
|
96
|
-
models/get-
|
|
88
|
+
models/get-invoice-billing200-response.ts
|
|
97
89
|
models/get-notes200-response.ts
|
|
98
90
|
models/get-notifications200-response.ts
|
|
99
91
|
models/get-payment-runs200-response.ts
|
|
@@ -177,7 +169,6 @@ models/update-asset-category.ts
|
|
|
177
169
|
models/update-asset-feature.ts
|
|
178
170
|
models/update-asset.ts
|
|
179
171
|
models/update-checklist-task-template.ts
|
|
180
|
-
models/update-customer.ts
|
|
181
172
|
models/update-extensibility-repo.ts
|
|
182
173
|
models/update-map-feature.ts
|
|
183
174
|
models/update-note.ts
|