@managespace/sdk 0.1.105 → 0.1.107

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.
@@ -0,0 +1,81 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateCredit
16
+ */
17
+ export interface CreateCredit {
18
+ /**
19
+ * Customer ID
20
+ * @type {string}
21
+ * @memberof CreateCredit
22
+ */
23
+ customerId: string;
24
+ /**
25
+ * Date of the credit
26
+ * @type {string}
27
+ * @memberof CreateCredit
28
+ */
29
+ creditDate: string;
30
+ /**
31
+ * Amount of credit
32
+ * @type {string}
33
+ * @memberof CreateCredit
34
+ */
35
+ creditAmount: string;
36
+ /**
37
+ * Notes about the credit
38
+ * @type {string}
39
+ * @memberof CreateCredit
40
+ */
41
+ notes?: string;
42
+ /**
43
+ * Amount applied to invoices
44
+ * @type {string}
45
+ * @memberof CreateCredit
46
+ */
47
+ appliedAmount?: string;
48
+ /**
49
+ * Unapplied credit amount
50
+ * @type {string}
51
+ * @memberof CreateCredit
52
+ */
53
+ unappliedAmount?: string;
54
+ /**
55
+ * Currency code
56
+ * @type {string}
57
+ * @memberof CreateCredit
58
+ */
59
+ currency?: string;
60
+ /**
61
+ * Automatically apply credit to most recent invoice
62
+ * @type {boolean}
63
+ * @memberof CreateCredit
64
+ */
65
+ autoApply?: boolean;
66
+ /**
67
+ * Subscription ID (custom field)
68
+ * @type {string}
69
+ * @memberof CreateCredit
70
+ */
71
+ subscriptionId?: string;
72
+ }
73
+ /**
74
+ * Check if a given object implements the CreateCredit interface.
75
+ */
76
+ export declare function instanceOfCreateCredit(value: object): value is CreateCredit;
77
+ export declare function CreateCreditFromJSON(json: any): CreateCredit;
78
+ export declare function CreateCreditFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCredit;
79
+ export declare function CreateCreditToJSON(json: any): CreateCredit;
80
+ export declare function CreateCreditToJSONTyped(value?: CreateCredit | null, ignoreDiscriminator?: boolean): any;
81
+ //# sourceMappingURL=create-credit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-credit.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-credit.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAK3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAgB/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiB9G"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * ManageSpace API
6
+ * ManageSpace 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.CreateCreditToJSONTyped = exports.CreateCreditToJSON = exports.CreateCreditFromJSONTyped = exports.CreateCreditFromJSON = exports.instanceOfCreateCredit = void 0;
17
+ /**
18
+ * Check if a given object implements the CreateCredit interface.
19
+ */
20
+ function instanceOfCreateCredit(value) {
21
+ if (!('customerId' in value) || value['customerId'] === undefined)
22
+ return false;
23
+ if (!('creditDate' in value) || value['creditDate'] === undefined)
24
+ return false;
25
+ if (!('creditAmount' in value) || value['creditAmount'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ exports.instanceOfCreateCredit = instanceOfCreateCredit;
30
+ function CreateCreditFromJSON(json) {
31
+ return CreateCreditFromJSONTyped(json, false);
32
+ }
33
+ exports.CreateCreditFromJSON = CreateCreditFromJSON;
34
+ function CreateCreditFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'customerId': json['customerId'],
40
+ 'creditDate': json['creditDate'],
41
+ 'creditAmount': json['creditAmount'],
42
+ 'notes': json['notes'] == null ? undefined : json['notes'],
43
+ 'appliedAmount': json['appliedAmount'] == null ? undefined : json['appliedAmount'],
44
+ 'unappliedAmount': json['unappliedAmount'] == null ? undefined : json['unappliedAmount'],
45
+ 'currency': json['currency'] == null ? undefined : json['currency'],
46
+ 'autoApply': json['autoApply'] == null ? undefined : json['autoApply'],
47
+ 'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
48
+ };
49
+ }
50
+ exports.CreateCreditFromJSONTyped = CreateCreditFromJSONTyped;
51
+ function CreateCreditToJSON(json) {
52
+ return CreateCreditToJSONTyped(json, false);
53
+ }
54
+ exports.CreateCreditToJSON = CreateCreditToJSON;
55
+ function CreateCreditToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'customerId': value['customerId'],
61
+ 'creditDate': value['creditDate'],
62
+ 'creditAmount': value['creditAmount'],
63
+ 'notes': value['notes'],
64
+ 'appliedAmount': value['appliedAmount'],
65
+ 'unappliedAmount': value['unappliedAmount'],
66
+ 'currency': value['currency'],
67
+ 'autoApply': value['autoApply'],
68
+ 'subscriptionId': value['subscriptionId'],
69
+ };
70
+ }
71
+ exports.CreateCreditToJSONTyped = CreateCreditToJSONTyped;
@@ -0,0 +1,123 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Credit
16
+ */
17
+ export interface Credit {
18
+ /**
19
+ * Customer ID
20
+ * @type {string}
21
+ * @memberof Credit
22
+ */
23
+ customerId: string;
24
+ /**
25
+ * Date of the credit
26
+ * @type {string}
27
+ * @memberof Credit
28
+ */
29
+ creditDate: string;
30
+ /**
31
+ * Amount of credit
32
+ * @type {string}
33
+ * @memberof Credit
34
+ */
35
+ creditAmount: string;
36
+ /**
37
+ * Notes about the credit
38
+ * @type {string}
39
+ * @memberof Credit
40
+ */
41
+ notes?: string;
42
+ /**
43
+ * Amount applied to invoices
44
+ * @type {string}
45
+ * @memberof Credit
46
+ */
47
+ appliedAmount?: string;
48
+ /**
49
+ * Unapplied credit amount
50
+ * @type {string}
51
+ * @memberof Credit
52
+ */
53
+ unappliedAmount?: string;
54
+ /**
55
+ * Currency code
56
+ * @type {string}
57
+ * @memberof Credit
58
+ */
59
+ currency?: string;
60
+ /**
61
+ * Automatically apply credit to most recent invoice
62
+ * @type {boolean}
63
+ * @memberof Credit
64
+ */
65
+ autoApply?: boolean;
66
+ /**
67
+ * Subscription ID (custom field)
68
+ * @type {string}
69
+ * @memberof Credit
70
+ */
71
+ subscriptionId?: string;
72
+ /**
73
+ * Credit ID
74
+ * @type {string}
75
+ * @memberof Credit
76
+ */
77
+ id: string;
78
+ /**
79
+ * Status of the credit
80
+ * @type {string}
81
+ * @memberof Credit
82
+ */
83
+ status?: string;
84
+ /**
85
+ * Reference number for the credit
86
+ * @type {string}
87
+ * @memberof Credit
88
+ */
89
+ referenceNumber?: string;
90
+ /**
91
+ * User who created the credit
92
+ * @type {string}
93
+ * @memberof Credit
94
+ */
95
+ createdBy?: string;
96
+ /**
97
+ * User who last updated the credit
98
+ * @type {string}
99
+ * @memberof Credit
100
+ */
101
+ updatedBy?: string;
102
+ /**
103
+ * Date the credit was created
104
+ * @type {string}
105
+ * @memberof Credit
106
+ */
107
+ createdDate?: string;
108
+ /**
109
+ * Date the credit was last updated
110
+ * @type {string}
111
+ * @memberof Credit
112
+ */
113
+ updatedDate?: string;
114
+ }
115
+ /**
116
+ * Check if a given object implements the Credit interface.
117
+ */
118
+ export declare function instanceOfCredit(value: object): value is Credit;
119
+ export declare function CreditFromJSON(json: any): Credit;
120
+ export declare function CreditFromJSONTyped(json: any, ignoreDiscriminator: boolean): Credit;
121
+ export declare function CreditToJSON(json: any): Credit;
122
+ export declare function CreditToJSONTyped(value?: Credit | null, ignoreDiscriminator?: boolean): any;
123
+ //# sourceMappingURL=credit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit.d.ts","sourceRoot":"","sources":["../../../src/generated/models/credit.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;I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 /**
5
+ * ManageSpace API
6
+ * ManageSpace 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.CreditToJSONTyped = exports.CreditToJSON = exports.CreditFromJSONTyped = exports.CreditFromJSON = exports.instanceOfCredit = void 0;
17
+ /**
18
+ * Check if a given object implements the Credit interface.
19
+ */
20
+ function instanceOfCredit(value) {
21
+ if (!('customerId' in value) || value['customerId'] === undefined)
22
+ return false;
23
+ if (!('creditDate' in value) || value['creditDate'] === undefined)
24
+ return false;
25
+ if (!('creditAmount' in value) || value['creditAmount'] === undefined)
26
+ return false;
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ exports.instanceOfCredit = instanceOfCredit;
32
+ function CreditFromJSON(json) {
33
+ return CreditFromJSONTyped(json, false);
34
+ }
35
+ exports.CreditFromJSON = CreditFromJSON;
36
+ function CreditFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'customerId': json['customerId'],
42
+ 'creditDate': json['creditDate'],
43
+ 'creditAmount': json['creditAmount'],
44
+ 'notes': json['notes'] == null ? undefined : json['notes'],
45
+ 'appliedAmount': json['appliedAmount'] == null ? undefined : json['appliedAmount'],
46
+ 'unappliedAmount': json['unappliedAmount'] == null ? undefined : json['unappliedAmount'],
47
+ 'currency': json['currency'] == null ? undefined : json['currency'],
48
+ 'autoApply': json['autoApply'] == null ? undefined : json['autoApply'],
49
+ 'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
50
+ 'id': json['id'],
51
+ 'status': json['status'] == null ? undefined : json['status'],
52
+ 'referenceNumber': json['referenceNumber'] == null ? undefined : json['referenceNumber'],
53
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
54
+ 'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
55
+ 'createdDate': json['createdDate'] == null ? undefined : json['createdDate'],
56
+ 'updatedDate': json['updatedDate'] == null ? undefined : json['updatedDate'],
57
+ };
58
+ }
59
+ exports.CreditFromJSONTyped = CreditFromJSONTyped;
60
+ function CreditToJSON(json) {
61
+ return CreditToJSONTyped(json, false);
62
+ }
63
+ exports.CreditToJSON = CreditToJSON;
64
+ function CreditToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'customerId': value['customerId'],
70
+ 'creditDate': value['creditDate'],
71
+ 'creditAmount': value['creditAmount'],
72
+ 'notes': value['notes'],
73
+ 'appliedAmount': value['appliedAmount'],
74
+ 'unappliedAmount': value['unappliedAmount'],
75
+ 'currency': value['currency'],
76
+ 'autoApply': value['autoApply'],
77
+ 'subscriptionId': value['subscriptionId'],
78
+ 'id': value['id'],
79
+ 'status': value['status'],
80
+ 'referenceNumber': value['referenceNumber'],
81
+ 'createdBy': value['createdBy'],
82
+ 'updatedBy': value['updatedBy'],
83
+ 'createdDate': value['createdDate'],
84
+ 'updatedDate': value['updatedDate'],
85
+ };
86
+ }
87
+ exports.CreditToJSONTyped = CreditToJSONTyped;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * ManageSpace API
3
+ * ManageSpace API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Credit } from './credit';
13
+ import type { PageMeta } from './page-meta';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GetCredits200Response
18
+ */
19
+ export interface GetCredits200Response {
20
+ /**
21
+ * The pagination metadata
22
+ * @type {PageMeta}
23
+ * @memberof GetCredits200Response
24
+ */
25
+ pageMeta: PageMeta;
26
+ /**
27
+ *
28
+ * @type {Array<Credit>}
29
+ * @memberof GetCredits200Response
30
+ */
31
+ results?: Array<Credit>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the GetCredits200Response interface.
35
+ */
36
+ export declare function instanceOfGetCredits200Response(value: object): value is GetCredits200Response;
37
+ export declare function GetCredits200ResponseFromJSON(json: any): GetCredits200Response;
38
+ export declare function GetCredits200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCredits200Response;
39
+ export declare function GetCredits200ResponseToJSON(json: any): GetCredits200Response;
40
+ export declare function GetCredits200ResponseToJSONTyped(value?: GetCredits200Response | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=get-credits200-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-credits200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-credits200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQ5C;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * ManageSpace API
6
+ * ManageSpace 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.GetCredits200ResponseToJSONTyped = exports.GetCredits200ResponseToJSON = exports.GetCredits200ResponseFromJSONTyped = exports.GetCredits200ResponseFromJSON = exports.instanceOfGetCredits200Response = void 0;
17
+ const credit_1 = require("./credit");
18
+ const page_meta_1 = require("./page-meta");
19
+ /**
20
+ * Check if a given object implements the GetCredits200Response interface.
21
+ */
22
+ function instanceOfGetCredits200Response(value) {
23
+ if (!('pageMeta' in value) || value['pageMeta'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfGetCredits200Response = instanceOfGetCredits200Response;
28
+ function GetCredits200ResponseFromJSON(json) {
29
+ return GetCredits200ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.GetCredits200ResponseFromJSON = GetCredits200ResponseFromJSON;
32
+ function GetCredits200ResponseFromJSONTyped(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(credit_1.CreditFromJSON)),
39
+ };
40
+ }
41
+ exports.GetCredits200ResponseFromJSONTyped = GetCredits200ResponseFromJSONTyped;
42
+ function GetCredits200ResponseToJSON(json) {
43
+ return GetCredits200ResponseToJSONTyped(json, false);
44
+ }
45
+ exports.GetCredits200ResponseToJSON = GetCredits200ResponseToJSON;
46
+ function GetCredits200ResponseToJSONTyped(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(credit_1.CreditToJSON)),
53
+ };
54
+ }
55
+ exports.GetCredits200ResponseToJSONTyped = GetCredits200ResponseToJSONTyped;
@@ -41,6 +41,7 @@ export * from './create-charge';
41
41
  export * from './create-chart-of-accounts';
42
42
  export * from './create-communication';
43
43
  export * from './create-configuration-setting';
44
+ export * from './create-credit';
44
45
  export * from './create-customer-status';
45
46
  export * from './create-document';
46
47
  export * from './create-instances';
@@ -72,6 +73,7 @@ export * from './create-subscription-charge';
72
73
  export * from './create-task-definition';
73
74
  export * from './create-task-instance';
74
75
  export * from './create-template';
76
+ export * from './credit';
75
77
  export * from './custom-create-checklist';
76
78
  export * from './custom-create-contact';
77
79
  export * from './custom-create-customer';
@@ -113,6 +115,7 @@ export * from './get-checklists200-response';
113
115
  export * from './get-communications200-response';
114
116
  export * from './get-configuration-settings200-response';
115
117
  export * from './get-contacts200-response';
118
+ export * from './get-credits200-response';
116
119
  export * from './get-customer-statuses200-response';
117
120
  export * from './get-customers200-response';
118
121
  export * from './get-documents200-response';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,sCAAsC,CAAC;AACrD,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,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,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wCAAwC,CAAC;AACvD,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
@@ -59,6 +59,7 @@ __exportStar(require("./create-charge"), exports);
59
59
  __exportStar(require("./create-chart-of-accounts"), exports);
60
60
  __exportStar(require("./create-communication"), exports);
61
61
  __exportStar(require("./create-configuration-setting"), exports);
62
+ __exportStar(require("./create-credit"), exports);
62
63
  __exportStar(require("./create-customer-status"), exports);
63
64
  __exportStar(require("./create-document"), exports);
64
65
  __exportStar(require("./create-instances"), exports);
@@ -90,6 +91,7 @@ __exportStar(require("./create-subscription-charge"), exports);
90
91
  __exportStar(require("./create-task-definition"), exports);
91
92
  __exportStar(require("./create-task-instance"), exports);
92
93
  __exportStar(require("./create-template"), exports);
94
+ __exportStar(require("./credit"), exports);
93
95
  __exportStar(require("./custom-create-checklist"), exports);
94
96
  __exportStar(require("./custom-create-contact"), exports);
95
97
  __exportStar(require("./custom-create-customer"), exports);
@@ -131,6 +133,7 @@ __exportStar(require("./get-checklists200-response"), exports);
131
133
  __exportStar(require("./get-communications200-response"), exports);
132
134
  __exportStar(require("./get-configuration-settings200-response"), exports);
133
135
  __exportStar(require("./get-contacts200-response"), exports);
136
+ __exportStar(require("./get-credits200-response"), exports);
134
137
  __exportStar(require("./get-customer-statuses200-response"), exports);
135
138
  __exportStar(require("./get-customers200-response"), exports);
136
139
  __exportStar(require("./get-documents200-response"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.1.105",
3
+ "version": "0.1.107",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",
@@ -44,6 +44,8 @@ import {
44
44
  ProductType,
45
45
  OrderType,
46
46
  CustomerBalance,
47
+ CreateCredit as _CreateCredit,
48
+ Credit,
47
49
  } from '../../../generated';
48
50
  import { CustomCreateContact } from '../../../generated/models/custom-create-contact';
49
51
  import { CustomUpdateContact } from '../../../generated/models/custom-update-contact';
@@ -294,6 +296,21 @@ export namespace Billing {
294
296
  // payload!: any;
295
297
  }
296
298
 
299
+ export class GetCredits implements ExtPlugin {
300
+ responseType!: Credit[];
301
+ payload!: BasePaginationQuery & {
302
+ status?: string;
303
+ customerId?: string;
304
+ subscriptionId?: string;
305
+ sort?: string;
306
+ };
307
+ }
308
+
309
+ export class CreateCredit implements ExtPlugin {
310
+ responseType!: Credit;
311
+ payload!: _CreateCredit;
312
+ }
313
+
297
314
  export class GetStatements implements ExtPlugin {
298
315
  responseType!: Statement[];
299
316
  payload!: BasePaginationQuery;
@@ -44,6 +44,7 @@ models/create-charge.ts
44
44
  models/create-chart-of-accounts.ts
45
45
  models/create-communication.ts
46
46
  models/create-configuration-setting.ts
47
+ models/create-credit.ts
47
48
  models/create-customer-status.ts
48
49
  models/create-document.ts
49
50
  models/create-instances.ts
@@ -75,6 +76,7 @@ models/create-subscription.ts
75
76
  models/create-task-definition.ts
76
77
  models/create-task-instance.ts
77
78
  models/create-template.ts
79
+ models/credit.ts
78
80
  models/custom-create-checklist.ts
79
81
  models/custom-create-contact.ts
80
82
  models/custom-create-customer.ts
@@ -116,6 +118,7 @@ models/get-checklists200-response.ts
116
118
  models/get-communications200-response.ts
117
119
  models/get-configuration-settings200-response.ts
118
120
  models/get-contacts200-response.ts
121
+ models/get-credits200-response.ts
119
122
  models/get-customer-statuses200-response.ts
120
123
  models/get-customers200-response.ts
121
124
  models/get-documents200-response.ts