@managespace/sdk 0.0.101 → 0.0.103

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.
Files changed (84) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +10 -10
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/extensibility/types/extensibility.d.ts +2 -0
  4. package/dist/extensibility/types/extensibility.d.ts.map +1 -1
  5. package/dist/extensibility/types/workflow-step.d.ts +4 -0
  6. package/dist/extensibility/types/workflow-step.d.ts.map +1 -1
  7. package/dist/generated/apis/default-api.d.ts +0 -3
  8. package/dist/generated/apis/default-api.d.ts.map +1 -1
  9. package/dist/generated/apis/default-api.js +0 -9
  10. package/dist/generated/models/create-order.d.ts +0 -6
  11. package/dist/generated/models/create-order.d.ts.map +1 -1
  12. package/dist/generated/models/create-order.js +0 -2
  13. package/dist/generated/models/order-response.d.ts +0 -6
  14. package/dist/generated/models/order-response.d.ts.map +1 -1
  15. package/dist/generated/models/order-response.js +0 -2
  16. package/dist/generated/models/subscription-response.d.ts +6 -0
  17. package/dist/generated/models/subscription-response.d.ts.map +1 -1
  18. package/dist/generated/models/subscription-response.js +4 -0
  19. package/package.json +2 -2
  20. package/src/extensibility/functions/project/billing.ts +9 -12
  21. package/src/extensibility/types/extensibility.ts +4 -2
  22. package/src/extensibility/types/workflow-step.ts +4 -0
  23. package/src/generated/apis/default-api.ts +0 -15
  24. package/src/generated/models/create-order.ts +0 -8
  25. package/src/generated/models/order-response.ts +0 -8
  26. package/src/generated/models/subscription-response.ts +9 -0
  27. package/.turbo/turbo-build.log +0 -2
  28. package/dist/generated/models/cancel-subscription-billing.d.ts +0 -39
  29. package/dist/generated/models/cancel-subscription-billing.d.ts.map +0 -1
  30. package/dist/generated/models/cancel-subscription-billing.js +0 -55
  31. package/dist/generated/models/chart-of-account-response.d.ts +0 -99
  32. package/dist/generated/models/chart-of-account-response.d.ts.map +0 -1
  33. package/dist/generated/models/chart-of-account-response.js +0 -95
  34. package/dist/generated/models/configuration-response.d.ts +0 -77
  35. package/dist/generated/models/configuration-response.d.ts.map +0 -1
  36. package/dist/generated/models/configuration-response.js +0 -77
  37. package/dist/generated/models/contact-id.d.ts +0 -33
  38. package/dist/generated/models/contact-id.d.ts.map +0 -1
  39. package/dist/generated/models/contact-id.js +0 -51
  40. package/dist/generated/models/create-payment-billing.d.ts +0 -155
  41. package/dist/generated/models/create-payment-billing.d.ts.map +0 -1
  42. package/dist/generated/models/create-payment-billing.js +0 -133
  43. package/dist/generated/models/create-plan.d.ts +0 -52
  44. package/dist/generated/models/create-plan.d.ts.map +0 -1
  45. package/dist/generated/models/create-plan.js +0 -64
  46. package/dist/generated/models/create-product.d.ts +0 -45
  47. package/dist/generated/models/create-product.d.ts.map +0 -1
  48. package/dist/generated/models/create-product.js +0 -57
  49. package/dist/generated/models/create-stock-status.d.ts +0 -39
  50. package/dist/generated/models/create-stock-status.d.ts.map +0 -1
  51. package/dist/generated/models/create-stock-status.js +0 -55
  52. package/dist/generated/models/create-subscription-billing.d.ts +0 -166
  53. package/dist/generated/models/create-subscription-billing.d.ts.map +0 -1
  54. package/dist/generated/models/create-subscription-billing.js +0 -140
  55. package/dist/generated/models/custom-chart-of-account.d.ts +0 -57
  56. package/dist/generated/models/custom-chart-of-account.d.ts.map +0 -1
  57. package/dist/generated/models/custom-chart-of-account.js +0 -67
  58. package/dist/generated/models/custom-chart-of-accounts.d.ts +0 -34
  59. package/dist/generated/models/custom-chart-of-accounts.d.ts.map +0 -1
  60. package/dist/generated/models/custom-chart-of-accounts.js +0 -52
  61. package/dist/generated/models/document-urls-response.d.ts +0 -33
  62. package/dist/generated/models/document-urls-response.d.ts.map +0 -1
  63. package/dist/generated/models/document-urls-response.js +0 -51
  64. package/dist/generated/models/get-contact-response.d.ts +0 -159
  65. package/dist/generated/models/get-contact-response.d.ts.map +0 -1
  66. package/dist/generated/models/get-contact-response.js +0 -135
  67. package/dist/generated/models/get-invoice-billing200-response.d.ts +0 -41
  68. package/dist/generated/models/get-invoice-billing200-response.d.ts.map +0 -1
  69. package/dist/generated/models/get-invoice-billing200-response.js +0 -55
  70. package/dist/generated/models/plan-charge-response.d.ts +0 -166
  71. package/dist/generated/models/plan-charge-response.d.ts.map +0 -1
  72. package/dist/generated/models/plan-charge-response.js +0 -140
  73. package/dist/generated/models/plan-response.d.ts +0 -128
  74. package/dist/generated/models/plan-response.d.ts.map +0 -1
  75. package/dist/generated/models/plan-response.js +0 -106
  76. package/dist/generated/models/product-response.d.ts +0 -97
  77. package/dist/generated/models/product-response.d.ts.map +0 -1
  78. package/dist/generated/models/product-response.js +0 -87
  79. package/dist/generated/models/stock-status-response.d.ts +0 -59
  80. package/dist/generated/models/stock-status-response.d.ts.map +0 -1
  81. package/dist/generated/models/stock-status-response.js +0 -65
  82. package/dist/generated/models/update-extensibility-repo.d.ts +0 -57
  83. package/dist/generated/models/update-extensibility-repo.d.ts.map +0 -1
  84. package/dist/generated/models/update-extensibility-repo.js +0 -67
@@ -26,7 +26,7 @@ import {
26
26
  OrderResponse,
27
27
  CreateOrder as _CreateOrder,
28
28
  PlanCustomResponse,
29
- // CreateSubscription as _CreateSubscription,
29
+ CreateSubscription as _CreateSubscription,
30
30
  } from '../../../generated';
31
31
  import { CustomCreateContact } from '../../../generated/models/custom-create-contact';
32
32
  import { CustomUpdateCustomer } from '../../../generated/models/custom-update-customer';
@@ -174,7 +174,7 @@ export namespace Billing {
174
174
  ProductCustomResponse,
175
175
  'org' | 'orgId' | 'site' | 'siteId'
176
176
  >[];
177
- payload!: BasePaginationQuery & { active?: boolean; name?: string };
177
+ payload!: BasePaginationQuery & { active?: boolean };
178
178
  }
179
179
 
180
180
  export class GetProduct implements ExtPlugin {
@@ -187,12 +187,12 @@ export namespace Billing {
187
187
 
188
188
  export class GetSubscriptions implements ExtPlugin {
189
189
  responseType!: SubscriptionResponse[];
190
- payload!: BasePaginationQuery & { status?: string };
190
+ payload!: BasePaginationQuery & { siteId: string; status?: string };
191
191
  }
192
192
 
193
193
  export class GetSubscription implements ExtPlugin {
194
- responseType!: SubscriptionResponse;
195
- payload!: { subscriptionId: string };
194
+ responseType!: SubscriptionResponse | null;
195
+ payload!: { siteId: string; subscriptionId: string };
196
196
  }
197
197
 
198
198
  export class CreateProduct implements ExtPlugin {
@@ -221,8 +221,8 @@ export namespace Billing {
221
221
  }
222
222
 
223
223
  export class CreateSubscription implements ExtPlugin {
224
- responseType!: any;
225
- payload!: any;
224
+ responseType!: SubscriptionResponse;
225
+ payload!: { customerId: string; siteId: string } & _CreateSubscription;
226
226
  // payload!: any;
227
227
  }
228
228
 
@@ -255,6 +255,7 @@ export namespace Billing {
255
255
  export class CancelSubscription implements ExtPlugin {
256
256
  responseType!: SubscriptionResponse;
257
257
  payload!: {
258
+ // siteId: string;
258
259
  subscriptionId: string;
259
260
  cancelSubscriptionPayload: _CancelSubscription;
260
261
  };
@@ -282,10 +283,6 @@ export namespace Billing {
282
283
 
283
284
  export class GetOrders implements ExtPlugin {
284
285
  responseType!: OrderResponse[];
285
- payload!: BasePaginationQuery & {
286
- customerId?: string;
287
- assetId?: string;
288
- status?: string;
289
- };
286
+ payload!: BasePaginationQuery;
290
287
  }
291
288
  }
@@ -8,5 +8,7 @@ export type ExtBasePayload = {
8
8
  instanceId: string;
9
9
  };
10
10
  export type ExtReturnType<T, A = null> =
11
- | ({ result: T; error?: never } & (A extends null ? unknown : A))
12
- | { error: Error; result?: never };
11
+ | ({ result: T; error?: never; status?: never } & (A extends null
12
+ ? unknown
13
+ : A))
14
+ | { error: Error; status: number; result?: never };
@@ -37,11 +37,13 @@ export type WorkflowStepReturnType<T, A = null> =
37
37
  result: T;
38
38
  state: any;
39
39
  error?: never;
40
+ status?: never;
40
41
  userIntervention?: never;
41
42
  delay?: never;
42
43
  } & (A extends null ? unknown : A))
43
44
  | {
44
45
  error: Error;
46
+ status: number;
45
47
  result?: never;
46
48
  state?: never;
47
49
  userIntervention?: never;
@@ -52,6 +54,7 @@ export type WorkflowStepReturnType<T, A = null> =
52
54
  result?: never;
53
55
  state?: never;
54
56
  error?: never;
57
+ status?: never;
55
58
  delay?: never;
56
59
  }
57
60
  | {
@@ -60,4 +63,5 @@ export type WorkflowStepReturnType<T, A = null> =
60
63
  result?: never;
61
64
  state?: never;
62
65
  error?: never;
66
+ status?: never;
63
67
  };
@@ -798,8 +798,6 @@ export interface GetOrdersRequest {
798
798
  offset?: number;
799
799
  limit?: number;
800
800
  status?: string;
801
- assetId?: string;
802
- customerId?: string;
803
801
  }
804
802
 
805
803
  export interface GetOrgRequest {
@@ -864,7 +862,6 @@ export interface GetProductsRequest {
864
862
  offset?: number;
865
863
  limit?: number;
866
864
  active?: string;
867
- name?: string;
868
865
  }
869
866
 
870
867
  export interface GetRevenueRuleRequest {
@@ -4481,14 +4478,6 @@ export class DefaultApi extends runtime.BaseAPI {
4481
4478
  queryParameters['status'] = requestParameters['status'];
4482
4479
  }
4483
4480
 
4484
- if (requestParameters['assetId'] != null) {
4485
- queryParameters['assetId'] = requestParameters['assetId'];
4486
- }
4487
-
4488
- if (requestParameters['customerId'] != null) {
4489
- queryParameters['customerId'] = requestParameters['customerId'];
4490
- }
4491
-
4492
4481
  const headerParameters: runtime.HTTPHeaders = {};
4493
4482
 
4494
4483
  if (this.configuration && this.configuration.accessToken) {
@@ -4984,10 +4973,6 @@ export class DefaultApi extends runtime.BaseAPI {
4984
4973
  queryParameters['active'] = requestParameters['active'];
4985
4974
  }
4986
4975
 
4987
- if (requestParameters['name'] != null) {
4988
- queryParameters['name'] = requestParameters['name'];
4989
- }
4990
-
4991
4976
  const headerParameters: runtime.HTTPHeaders = {};
4992
4977
 
4993
4978
  if (this.configuration && this.configuration.accessToken) {
@@ -129,12 +129,6 @@ export interface CreateOrder {
129
129
  * @memberof CreateOrder
130
130
  */
131
131
  updatedBy?: string;
132
- /**
133
- * Asset Id associated with order
134
- * @type {string}
135
- * @memberof CreateOrder
136
- */
137
- assetId?: string;
138
132
  /**
139
133
  * Custom fields on the invoice
140
134
  * @type {object}
@@ -184,7 +178,6 @@ export function CreateOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean
184
178
  'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
185
179
  'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
186
180
  'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
187
- 'assetId': json['assetId'] == null ? undefined : json['assetId'],
188
181
  'customFields': json['customFields'] == null ? undefined : json['customFields'],
189
182
  };
190
183
  }
@@ -217,7 +210,6 @@ export function CreateOrderToJSONTyped(value?: CreateOrder | null, ignoreDiscrim
217
210
  'updatedAt': value['updatedAt'],
218
211
  'createdBy': value['createdBy'],
219
212
  'updatedBy': value['updatedBy'],
220
- 'assetId': value['assetId'],
221
213
  'customFields': value['customFields'],
222
214
  };
223
215
  }
@@ -129,12 +129,6 @@ export interface OrderResponse {
129
129
  * @memberof OrderResponse
130
130
  */
131
131
  updatedBy?: string;
132
- /**
133
- * Asset Id associated with order
134
- * @type {string}
135
- * @memberof OrderResponse
136
- */
137
- assetId?: string;
138
132
  /**
139
133
  * Custom fields on the invoice
140
134
  * @type {object}
@@ -191,7 +185,6 @@ export function OrderResponseFromJSONTyped(json: any, ignoreDiscriminator: boole
191
185
  'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
192
186
  'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
193
187
  'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
194
- 'assetId': json['assetId'] == null ? undefined : json['assetId'],
195
188
  'customFields': json['customFields'] == null ? undefined : json['customFields'],
196
189
  'id': json['id'],
197
190
  };
@@ -225,7 +218,6 @@ export function OrderResponseToJSONTyped(value?: OrderResponse | null, ignoreDis
225
218
  'updatedAt': value['updatedAt'],
226
219
  'createdBy': value['createdBy'],
227
220
  'updatedBy': value['updatedBy'],
228
- 'assetId': value['assetId'],
229
221
  'customFields': value['customFields'],
230
222
  'id': value['id'],
231
223
  };
@@ -243,6 +243,12 @@ export interface SubscriptionResponse {
243
243
  * @memberof SubscriptionResponse
244
244
  */
245
245
  assetId?: string;
246
+ /**
247
+ * Site ID
248
+ * @type {string}
249
+ * @memberof SubscriptionResponse
250
+ */
251
+ siteId: string;
246
252
  /**
247
253
  * External id associated with subscription
248
254
  * @type {string}
@@ -290,6 +296,7 @@ export function instanceOfSubscriptionResponse(value: object): value is Subscrip
290
296
  if (!('billContactSfId' in value) || value['billContactSfId'] === undefined) return false;
291
297
  if (!('shippingContactSfId' in value) || value['shippingContactSfId'] === undefined) return false;
292
298
  if (!('customFields' in value) || value['customFields'] === undefined) return false;
299
+ if (!('siteId' in value) || value['siteId'] === undefined) return false;
293
300
  if (!('externalId' in value) || value['externalId'] === undefined) return false;
294
301
  return true;
295
302
  }
@@ -340,6 +347,7 @@ export function SubscriptionResponseFromJSONTyped(json: any, ignoreDiscriminator
340
347
  'shippingContactSfId': json['shippingContactSfId'],
341
348
  'customFields': json['customFields'],
342
349
  'assetId': json['assetId'] == null ? undefined : json['assetId'],
350
+ 'siteId': json['siteId'],
343
351
  'externalId': json['externalId'],
344
352
  };
345
353
  }
@@ -391,6 +399,7 @@ export function SubscriptionResponseToJSONTyped(value?: SubscriptionResponse | n
391
399
  'shippingContactSfId': value['shippingContactSfId'],
392
400
  'customFields': value['customFields'],
393
401
  'assetId': value['assetId'],
402
+ 'siteId': value['siteId'],
394
403
  'externalId': value['externalId'],
395
404
  };
396
405
  }
@@ -1,2 +0,0 @@
1
-
2
- $ tsc
@@ -1,39 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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 CancelSubscriptionBilling
16
- */
17
- export interface CancelSubscriptionBilling {
18
- /**
19
- * Date subscription contract will end
20
- * @type {string}
21
- * @memberof CancelSubscriptionBilling
22
- */
23
- cancellationDate: string;
24
- /**
25
- * Reason for cancellation
26
- * @type {string}
27
- * @memberof CancelSubscriptionBilling
28
- */
29
- cancellationType: string;
30
- }
31
- /**
32
- * Check if a given object implements the CancelSubscriptionBilling interface.
33
- */
34
- export declare function instanceOfCancelSubscriptionBilling(value: object): value is CancelSubscriptionBilling;
35
- export declare function CancelSubscriptionBillingFromJSON(json: any): CancelSubscriptionBilling;
36
- export declare function CancelSubscriptionBillingFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelSubscriptionBilling;
37
- export declare function CancelSubscriptionBillingToJSON(json: any): CancelSubscriptionBilling;
38
- export declare function CancelSubscriptionBillingToJSONTyped(value?: CancelSubscriptionBilling | null, ignoreDiscriminator?: boolean): any;
39
- //# sourceMappingURL=cancel-subscription-billing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancel-subscription-billing.d.ts","sourceRoot":"","sources":["../../../src/generated/models/cancel-subscription-billing.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
@@ -1,55 +0,0 @@
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.CancelSubscriptionBillingToJSONTyped = exports.CancelSubscriptionBillingToJSON = exports.CancelSubscriptionBillingFromJSONTyped = exports.CancelSubscriptionBillingFromJSON = exports.instanceOfCancelSubscriptionBilling = void 0;
17
- /**
18
- * Check if a given object implements the CancelSubscriptionBilling interface.
19
- */
20
- function instanceOfCancelSubscriptionBilling(value) {
21
- if (!('cancellationDate' in value) || value['cancellationDate'] === undefined)
22
- return false;
23
- if (!('cancellationType' in value) || value['cancellationType'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfCancelSubscriptionBilling = instanceOfCancelSubscriptionBilling;
28
- function CancelSubscriptionBillingFromJSON(json) {
29
- return CancelSubscriptionBillingFromJSONTyped(json, false);
30
- }
31
- exports.CancelSubscriptionBillingFromJSON = CancelSubscriptionBillingFromJSON;
32
- function CancelSubscriptionBillingFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'cancellationDate': json['cancellationDate'],
38
- 'cancellationType': json['cancellationType'],
39
- };
40
- }
41
- exports.CancelSubscriptionBillingFromJSONTyped = CancelSubscriptionBillingFromJSONTyped;
42
- function CancelSubscriptionBillingToJSON(json) {
43
- return CancelSubscriptionBillingToJSONTyped(json, false);
44
- }
45
- exports.CancelSubscriptionBillingToJSON = CancelSubscriptionBillingToJSON;
46
- function CancelSubscriptionBillingToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'cancellationDate': value['cancellationDate'],
52
- 'cancellationType': value['cancellationType'],
53
- };
54
- }
55
- exports.CancelSubscriptionBillingToJSONTyped = CancelSubscriptionBillingToJSONTyped;
@@ -1,99 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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 ChartOfAccountResponse
16
- */
17
- export interface ChartOfAccountResponse {
18
- /**
19
- * Code identifying the Accunt
20
- * @type {string}
21
- * @memberof ChartOfAccountResponse
22
- */
23
- code: string;
24
- /**
25
- * Name of Account
26
- * @type {string}
27
- * @memberof ChartOfAccountResponse
28
- */
29
- name: string;
30
- /**
31
- * Main Account type
32
- * @type {string}
33
- * @memberof ChartOfAccountResponse
34
- */
35
- accountType: string;
36
- /**
37
- * Sub-Account type
38
- * @type {string}
39
- * @memberof ChartOfAccountResponse
40
- */
41
- subType: string;
42
- /**
43
- * Parent account associated with this account
44
- * @type {string}
45
- * @memberof ChartOfAccountResponse
46
- */
47
- parentAccount: string;
48
- /**
49
- * Status of this account
50
- * @type {string}
51
- * @memberof ChartOfAccountResponse
52
- */
53
- status: string;
54
- /**
55
- * Plain text description of this account
56
- * @type {string}
57
- * @memberof ChartOfAccountResponse
58
- */
59
- description: string;
60
- /**
61
- * Email of user who created account record
62
- * @type {string}
63
- * @memberof ChartOfAccountResponse
64
- */
65
- createdBy: string;
66
- /**
67
- * Email of user who last modified account record
68
- * @type {string}
69
- * @memberof ChartOfAccountResponse
70
- */
71
- updatedBy: string;
72
- /**
73
- * Date account record was created
74
- * @type {string}
75
- * @memberof ChartOfAccountResponse
76
- */
77
- createdAt: string;
78
- /**
79
- * Date account record was modified
80
- * @type {string}
81
- * @memberof ChartOfAccountResponse
82
- */
83
- updatedAt: string;
84
- /**
85
- * Custom fields on the invoice
86
- * @type {object}
87
- * @memberof ChartOfAccountResponse
88
- */
89
- customFields: object;
90
- }
91
- /**
92
- * Check if a given object implements the ChartOfAccountResponse interface.
93
- */
94
- export declare function instanceOfChartOfAccountResponse(value: object): value is ChartOfAccountResponse;
95
- export declare function ChartOfAccountResponseFromJSON(json: any): ChartOfAccountResponse;
96
- export declare function ChartOfAccountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChartOfAccountResponse;
97
- export declare function ChartOfAccountResponseToJSON(json: any): ChartOfAccountResponse;
98
- export declare function ChartOfAccountResponseToJSONTyped(value?: ChartOfAccountResponse | null, ignoreDiscriminator?: boolean): any;
99
- //# sourceMappingURL=chart-of-account-response.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-of-account-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/chart-of-account-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAc/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAmBnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBlI"}
@@ -1,95 +0,0 @@
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.ChartOfAccountResponseToJSONTyped = exports.ChartOfAccountResponseToJSON = exports.ChartOfAccountResponseFromJSONTyped = exports.ChartOfAccountResponseFromJSON = exports.instanceOfChartOfAccountResponse = void 0;
17
- /**
18
- * Check if a given object implements the ChartOfAccountResponse interface.
19
- */
20
- function instanceOfChartOfAccountResponse(value) {
21
- if (!('code' in value) || value['code'] === undefined)
22
- return false;
23
- if (!('name' in value) || value['name'] === undefined)
24
- return false;
25
- if (!('accountType' in value) || value['accountType'] === undefined)
26
- return false;
27
- if (!('subType' in value) || value['subType'] === undefined)
28
- return false;
29
- if (!('parentAccount' in value) || value['parentAccount'] === undefined)
30
- return false;
31
- if (!('status' in value) || value['status'] === undefined)
32
- return false;
33
- if (!('description' in value) || value['description'] === undefined)
34
- return false;
35
- if (!('createdBy' in value) || value['createdBy'] === undefined)
36
- return false;
37
- if (!('updatedBy' in value) || value['updatedBy'] === undefined)
38
- return false;
39
- if (!('createdAt' in value) || value['createdAt'] === undefined)
40
- return false;
41
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
42
- return false;
43
- if (!('customFields' in value) || value['customFields'] === undefined)
44
- return false;
45
- return true;
46
- }
47
- exports.instanceOfChartOfAccountResponse = instanceOfChartOfAccountResponse;
48
- function ChartOfAccountResponseFromJSON(json) {
49
- return ChartOfAccountResponseFromJSONTyped(json, false);
50
- }
51
- exports.ChartOfAccountResponseFromJSON = ChartOfAccountResponseFromJSON;
52
- function ChartOfAccountResponseFromJSONTyped(json, ignoreDiscriminator) {
53
- if (json == null) {
54
- return json;
55
- }
56
- return {
57
- 'code': json['code'],
58
- 'name': json['name'],
59
- 'accountType': json['accountType'],
60
- 'subType': json['subType'],
61
- 'parentAccount': json['parentAccount'],
62
- 'status': json['status'],
63
- 'description': json['description'],
64
- 'createdBy': json['createdBy'],
65
- 'updatedBy': json['updatedBy'],
66
- 'createdAt': json['createdAt'],
67
- 'updatedAt': json['updatedAt'],
68
- 'customFields': json['customFields'],
69
- };
70
- }
71
- exports.ChartOfAccountResponseFromJSONTyped = ChartOfAccountResponseFromJSONTyped;
72
- function ChartOfAccountResponseToJSON(json) {
73
- return ChartOfAccountResponseToJSONTyped(json, false);
74
- }
75
- exports.ChartOfAccountResponseToJSON = ChartOfAccountResponseToJSON;
76
- function ChartOfAccountResponseToJSONTyped(value, ignoreDiscriminator = false) {
77
- if (value == null) {
78
- return value;
79
- }
80
- return {
81
- 'code': value['code'],
82
- 'name': value['name'],
83
- 'accountType': value['accountType'],
84
- 'subType': value['subType'],
85
- 'parentAccount': value['parentAccount'],
86
- 'status': value['status'],
87
- 'description': value['description'],
88
- 'createdBy': value['createdBy'],
89
- 'updatedBy': value['updatedBy'],
90
- 'createdAt': value['createdAt'],
91
- 'updatedAt': value['updatedAt'],
92
- 'customFields': value['customFields'],
93
- };
94
- }
95
- exports.ChartOfAccountResponseToJSONTyped = ChartOfAccountResponseToJSONTyped;
@@ -1,77 +0,0 @@
1
- /**
2
- * ManageSpace V2 Auth API
3
- * ManageSpace Auth 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 { OrgResponse } from './org-response';
13
- import type { SiteResponse } from './site-response';
14
- /**
15
- *
16
- * @export
17
- * @interface ConfigurationResponse
18
- */
19
- export interface ConfigurationResponse {
20
- /**
21
- * Note ID
22
- * @type {string}
23
- * @memberof ConfigurationResponse
24
- */
25
- id: string;
26
- /**
27
- *
28
- * @type {OrgResponse}
29
- * @memberof ConfigurationResponse
30
- */
31
- org?: OrgResponse;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ConfigurationResponse
36
- */
37
- orgId: string;
38
- /**
39
- *
40
- * @type {SiteResponse}
41
- * @memberof ConfigurationResponse
42
- */
43
- site?: SiteResponse;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof ConfigurationResponse
48
- */
49
- siteId: string;
50
- /**
51
- * Name of setting
52
- * @type {string}
53
- * @memberof ConfigurationResponse
54
- */
55
- name: string;
56
- /**
57
- * Description of setting
58
- * @type {string}
59
- * @memberof ConfigurationResponse
60
- */
61
- description: string;
62
- /**
63
- * Number for Configuration
64
- * @type {number}
65
- * @memberof ConfigurationResponse
66
- */
67
- type: number;
68
- }
69
- /**
70
- * Check if a given object implements the ConfigurationResponse interface.
71
- */
72
- export declare function instanceOfConfigurationResponse(value: object): value is ConfigurationResponse;
73
- export declare function ConfigurationResponseFromJSON(json: any): ConfigurationResponse;
74
- export declare function ConfigurationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfigurationResponse;
75
- export declare function ConfigurationResponseToJSON(json: any): ConfigurationResponse;
76
- export declare function ConfigurationResponseToJSONTyped(value?: ConfigurationResponse | null, ignoreDiscriminator?: boolean): any;
77
- //# sourceMappingURL=configuration-response.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configuration-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/configuration-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAQ7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;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,CAgBhI"}