yellowgrid-api-ts 3.2.223-dev.0 → 3.2.224-dev.0
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/api.ts +8 -1
- package/dist/api.d.ts +8 -1
- package/dist/api.js +3 -0
- package/dist/models/ReasonEnum.d.ts +3 -3
- package/dist/models/ReasonEnum.js +3 -3
- package/dist/models/ReportEnum.d.ts +15 -0
- package/dist/models/ReportEnum.js +15 -0
- package/docs/AdminRmaDTO.md +3 -1
- package/models/ReasonEnum.ts +3 -3
- package/models/ReportEnum.ts +15 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -774,7 +774,11 @@ export interface AdminRmaDTO {
|
|
|
774
774
|
/**
|
|
775
775
|
* Customer ID
|
|
776
776
|
*/
|
|
777
|
-
'customerId'?:
|
|
777
|
+
'customerId'?: number;
|
|
778
|
+
/**
|
|
779
|
+
* Customer Xero ID
|
|
780
|
+
*/
|
|
781
|
+
'xeroId'?: string;
|
|
778
782
|
/**
|
|
779
783
|
* Customer Name
|
|
780
784
|
*/
|
|
@@ -6455,6 +6459,9 @@ export const ReportRequestDTOReportEnum = {
|
|
|
6455
6459
|
_8: '8',
|
|
6456
6460
|
_9: '9',
|
|
6457
6461
|
_10: '10',
|
|
6462
|
+
_11: '11',
|
|
6463
|
+
_12: '12',
|
|
6464
|
+
_13: '13',
|
|
6458
6465
|
} as const;
|
|
6459
6466
|
|
|
6460
6467
|
export type ReportRequestDTOReportEnum = typeof ReportRequestDTOReportEnum[keyof typeof ReportRequestDTOReportEnum];
|
package/dist/api.d.ts
CHANGED
|
@@ -759,7 +759,11 @@ export interface AdminRmaDTO {
|
|
|
759
759
|
/**
|
|
760
760
|
* Customer ID
|
|
761
761
|
*/
|
|
762
|
-
'customerId'?:
|
|
762
|
+
'customerId'?: number;
|
|
763
|
+
/**
|
|
764
|
+
* Customer Xero ID
|
|
765
|
+
*/
|
|
766
|
+
'xeroId'?: string;
|
|
763
767
|
/**
|
|
764
768
|
* Customer Name
|
|
765
769
|
*/
|
|
@@ -6358,6 +6362,9 @@ export declare const ReportRequestDTOReportEnum: {
|
|
|
6358
6362
|
readonly _8: "8";
|
|
6359
6363
|
readonly _9: "9";
|
|
6360
6364
|
readonly _10: "10";
|
|
6365
|
+
readonly _11: "11";
|
|
6366
|
+
readonly _12: "12";
|
|
6367
|
+
readonly _13: "13";
|
|
6361
6368
|
};
|
|
6362
6369
|
export type ReportRequestDTOReportEnum = typeof ReportRequestDTOReportEnum[keyof typeof ReportRequestDTOReportEnum];
|
|
6363
6370
|
export declare const ReportRequestDTOGraphTypeEnum: {
|
package/dist/api.js
CHANGED
|
@@ -2,7 +2,7 @@ export declare const ReasonEnum: {
|
|
|
2
2
|
readonly DOA: {
|
|
3
3
|
readonly name: "DOA";
|
|
4
4
|
readonly value: 1;
|
|
5
|
-
readonly publicValue: "
|
|
5
|
+
readonly publicValue: "Dead On Arrival";
|
|
6
6
|
};
|
|
7
7
|
readonly FAULTY: {
|
|
8
8
|
readonly name: "FAULTY";
|
|
@@ -12,12 +12,12 @@ export declare const ReasonEnum: {
|
|
|
12
12
|
readonly WORKING_GOOD_CONDITION: {
|
|
13
13
|
readonly name: "WORKING_GOOD_CONDITION";
|
|
14
14
|
readonly value: 3;
|
|
15
|
-
readonly publicValue: "Working Good Condition";
|
|
15
|
+
readonly publicValue: "Working (Good Condition)";
|
|
16
16
|
};
|
|
17
17
|
readonly WORKING_BAD_CONDITION: {
|
|
18
18
|
readonly name: "WORKING_BAD_CONDITION";
|
|
19
19
|
readonly value: 4;
|
|
20
|
-
readonly publicValue: "Working Bad Condition";
|
|
20
|
+
readonly publicValue: "Working (Bad Condition)";
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
export type ReasonEnum = typeof ReasonEnum;
|
|
@@ -5,7 +5,7 @@ exports.ReasonEnum = {
|
|
|
5
5
|
"DOA": {
|
|
6
6
|
"name": "DOA",
|
|
7
7
|
"value": 1,
|
|
8
|
-
"publicValue": "
|
|
8
|
+
"publicValue": "Dead On Arrival"
|
|
9
9
|
},
|
|
10
10
|
"FAULTY": {
|
|
11
11
|
"name": "FAULTY",
|
|
@@ -15,11 +15,11 @@ exports.ReasonEnum = {
|
|
|
15
15
|
"WORKING_GOOD_CONDITION": {
|
|
16
16
|
"name": "WORKING_GOOD_CONDITION",
|
|
17
17
|
"value": 3,
|
|
18
|
-
"publicValue": "Working Good Condition"
|
|
18
|
+
"publicValue": "Working (Good Condition)"
|
|
19
19
|
},
|
|
20
20
|
"WORKING_BAD_CONDITION": {
|
|
21
21
|
"name": "WORKING_BAD_CONDITION",
|
|
22
22
|
"value": 4,
|
|
23
|
-
"publicValue": "Working Bad Condition"
|
|
23
|
+
"publicValue": "Working (Bad Condition)"
|
|
24
24
|
}
|
|
25
25
|
};
|
|
@@ -49,5 +49,20 @@ export declare const ReportEnum: {
|
|
|
49
49
|
readonly value: 10;
|
|
50
50
|
readonly publicValue: "Tech Support Customers";
|
|
51
51
|
};
|
|
52
|
+
readonly BILLING_BUNDLE_CALLS: {
|
|
53
|
+
readonly name: "BILLING_BUNDLE_CALLS";
|
|
54
|
+
readonly value: 11;
|
|
55
|
+
readonly publicValue: "Billing - Bundle Calls With Cost";
|
|
56
|
+
};
|
|
57
|
+
readonly BILLING_UNCONNECTED_CALLS: {
|
|
58
|
+
readonly name: "BILLING_UNCONNECTED_CALLS";
|
|
59
|
+
readonly value: 12;
|
|
60
|
+
readonly publicValue: "Billing - Unconnected Calls";
|
|
61
|
+
};
|
|
62
|
+
readonly BILLING_UNCONNECTED_SERVICES: {
|
|
63
|
+
readonly name: "BILLING_UNCONNECTED_SERVICES";
|
|
64
|
+
readonly value: 13;
|
|
65
|
+
readonly publicValue: "Billing - Unconnected Services";
|
|
66
|
+
};
|
|
52
67
|
};
|
|
53
68
|
export type ReportEnum = typeof ReportEnum;
|
|
@@ -51,5 +51,20 @@ exports.ReportEnum = {
|
|
|
51
51
|
"name": "TECH_SUPPORT_CUSTOMERS",
|
|
52
52
|
"value": 10,
|
|
53
53
|
"publicValue": "Tech Support Customers"
|
|
54
|
+
},
|
|
55
|
+
"BILLING_BUNDLE_CALLS": {
|
|
56
|
+
"name": "BILLING_BUNDLE_CALLS",
|
|
57
|
+
"value": 11,
|
|
58
|
+
"publicValue": "Billing - Bundle Calls With Cost"
|
|
59
|
+
},
|
|
60
|
+
"BILLING_UNCONNECTED_CALLS": {
|
|
61
|
+
"name": "BILLING_UNCONNECTED_CALLS",
|
|
62
|
+
"value": 12,
|
|
63
|
+
"publicValue": "Billing - Unconnected Calls"
|
|
64
|
+
},
|
|
65
|
+
"BILLING_UNCONNECTED_SERVICES": {
|
|
66
|
+
"name": "BILLING_UNCONNECTED_SERVICES",
|
|
67
|
+
"value": 13,
|
|
68
|
+
"publicValue": "Billing - Unconnected Services"
|
|
54
69
|
}
|
|
55
70
|
};
|
package/docs/AdminRmaDTO.md
CHANGED
|
@@ -18,7 +18,8 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**statusText** | **string** | RMA Status Text | [optional] [default to undefined]
|
|
19
19
|
**approved** | **boolean** | RMA Approval Status | [optional] [default to undefined]
|
|
20
20
|
**address** | [**AddressDTO**](AddressDTO.md) | RMA Return Address | [optional] [default to undefined]
|
|
21
|
-
**customerId** | **
|
|
21
|
+
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
22
|
+
**xeroId** | **string** | Customer Xero ID | [optional] [default to undefined]
|
|
22
23
|
**customerName** | **string** | Customer Name | [optional] [default to undefined]
|
|
23
24
|
**createdAt** | **string** | Date Time | [optional] [default to undefined]
|
|
24
25
|
**items** | [**Array<AdminRmaItemDTO>**](AdminRmaItemDTO.md) | RMA Items | [optional] [default to undefined]
|
|
@@ -47,6 +48,7 @@ const instance: AdminRmaDTO = {
|
|
|
47
48
|
approved,
|
|
48
49
|
address,
|
|
49
50
|
customerId,
|
|
51
|
+
xeroId,
|
|
50
52
|
customerName,
|
|
51
53
|
createdAt,
|
|
52
54
|
items,
|
package/models/ReasonEnum.ts
CHANGED
|
@@ -2,7 +2,7 @@ export const ReasonEnum = {
|
|
|
2
2
|
"DOA": {
|
|
3
3
|
"name": "DOA",
|
|
4
4
|
"value": 1,
|
|
5
|
-
"publicValue": "
|
|
5
|
+
"publicValue": "Dead On Arrival"
|
|
6
6
|
},
|
|
7
7
|
"FAULTY": {
|
|
8
8
|
"name": "FAULTY",
|
|
@@ -12,12 +12,12 @@ export const ReasonEnum = {
|
|
|
12
12
|
"WORKING_GOOD_CONDITION": {
|
|
13
13
|
"name": "WORKING_GOOD_CONDITION",
|
|
14
14
|
"value": 3,
|
|
15
|
-
"publicValue": "Working Good Condition"
|
|
15
|
+
"publicValue": "Working (Good Condition)"
|
|
16
16
|
},
|
|
17
17
|
"WORKING_BAD_CONDITION": {
|
|
18
18
|
"name": "WORKING_BAD_CONDITION",
|
|
19
19
|
"value": 4,
|
|
20
|
-
"publicValue": "Working Bad Condition"
|
|
20
|
+
"publicValue": "Working (Bad Condition)"
|
|
21
21
|
}
|
|
22
22
|
} as const;
|
|
23
23
|
|
package/models/ReportEnum.ts
CHANGED
|
@@ -48,6 +48,21 @@ export const ReportEnum = {
|
|
|
48
48
|
"name": "TECH_SUPPORT_CUSTOMERS",
|
|
49
49
|
"value": 10,
|
|
50
50
|
"publicValue": "Tech Support Customers"
|
|
51
|
+
},
|
|
52
|
+
"BILLING_BUNDLE_CALLS": {
|
|
53
|
+
"name": "BILLING_BUNDLE_CALLS",
|
|
54
|
+
"value": 11,
|
|
55
|
+
"publicValue": "Billing - Bundle Calls With Cost"
|
|
56
|
+
},
|
|
57
|
+
"BILLING_UNCONNECTED_CALLS": {
|
|
58
|
+
"name": "BILLING_UNCONNECTED_CALLS",
|
|
59
|
+
"value": 12,
|
|
60
|
+
"publicValue": "Billing - Unconnected Calls"
|
|
61
|
+
},
|
|
62
|
+
"BILLING_UNCONNECTED_SERVICES": {
|
|
63
|
+
"name": "BILLING_UNCONNECTED_SERVICES",
|
|
64
|
+
"value": 13,
|
|
65
|
+
"publicValue": "Billing - Unconnected Services"
|
|
51
66
|
}
|
|
52
67
|
} as const;
|
|
53
68
|
|