@managespace/sdk 0.0.203 → 0.0.204
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/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +20 -0
- package/src/generated/.openapi-generator/FILES +5 -0
- package/src/generated/apis/default-api.ts +368 -36
- package/src/generated/models/asset-details.ts +20 -4
- package/src/generated/models/asset.ts +59 -0
- package/src/generated/models/create-payment.ts +4 -6
- package/src/generated/models/create-product-tax-group.ts +98 -0
- package/src/generated/models/create-task-definition.ts +0 -8
- package/src/generated/models/get-checklists200-response.ts +89 -0
- package/src/generated/models/get-product-tax-groups200-response.ts +89 -0
- package/src/generated/models/get-task-instances200-response.ts +89 -0
- package/src/generated/models/index.ts +5 -0
- package/src/generated/models/payment.ts +4 -6
- package/src/generated/models/product-tax-group.ts +125 -0
- package/src/generated/models/task-definition.ts +0 -24
- package/src/generated/models/user.ts +38 -15
- package/src/generated/models/workflow-instance.ts +24 -0
package/package.json
CHANGED
|
@@ -32,6 +32,8 @@ import {
|
|
|
32
32
|
UpdatePlan as _UpdatePlan,
|
|
33
33
|
PaymentMethod,
|
|
34
34
|
CreatePaymentMethod as _CreatePaymentMethod,
|
|
35
|
+
ProductTaxGroup,
|
|
36
|
+
CreateProductTaxGroup as _CreateProductTaxGroup,
|
|
35
37
|
} from '../../../generated';
|
|
36
38
|
import { CustomCreateContact } from '../../../generated/models/custom-create-contact';
|
|
37
39
|
import { CustomUpdateCustomer } from '../../../generated/models/custom-update-customer';
|
|
@@ -208,6 +210,7 @@ export namespace Billing {
|
|
|
208
210
|
siteId: string;
|
|
209
211
|
status?: string;
|
|
210
212
|
assetId?: string;
|
|
213
|
+
customerId?: string;
|
|
211
214
|
};
|
|
212
215
|
}
|
|
213
216
|
|
|
@@ -353,4 +356,21 @@ export namespace Billing {
|
|
|
353
356
|
responseType!: PaymentMethod;
|
|
354
357
|
payload!: { customerId: string; paymentMethodId: string };
|
|
355
358
|
}
|
|
359
|
+
|
|
360
|
+
export class CreateProductTaxGroup implements ExtPlugin {
|
|
361
|
+
responseType!: ProductTaxGroup;
|
|
362
|
+
payload!: _CreateProductTaxGroup;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export class GetProductTaxGroup implements ExtPlugin {
|
|
366
|
+
responseType!: ProductTaxGroup;
|
|
367
|
+
payload!: {
|
|
368
|
+
productTaxGroupId: string;
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export class GetProductTaxGroups implements ExtPlugin {
|
|
373
|
+
responseType!: ProductTaxGroup[];
|
|
374
|
+
payload!: BasePaginationQuery & { status?: string };
|
|
375
|
+
}
|
|
356
376
|
}
|
|
@@ -49,6 +49,7 @@ models/create-payment-run.ts
|
|
|
49
49
|
models/create-payment.ts
|
|
50
50
|
models/create-plan-charge.ts
|
|
51
51
|
models/create-product-custom.ts
|
|
52
|
+
models/create-product-tax-group.ts
|
|
52
53
|
models/create-revenue-rule.ts
|
|
53
54
|
models/create-site-custom.ts
|
|
54
55
|
models/create-smart-bar-prompt.ts
|
|
@@ -89,6 +90,7 @@ models/get-calendar-events-query.ts
|
|
|
89
90
|
models/get-calendars200-response.ts
|
|
90
91
|
models/get-charges200-response.ts
|
|
91
92
|
models/get-chart-of-accounts200-response.ts
|
|
93
|
+
models/get-checklists200-response.ts
|
|
92
94
|
models/get-communications200-response.ts
|
|
93
95
|
models/get-configuration-settings200-response.ts
|
|
94
96
|
models/get-contacts200-response.ts
|
|
@@ -104,12 +106,14 @@ models/get-payment-runs200-response.ts
|
|
|
104
106
|
models/get-payments200-response.ts
|
|
105
107
|
models/get-plans200-response.ts
|
|
106
108
|
models/get-plugins200-response.ts
|
|
109
|
+
models/get-product-tax-groups200-response.ts
|
|
107
110
|
models/get-products200-response.ts
|
|
108
111
|
models/get-revenue-rules200-response.ts
|
|
109
112
|
models/get-sites200-response.ts
|
|
110
113
|
models/get-statements200-response.ts
|
|
111
114
|
models/get-subscriptions200-response.ts
|
|
112
115
|
models/get-task-definitions200-response.ts
|
|
116
|
+
models/get-task-instances200-response.ts
|
|
113
117
|
models/get-templates200-response.ts
|
|
114
118
|
models/get-users200-response.ts
|
|
115
119
|
models/get-workflow-definitions200-response.ts
|
|
@@ -146,6 +150,7 @@ models/plugin-extensibility-status.ts
|
|
|
146
150
|
models/plugin-version.ts
|
|
147
151
|
models/plugin.ts
|
|
148
152
|
models/product-custom.ts
|
|
153
|
+
models/product-tax-group.ts
|
|
149
154
|
models/project-version.ts
|
|
150
155
|
models/project-version1.ts
|
|
151
156
|
models/project.ts
|