@managespace/sdk 0.1.77 → 0.1.78
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 +2 -4
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +2 -4
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +2 -8
- package/dist/generated/models/checklist-recurrence-frequency.d.ts +7 -7
- package/dist/generated/models/checklist-recurrence-frequency.d.ts.map +1 -1
- package/dist/generated/models/checklist-recurrence-frequency.js +11 -9
- package/dist/generated/models/communication-type.d.ts +6 -6
- package/dist/generated/models/communication-type.d.ts.map +1 -1
- package/dist/generated/models/communication-type.js +10 -8
- package/dist/generated/models/configuration-setting-type.d.ts +7 -7
- package/dist/generated/models/configuration-setting-type.d.ts.map +1 -1
- package/dist/generated/models/configuration-setting-type.js +11 -9
- package/dist/generated/models/create-product-custom.d.ts +4 -15
- package/dist/generated/models/create-product-custom.d.ts.map +1 -1
- package/dist/generated/models/create-product-custom.js +4 -7
- package/dist/generated/models/extensibility-status.d.ts +6 -6
- package/dist/generated/models/extensibility-status.d.ts.map +1 -1
- package/dist/generated/models/extensibility-status.js +10 -8
- package/dist/generated/models/field-type.d.ts +8 -8
- package/dist/generated/models/field-type.d.ts.map +1 -1
- package/dist/generated/models/field-type.js +12 -10
- package/dist/generated/models/filter-operator.d.ts +15 -15
- package/dist/generated/models/filter-operator.d.ts.map +1 -1
- package/dist/generated/models/filter-operator.js +19 -17
- package/dist/generated/models/index.d.ts +1 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -0
- package/dist/generated/models/lease-status.d.ts +12 -12
- package/dist/generated/models/lease-status.d.ts.map +1 -1
- package/dist/generated/models/lease-status.js +16 -14
- package/dist/generated/models/order-operator.d.ts +5 -5
- package/dist/generated/models/order-operator.d.ts.map +1 -1
- package/dist/generated/models/order-operator.js +9 -7
- package/dist/generated/models/plugin-extensibility-status.d.ts +6 -6
- package/dist/generated/models/plugin-extensibility-status.d.ts.map +1 -1
- package/dist/generated/models/plugin-extensibility-status.js +10 -8
- package/dist/generated/models/plugin-filter-operator.d.ts +6 -6
- package/dist/generated/models/plugin-filter-operator.d.ts.map +1 -1
- package/dist/generated/models/plugin-filter-operator.js +10 -8
- package/dist/generated/models/product-custom.d.ts +4 -15
- package/dist/generated/models/product-custom.d.ts.map +1 -1
- package/dist/generated/models/product-custom.js +4 -7
- package/dist/generated/models/product-type.d.ts +30 -0
- package/dist/generated/models/product-type.d.ts.map +1 -0
- package/dist/generated/models/product-type.js +57 -0
- package/dist/generated/models/rate-change-status.d.ts +8 -8
- package/dist/generated/models/rate-change-status.d.ts.map +1 -1
- package/dist/generated/models/rate-change-status.js +12 -10
- package/dist/generated/models/roles.d.ts +11 -11
- package/dist/generated/models/roles.d.ts.map +1 -1
- package/dist/generated/models/roles.js +15 -13
- package/dist/generated/models/roles1.d.ts +11 -11
- package/dist/generated/models/roles1.d.ts.map +1 -1
- package/dist/generated/models/roles1.js +15 -13
- package/dist/generated/models/roles2.d.ts +11 -11
- package/dist/generated/models/roles2.d.ts.map +1 -1
- package/dist/generated/models/roles2.js +15 -13
- package/dist/generated/models/roles3.d.ts +11 -11
- package/dist/generated/models/roles3.d.ts.map +1 -1
- package/dist/generated/models/roles3.js +15 -13
- package/dist/generated/models/roles4.d.ts +11 -11
- package/dist/generated/models/roles4.d.ts.map +1 -1
- package/dist/generated/models/roles4.js +15 -13
- package/dist/generated/models/task-completion-status.d.ts +7 -7
- package/dist/generated/models/task-completion-status.d.ts.map +1 -1
- package/dist/generated/models/task-completion-status.js +11 -9
- package/dist/generated/models/update-product.d.ts +4 -15
- package/dist/generated/models/update-product.d.ts.map +1 -1
- package/dist/generated/models/update-product.js +4 -7
- package/dist/generated/models/workflow-status.d.ts +9 -9
- package/dist/generated/models/workflow-status.d.ts.map +1 -1
- package/dist/generated/models/workflow-status.js +13 -11
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +2 -3
- package/src/generated/.openapi-generator/FILES +1 -0
- package/src/generated/apis/default-api.ts +6 -13
- package/src/generated/models/checklist-recurrence-frequency.ts +7 -8
- package/src/generated/models/communication-type.ts +6 -7
- package/src/generated/models/configuration-setting-type.ts +7 -8
- package/src/generated/models/create-product-custom.ts +15 -22
- package/src/generated/models/extensibility-status.ts +6 -7
- package/src/generated/models/field-type.ts +8 -9
- package/src/generated/models/filter-operator.ts +15 -16
- package/src/generated/models/index.ts +1 -0
- package/src/generated/models/lease-status.ts +12 -13
- package/src/generated/models/order-operator.ts +5 -6
- package/src/generated/models/plugin-extensibility-status.ts +6 -7
- package/src/generated/models/plugin-filter-operator.ts +6 -7
- package/src/generated/models/product-custom.ts +15 -22
- package/src/generated/models/product-type.ts +56 -0
- package/src/generated/models/rate-change-status.ts +8 -9
- package/src/generated/models/roles.ts +11 -12
- package/src/generated/models/roles1.ts +11 -12
- package/src/generated/models/roles2.ts +11 -12
- package/src/generated/models/roles3.ts +11 -12
- package/src/generated/models/roles4.ts +11 -12
- package/src/generated/models/task-completion-status.ts +7 -8
- package/src/generated/models/update-product.ts +15 -22
- package/src/generated/models/workflow-status.ts +9 -10
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* status of task
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
export type TaskCompletionStatus = typeof TaskCompletionStatus[keyof typeof TaskCompletionStatus];
|
|
17
|
+
export declare enum TaskCompletionStatus {
|
|
18
|
+
NOT_STARTED = "NOT_STARTED",
|
|
19
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
20
|
+
COMPLETE = "COMPLETE",
|
|
21
|
+
OVERDUE = "OVERDUE"
|
|
22
|
+
}
|
|
23
23
|
export declare function instanceOfTaskCompletionStatus(value: any): boolean;
|
|
24
24
|
export declare function TaskCompletionStatusFromJSON(json: any): TaskCompletionStatus;
|
|
25
25
|
export declare function TaskCompletionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskCompletionStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-completion-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/task-completion-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"task-completion-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/task-completion-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,oBAAY,oBAAoB;IAC5B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,OAAO,YAAY;CACtB;AAGD,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASlE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAEnF;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE9G"}
|
|
@@ -17,17 +17,19 @@ exports.TaskCompletionStatusToJSONTyped = exports.TaskCompletionStatusToJSON = e
|
|
|
17
17
|
/**
|
|
18
18
|
* status of task
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
var TaskCompletionStatus;
|
|
23
|
+
(function (TaskCompletionStatus) {
|
|
24
|
+
TaskCompletionStatus["NOT_STARTED"] = "NOT_STARTED";
|
|
25
|
+
TaskCompletionStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
26
|
+
TaskCompletionStatus["COMPLETE"] = "COMPLETE";
|
|
27
|
+
TaskCompletionStatus["OVERDUE"] = "OVERDUE";
|
|
28
|
+
})(TaskCompletionStatus || (exports.TaskCompletionStatus = TaskCompletionStatus = {}));
|
|
27
29
|
function instanceOfTaskCompletionStatus(value) {
|
|
28
|
-
for (const key in
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
30
|
-
if (
|
|
30
|
+
for (const key in TaskCompletionStatus) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(TaskCompletionStatus, key)) {
|
|
32
|
+
if (TaskCompletionStatus[key] === value) {
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TransactionPostingEntries } from './transaction-posting-entries';
|
|
13
|
+
import type { ProductType } from './product-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -41,23 +42,11 @@ export interface UpdateProduct {
|
|
|
41
42
|
*/
|
|
42
43
|
taxable?: boolean;
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {
|
|
46
|
-
* @memberof UpdateProduct
|
|
47
|
-
*/
|
|
48
|
-
isMerchandise?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Indicates whether it is the default product or not
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof UpdateProduct
|
|
53
|
-
*/
|
|
54
|
-
isDefault?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Indicates whether it is related to rent or not
|
|
57
|
-
* @type {boolean}
|
|
45
|
+
*
|
|
46
|
+
* @type {ProductType}
|
|
58
47
|
* @memberof UpdateProduct
|
|
59
48
|
*/
|
|
60
|
-
|
|
49
|
+
productType: ProductType;
|
|
61
50
|
/**
|
|
62
51
|
* Description of product
|
|
63
52
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-product.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-product.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"update-product.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-product.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAQ7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAoBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqBhH"}
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UpdateProductToJSONTyped = exports.UpdateProductToJSON = exports.UpdateProductFromJSONTyped = exports.UpdateProductFromJSON = exports.instanceOfUpdateProduct = void 0;
|
|
17
17
|
const transaction_posting_entries_1 = require("./transaction-posting-entries");
|
|
18
|
+
const product_type_1 = require("./product-type");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the UpdateProduct interface.
|
|
20
21
|
*/
|
|
21
22
|
function instanceOfUpdateProduct(value) {
|
|
22
23
|
if (!('name' in value) || value['name'] === undefined)
|
|
23
24
|
return false;
|
|
24
|
-
if (!('
|
|
25
|
+
if (!('productType' in value) || value['productType'] === undefined)
|
|
25
26
|
return false;
|
|
26
27
|
if (!('price' in value) || value['price'] === undefined)
|
|
27
28
|
return false;
|
|
@@ -47,9 +48,7 @@ function UpdateProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
48
|
'sku': json['sku'] == null ? undefined : json['sku'],
|
|
48
49
|
'status': json['status'] == null ? undefined : json['status'],
|
|
49
50
|
'taxable': json['taxable'] == null ? undefined : json['taxable'],
|
|
50
|
-
'
|
|
51
|
-
'isDefault': json['isDefault'] == null ? undefined : json['isDefault'],
|
|
52
|
-
'rentRelated': json['rentRelated'],
|
|
51
|
+
'productType': (0, product_type_1.ProductTypeFromJSON)(json['productType']),
|
|
53
52
|
'description': json['description'] == null ? undefined : json['description'],
|
|
54
53
|
'price': json['price'],
|
|
55
54
|
'revenueRuleId': json['revenueRuleId'],
|
|
@@ -74,9 +73,7 @@ function UpdateProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
73
|
'sku': value['sku'],
|
|
75
74
|
'status': value['status'],
|
|
76
75
|
'taxable': value['taxable'],
|
|
77
|
-
'
|
|
78
|
-
'isDefault': value['isDefault'],
|
|
79
|
-
'rentRelated': value['rentRelated'],
|
|
76
|
+
'productType': (0, product_type_1.ProductTypeToJSON)(value['productType']),
|
|
80
77
|
'description': value['description'],
|
|
81
78
|
'price': value['price'],
|
|
82
79
|
'revenueRuleId': value['revenueRuleId'],
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* The status of the workflow
|
|
14
14
|
* @export
|
|
15
|
+
* @enum {string}
|
|
15
16
|
*/
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
export type WorkflowStatus = typeof WorkflowStatus[keyof typeof WorkflowStatus];
|
|
17
|
+
export declare enum WorkflowStatus {
|
|
18
|
+
NOT_READY = "NOT_READY",
|
|
19
|
+
READY = "READY",
|
|
20
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
21
|
+
SUCCESS = "SUCCESS",
|
|
22
|
+
FAILED = "FAILED",
|
|
23
|
+
WAIT_FOR_MANUAL_INPUT = "WAIT_FOR_MANUAL_INPUT"
|
|
24
|
+
}
|
|
25
25
|
export declare function instanceOfWorkflowStatus(value: any): boolean;
|
|
26
26
|
export declare function WorkflowStatusFromJSON(json: any): WorkflowStatus;
|
|
27
27
|
export declare function WorkflowStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/workflow-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"workflow-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/workflow-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,oBAAY,cAAc;IACtB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,qBAAqB,0BAA0B;CAClD;AAGD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS5D;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAEnG;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,GAAG,CAEvE;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAElG"}
|
|
@@ -17,19 +17,21 @@ exports.WorkflowStatusToJSONTyped = exports.WorkflowStatusToJSON = exports.Workf
|
|
|
17
17
|
/**
|
|
18
18
|
* The status of the workflow
|
|
19
19
|
* @export
|
|
20
|
+
* @enum {string}
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
var WorkflowStatus;
|
|
23
|
+
(function (WorkflowStatus) {
|
|
24
|
+
WorkflowStatus["NOT_READY"] = "NOT_READY";
|
|
25
|
+
WorkflowStatus["READY"] = "READY";
|
|
26
|
+
WorkflowStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
27
|
+
WorkflowStatus["SUCCESS"] = "SUCCESS";
|
|
28
|
+
WorkflowStatus["FAILED"] = "FAILED";
|
|
29
|
+
WorkflowStatus["WAIT_FOR_MANUAL_INPUT"] = "WAIT_FOR_MANUAL_INPUT";
|
|
30
|
+
})(WorkflowStatus || (exports.WorkflowStatus = WorkflowStatus = {}));
|
|
29
31
|
function instanceOfWorkflowStatus(value) {
|
|
30
|
-
for (const key in
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
32
|
-
if (
|
|
32
|
+
for (const key in WorkflowStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(WorkflowStatus, key)) {
|
|
34
|
+
if (WorkflowStatus[key] === value) {
|
|
33
35
|
return true;
|
|
34
36
|
}
|
|
35
37
|
}
|
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
Refund,
|
|
41
41
|
UpdatePayment as _UpdatePayment,
|
|
42
42
|
UpdateOrder as _UpdateOrder,
|
|
43
|
+
ProductType,
|
|
43
44
|
} from '../../../generated';
|
|
44
45
|
import { CustomCreateContact } from '../../../generated/models/custom-create-contact';
|
|
45
46
|
import { CustomUpdateCustomer } from '../../../generated/models/custom-update-customer';
|
|
@@ -206,9 +207,7 @@ export namespace Billing {
|
|
|
206
207
|
payload!: BasePaginationQuery & {
|
|
207
208
|
active?: boolean;
|
|
208
209
|
name?: string;
|
|
209
|
-
|
|
210
|
-
rentRelated?: boolean;
|
|
211
|
-
isMerchandise?: boolean;
|
|
210
|
+
productType?: ProductType;
|
|
212
211
|
siteId: string;
|
|
213
212
|
};
|
|
214
213
|
}
|
|
@@ -149,6 +149,7 @@ import type {
|
|
|
149
149
|
PricingRule,
|
|
150
150
|
ProductCustom,
|
|
151
151
|
ProductTaxGroup,
|
|
152
|
+
ProductType,
|
|
152
153
|
Project,
|
|
153
154
|
RateChange,
|
|
154
155
|
Refund,
|
|
@@ -469,6 +470,8 @@ import {
|
|
|
469
470
|
ProductCustomToJSON,
|
|
470
471
|
ProductTaxGroupFromJSON,
|
|
471
472
|
ProductTaxGroupToJSON,
|
|
473
|
+
ProductTypeFromJSON,
|
|
474
|
+
ProductTypeToJSON,
|
|
472
475
|
ProjectFromJSON,
|
|
473
476
|
ProjectToJSON,
|
|
474
477
|
RateChangeFromJSON,
|
|
@@ -1132,9 +1135,7 @@ export interface GetProductsRequest {
|
|
|
1132
1135
|
limit?: number;
|
|
1133
1136
|
active?: string;
|
|
1134
1137
|
name?: string;
|
|
1135
|
-
|
|
1136
|
-
rentRelated?: string;
|
|
1137
|
-
isMerchandise?: string;
|
|
1138
|
+
productType?: ProductType;
|
|
1138
1139
|
}
|
|
1139
1140
|
|
|
1140
1141
|
export interface GetRateChangeRequest {
|
|
@@ -6574,16 +6575,8 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6574
6575
|
queryParameters['name'] = requestParameters['name'];
|
|
6575
6576
|
}
|
|
6576
6577
|
|
|
6577
|
-
if (requestParameters['
|
|
6578
|
-
queryParameters['
|
|
6579
|
-
}
|
|
6580
|
-
|
|
6581
|
-
if (requestParameters['rentRelated'] != null) {
|
|
6582
|
-
queryParameters['rentRelated'] = requestParameters['rentRelated'];
|
|
6583
|
-
}
|
|
6584
|
-
|
|
6585
|
-
if (requestParameters['isMerchandise'] != null) {
|
|
6586
|
-
queryParameters['isMerchandise'] = requestParameters['isMerchandise'];
|
|
6578
|
+
if (requestParameters['productType'] != null) {
|
|
6579
|
+
queryParameters['productType'] = requestParameters['productType'];
|
|
6587
6580
|
}
|
|
6588
6581
|
|
|
6589
6582
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -12,18 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* Frequency of checklist recurring
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
export type ChecklistRecurrenceFrequency = typeof ChecklistRecurrenceFrequency[keyof typeof ChecklistRecurrenceFrequency];
|
|
20
|
+
export enum ChecklistRecurrenceFrequency {
|
|
21
|
+
DAILY = 'DAILY',
|
|
22
|
+
WEEKLY = 'WEEKLY',
|
|
23
|
+
MONTHLY = 'MONTHLY',
|
|
24
|
+
YEARLY = 'YEARLY'
|
|
25
|
+
}
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
export function instanceOfChecklistRecurrenceFrequency(value: any): boolean {
|
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The form of communication
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
export type CommunicationType = typeof CommunicationType[keyof typeof CommunicationType];
|
|
20
|
+
export enum CommunicationType {
|
|
21
|
+
SMS = 'SMS',
|
|
22
|
+
EMAIL = 'EMAIL',
|
|
23
|
+
PHONE = 'PHONE'
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export function instanceOfCommunicationType(value: any): boolean {
|
|
@@ -12,18 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* Number for Configuration
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
export type ConfigurationSettingType = typeof ConfigurationSettingType[keyof typeof ConfigurationSettingType];
|
|
20
|
+
export enum ConfigurationSettingType {
|
|
21
|
+
BOOLEAN = 'BOOLEAN',
|
|
22
|
+
STRING = 'STRING',
|
|
23
|
+
NUMBER = 'NUMBER',
|
|
24
|
+
JSON = 'JSON'
|
|
25
|
+
}
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
export function instanceOfConfigurationSettingType(value: any): boolean {
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
TransactionPostingEntriesToJSON,
|
|
21
21
|
TransactionPostingEntriesToJSONTyped,
|
|
22
22
|
} from './transaction-posting-entries';
|
|
23
|
+
import type { ProductType } from './product-type';
|
|
24
|
+
import {
|
|
25
|
+
ProductTypeFromJSON,
|
|
26
|
+
ProductTypeFromJSONTyped,
|
|
27
|
+
ProductTypeToJSON,
|
|
28
|
+
ProductTypeToJSONTyped,
|
|
29
|
+
} from './product-type';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -52,23 +59,11 @@ export interface CreateProductCustom {
|
|
|
52
59
|
*/
|
|
53
60
|
taxable?: boolean;
|
|
54
61
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {
|
|
57
|
-
* @memberof CreateProductCustom
|
|
58
|
-
*/
|
|
59
|
-
isMerchandise?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Indicates whether it is the default product or not
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @memberof CreateProductCustom
|
|
64
|
-
*/
|
|
65
|
-
isDefault?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Indicates whether it is related to rent or not
|
|
68
|
-
* @type {boolean}
|
|
62
|
+
*
|
|
63
|
+
* @type {ProductType}
|
|
69
64
|
* @memberof CreateProductCustom
|
|
70
65
|
*/
|
|
71
|
-
|
|
66
|
+
productType: ProductType;
|
|
72
67
|
/**
|
|
73
68
|
* Description of product
|
|
74
69
|
* @type {string}
|
|
@@ -119,12 +114,14 @@ export interface CreateProductCustom {
|
|
|
119
114
|
productTaxGroupName?: string;
|
|
120
115
|
}
|
|
121
116
|
|
|
117
|
+
|
|
118
|
+
|
|
122
119
|
/**
|
|
123
120
|
* Check if a given object implements the CreateProductCustom interface.
|
|
124
121
|
*/
|
|
125
122
|
export function instanceOfCreateProductCustom(value: object): value is CreateProductCustom {
|
|
126
123
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
127
|
-
if (!('
|
|
124
|
+
if (!('productType' in value) || value['productType'] === undefined) return false;
|
|
128
125
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
129
126
|
if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined) return false;
|
|
130
127
|
if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined) return false;
|
|
@@ -146,9 +143,7 @@ export function CreateProductCustomFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
146
143
|
'sku': json['sku'] == null ? undefined : json['sku'],
|
|
147
144
|
'status': json['status'] == null ? undefined : json['status'],
|
|
148
145
|
'taxable': json['taxable'] == null ? undefined : json['taxable'],
|
|
149
|
-
'
|
|
150
|
-
'isDefault': json['isDefault'] == null ? undefined : json['isDefault'],
|
|
151
|
-
'rentRelated': json['rentRelated'],
|
|
146
|
+
'productType': ProductTypeFromJSON(json['productType']),
|
|
152
147
|
'description': json['description'] == null ? undefined : json['description'],
|
|
153
148
|
'price': json['price'],
|
|
154
149
|
'revenueRuleId': json['revenueRuleId'],
|
|
@@ -175,9 +170,7 @@ export function CreateProductCustomToJSONTyped(value?: CreateProductCustom | nul
|
|
|
175
170
|
'sku': value['sku'],
|
|
176
171
|
'status': value['status'],
|
|
177
172
|
'taxable': value['taxable'],
|
|
178
|
-
'
|
|
179
|
-
'isDefault': value['isDefault'],
|
|
180
|
-
'rentRelated': value['rentRelated'],
|
|
173
|
+
'productType': ProductTypeToJSON(value['productType']),
|
|
181
174
|
'description': value['description'],
|
|
182
175
|
'price': value['price'],
|
|
183
176
|
'revenueRuleId': value['revenueRuleId'],
|
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The status of the workflow
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
export type ExtensibilityStatus = typeof ExtensibilityStatus[keyof typeof ExtensibilityStatus];
|
|
20
|
+
export enum ExtensibilityStatus {
|
|
21
|
+
IN_PROGRESS = 'IN_PROGRESS',
|
|
22
|
+
SUCCESS = 'SUCCESS',
|
|
23
|
+
FAILED = 'FAILED'
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export function instanceOfExtensibilityStatus(value: any): boolean {
|
|
@@ -12,19 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The type of the field
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
export type FieldType = typeof FieldType[keyof typeof FieldType];
|
|
20
|
+
export enum FieldType {
|
|
21
|
+
text = 'text',
|
|
22
|
+
signature = 'signature',
|
|
23
|
+
initials = 'initials',
|
|
24
|
+
date = 'date',
|
|
25
|
+
phone = 'phone'
|
|
26
|
+
}
|
|
28
27
|
|
|
29
28
|
|
|
30
29
|
export function instanceOfFieldType(value: any): boolean {
|
|
@@ -12,26 +12,25 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The operator to use when filtering
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
export type FilterOperator = typeof FilterOperator[keyof typeof FilterOperator];
|
|
20
|
+
export enum FilterOperator {
|
|
21
|
+
contains = 'contains',
|
|
22
|
+
endsWith = 'endsWith',
|
|
23
|
+
equals = 'equals',
|
|
24
|
+
gt = 'gt',
|
|
25
|
+
gte = 'gte',
|
|
26
|
+
in = 'in',
|
|
27
|
+
lt = 'lt',
|
|
28
|
+
lte = 'lte',
|
|
29
|
+
not = 'not',
|
|
30
|
+
notIn = 'notIn',
|
|
31
|
+
search = 'search',
|
|
32
|
+
startsWith = 'startsWith'
|
|
33
|
+
}
|
|
35
34
|
|
|
36
35
|
|
|
37
36
|
export function instanceOfFilterOperator(value: any): boolean {
|
|
@@ -181,6 +181,7 @@ export * from './pricing-rule-criteria';
|
|
|
181
181
|
export * from './pricing-rule-legend';
|
|
182
182
|
export * from './product-custom';
|
|
183
183
|
export * from './product-tax-group';
|
|
184
|
+
export * from './product-type';
|
|
184
185
|
export * from './project';
|
|
185
186
|
export * from './project1';
|
|
186
187
|
export * from './project2';
|
|
@@ -12,23 +12,22 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The status of the asset
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
export type LeaseStatus = typeof LeaseStatus[keyof typeof LeaseStatus];
|
|
20
|
+
export enum LeaseStatus {
|
|
21
|
+
AVAILABLE = 'AVAILABLE',
|
|
22
|
+
RESERVED = 'RESERVED',
|
|
23
|
+
OCCUPIED = 'OCCUPIED',
|
|
24
|
+
UNDER_MAINTENANCE = 'UNDER_MAINTENANCE',
|
|
25
|
+
DELINQUENT = 'DELINQUENT',
|
|
26
|
+
AUCTION = 'AUCTION',
|
|
27
|
+
LIEN = 'LIEN',
|
|
28
|
+
FUTURE_BOOKED = 'FUTURE_BOOKED',
|
|
29
|
+
MOVE_OUT_INTENDED = 'MOVE_OUT_INTENDED'
|
|
30
|
+
}
|
|
32
31
|
|
|
33
32
|
|
|
34
33
|
export function instanceOfLeaseStatus(value: any): boolean {
|
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The order to sort by
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
export type OrderOperator = typeof OrderOperator[keyof typeof OrderOperator];
|
|
20
|
+
export enum OrderOperator {
|
|
21
|
+
asc = 'asc',
|
|
22
|
+
desc = 'desc'
|
|
23
|
+
}
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
export function instanceOfOrderOperator(value: any): boolean {
|
|
@@ -12,17 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
/**
|
|
17
16
|
* The status of the workflow
|
|
18
17
|
* @export
|
|
18
|
+
* @enum {string}
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
export type PluginExtensibilityStatus = typeof PluginExtensibilityStatus[keyof typeof PluginExtensibilityStatus];
|
|
20
|
+
export enum PluginExtensibilityStatus {
|
|
21
|
+
IN_PROGRESS = 'IN_PROGRESS',
|
|
22
|
+
SUCCESS = 'SUCCESS',
|
|
23
|
+
FAILED = 'FAILED'
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
export function instanceOfPluginExtensibilityStatus(value: any): boolean {
|