@managespace/sdk 0.1.121 → 0.1.122

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 (77) hide show
  1. package/dist/extensibility/functions/extensibility-function.d.ts +19 -4
  2. package/dist/extensibility/functions/extensibility-function.d.ts.map +1 -1
  3. package/dist/extensibility/functions/project/billing.d.ts +1 -11
  4. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  5. package/dist/extensibility/functions/project/billing.js +0 -10
  6. package/dist/extensibility/types/step-function-signature.d.ts +6 -2
  7. package/dist/extensibility/types/step-function-signature.d.ts.map +1 -1
  8. package/dist/generated/apis/default-api.d.ts +1 -21
  9. package/dist/generated/apis/default-api.d.ts.map +1 -1
  10. package/dist/generated/apis/default-api.js +0 -64
  11. package/dist/generated/models/create-payment.d.ts +0 -12
  12. package/dist/generated/models/create-payment.d.ts.map +1 -1
  13. package/dist/generated/models/create-payment.js +0 -4
  14. package/dist/generated/models/create-product-custom.d.ts +6 -0
  15. package/dist/generated/models/create-product-custom.d.ts.map +1 -1
  16. package/dist/generated/models/create-product-custom.js +4 -0
  17. package/dist/generated/models/get-payments-query.d.ts +0 -18
  18. package/dist/generated/models/get-payments-query.d.ts.map +1 -1
  19. package/dist/generated/models/get-payments-query.js +0 -6
  20. package/dist/generated/models/index.d.ts +0 -4
  21. package/dist/generated/models/index.d.ts.map +1 -1
  22. package/dist/generated/models/index.js +0 -4
  23. package/dist/generated/models/payment.d.ts +0 -12
  24. package/dist/generated/models/payment.d.ts.map +1 -1
  25. package/dist/generated/models/payment.js +0 -4
  26. package/dist/generated/models/product-custom.d.ts +6 -0
  27. package/dist/generated/models/product-custom.d.ts.map +1 -1
  28. package/dist/generated/models/product-custom.js +4 -0
  29. package/dist/generated/models/update-payment.d.ts +0 -12
  30. package/dist/generated/models/update-payment.d.ts.map +1 -1
  31. package/dist/generated/models/update-payment.js +0 -4
  32. package/dist/generated/models/update-product.d.ts +6 -0
  33. package/dist/generated/models/update-product.d.ts.map +1 -1
  34. package/dist/generated/models/update-product.js +4 -0
  35. package/package.deploy.json +5 -2
  36. package/package.json +5 -2
  37. package/src/extensibility/functions/extensibility-function.ts +18 -3
  38. package/src/extensibility/functions/project/billing.ts +1 -12
  39. package/src/extensibility/types/step-function-signature.ts +6 -2
  40. package/src/generated/.openapi-generator/FILES +0 -4
  41. package/src/generated/apis/default-api.ts +0 -99
  42. package/src/generated/models/create-payment.ts +0 -16
  43. package/src/generated/models/create-product-custom.ts +9 -0
  44. package/src/generated/models/get-payments-query.ts +0 -24
  45. package/src/generated/models/index.ts +0 -4
  46. package/src/generated/models/payment.ts +0 -16
  47. package/src/generated/models/product-custom.ts +9 -0
  48. package/src/generated/models/update-payment.ts +0 -16
  49. package/src/generated/models/update-product.ts +9 -0
  50. package/dist/extensibility/types/extensibility-function-api.d.ts +0 -10
  51. package/dist/extensibility/types/extensibility-function-api.d.ts.map +0 -1
  52. package/dist/extensibility/types/extensibility-function-api.js +0 -2
  53. package/dist/extensibility/types/extensibility-function-signature.d.ts +0 -5
  54. package/dist/extensibility/types/extensibility-function-signature.d.ts.map +0 -1
  55. package/dist/extensibility/types/extensibility-function-signature.js +0 -2
  56. package/dist/extensibility/types/step-function-api.d.ts +0 -7
  57. package/dist/extensibility/types/step-function-api.d.ts.map +0 -1
  58. package/dist/extensibility/types/step-function-api.js +0 -2
  59. package/dist/generated/models/billing-schedule.d.ts +0 -149
  60. package/dist/generated/models/billing-schedule.d.ts.map +0 -1
  61. package/dist/generated/models/billing-schedule.js +0 -129
  62. package/dist/generated/models/get-billing-schedules200-response.d.ts +0 -41
  63. package/dist/generated/models/get-billing-schedules200-response.d.ts.map +0 -1
  64. package/dist/generated/models/get-billing-schedules200-response.js +0 -55
  65. package/dist/generated/models/key-metrics.d.ts +0 -51
  66. package/dist/generated/models/key-metrics.d.ts.map +0 -1
  67. package/dist/generated/models/key-metrics.js +0 -63
  68. package/dist/generated/models/schedule-line.d.ts +0 -154
  69. package/dist/generated/models/schedule-line.d.ts.map +0 -1
  70. package/dist/generated/models/schedule-line.js +0 -132
  71. package/src/extensibility/types/extensibility-function-api.ts +0 -10
  72. package/src/extensibility/types/extensibility-function-signature.ts +0 -16
  73. package/src/extensibility/types/step-function-api.ts +0 -7
  74. package/src/generated/models/billing-schedule.ts +0 -252
  75. package/src/generated/models/get-billing-schedules200-response.ts +0 -89
  76. package/src/generated/models/key-metrics.ts +0 -93
  77. package/src/generated/models/schedule-line.ts +0 -256
@@ -26,7 +26,6 @@ import type {
26
26
  AssetReservations,
27
27
  Assets,
28
28
  BillingRun,
29
- BillingSchedule,
30
29
  Calendar,
31
30
  CalendarEvents,
32
31
  CancelAssetReservations,
@@ -96,7 +95,6 @@ import type {
96
95
  GetAssetFeatures200Response,
97
96
  GetAssets200Response,
98
97
  GetBillingRuns200Response,
99
- GetBillingSchedules200Response,
100
98
  GetCalendars200Response,
101
99
  GetCharges200Response,
102
100
  GetChartOfAccounts200Response,
@@ -240,8 +238,6 @@ import {
240
238
  AssetsToJSON,
241
239
  BillingRunFromJSON,
242
240
  BillingRunToJSON,
243
- BillingScheduleFromJSON,
244
- BillingScheduleToJSON,
245
241
  CalendarFromJSON,
246
242
  CalendarToJSON,
247
243
  CalendarEventsFromJSON,
@@ -380,8 +376,6 @@ import {
380
376
  GetAssets200ResponseToJSON,
381
377
  GetBillingRuns200ResponseFromJSON,
382
378
  GetBillingRuns200ResponseToJSON,
383
- GetBillingSchedules200ResponseFromJSON,
384
- GetBillingSchedules200ResponseToJSON,
385
379
  GetCalendars200ResponseFromJSON,
386
380
  GetCalendars200ResponseToJSON,
387
381
  GetCharges200ResponseFromJSON,
@@ -945,16 +939,6 @@ export interface GetBillingRunsRequest {
945
939
  status?: string;
946
940
  }
947
941
 
948
- export interface GetBillingScheduleRequest {
949
- billingScheduleId: string;
950
- }
951
-
952
- export interface GetBillingSchedulesRequest {
953
- offset?: number;
954
- limit?: number;
955
- subscriptionId?: string;
956
- }
957
-
958
942
  export interface GetCalendarRequest {
959
943
  calendarId: string;
960
944
  }
@@ -4787,89 +4771,6 @@ export class DefaultApi extends runtime.BaseAPI {
4787
4771
  return await response.value();
4788
4772
  }
4789
4773
 
4790
- /**
4791
- */
4792
- async getBillingScheduleRaw(requestParameters: GetBillingScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BillingSchedule>> {
4793
- if (requestParameters['billingScheduleId'] == null) {
4794
- throw new runtime.RequiredError(
4795
- 'billingScheduleId',
4796
- 'Required parameter "billingScheduleId" was null or undefined when calling getBillingSchedule().'
4797
- );
4798
- }
4799
-
4800
- const queryParameters: any = {};
4801
-
4802
- const headerParameters: runtime.HTTPHeaders = {};
4803
-
4804
- if (this.configuration && this.configuration.accessToken) {
4805
- const token = this.configuration.accessToken;
4806
- const tokenString = await token("bearer", []);
4807
-
4808
- if (tokenString) {
4809
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
4810
- }
4811
- }
4812
- const response = await this.request({
4813
- path: `/api/billing/schedules/{billingScheduleId}`.replace(`{${"billingScheduleId"}}`, encodeURIComponent(String(requestParameters['billingScheduleId']))),
4814
- method: 'GET',
4815
- headers: headerParameters,
4816
- query: queryParameters,
4817
- }, initOverrides);
4818
-
4819
- return new runtime.JSONApiResponse(response, (jsonValue) => BillingScheduleFromJSON(jsonValue));
4820
- }
4821
-
4822
- /**
4823
- */
4824
- async getBillingSchedule(requestParameters: GetBillingScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BillingSchedule> {
4825
- const response = await this.getBillingScheduleRaw(requestParameters, initOverrides);
4826
- return await response.value();
4827
- }
4828
-
4829
- /**
4830
- */
4831
- async getBillingSchedulesRaw(requestParameters: GetBillingSchedulesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetBillingSchedules200Response>> {
4832
- const queryParameters: any = {};
4833
-
4834
- if (requestParameters['offset'] != null) {
4835
- queryParameters['offset'] = requestParameters['offset'];
4836
- }
4837
-
4838
- if (requestParameters['limit'] != null) {
4839
- queryParameters['limit'] = requestParameters['limit'];
4840
- }
4841
-
4842
- if (requestParameters['subscriptionId'] != null) {
4843
- queryParameters['subscriptionId'] = requestParameters['subscriptionId'];
4844
- }
4845
-
4846
- const headerParameters: runtime.HTTPHeaders = {};
4847
-
4848
- if (this.configuration && this.configuration.accessToken) {
4849
- const token = this.configuration.accessToken;
4850
- const tokenString = await token("bearer", []);
4851
-
4852
- if (tokenString) {
4853
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
4854
- }
4855
- }
4856
- const response = await this.request({
4857
- path: `/api/billing/schedules`,
4858
- method: 'GET',
4859
- headers: headerParameters,
4860
- query: queryParameters,
4861
- }, initOverrides);
4862
-
4863
- return new runtime.JSONApiResponse(response, (jsonValue) => GetBillingSchedules200ResponseFromJSON(jsonValue));
4864
- }
4865
-
4866
- /**
4867
- */
4868
- async getBillingSchedules(requestParameters: GetBillingSchedulesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBillingSchedules200Response> {
4869
- const response = await this.getBillingSchedulesRaw(requestParameters, initOverrides);
4870
- return await response.value();
4871
- }
4872
-
4873
4774
  /**
4874
4775
  */
4875
4776
  async getCalendarRaw(requestParameters: GetCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Calendar>> {
@@ -190,18 +190,6 @@ export interface CreatePayment {
190
190
  * @memberof CreatePayment
191
191
  */
192
192
  assetId?: string;
193
- /**
194
- * Subscription Id associated with payment
195
- * @type {string}
196
- * @memberof CreatePayment
197
- */
198
- subscriptionId?: string;
199
- /**
200
- * Product Id associated with payment
201
- * @type {string}
202
- * @memberof CreatePayment
203
- */
204
- productId?: string;
205
193
  /**
206
194
  * Order Id to apply payment to
207
195
  * @type {string}
@@ -259,8 +247,6 @@ export function CreatePaymentFromJSONTyped(json: any, ignoreDiscriminator: boole
259
247
  'gatewayName': json['gatewayName'] == null ? undefined : json['gatewayName'],
260
248
  'emailStatus': json['emailStatus'] == null ? undefined : json['emailStatus'],
261
249
  'assetId': json['assetId'] == null ? undefined : json['assetId'],
262
- 'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
263
- 'productId': json['productId'] == null ? undefined : json['productId'],
264
250
  'orderId': json['orderId'] == null ? undefined : json['orderId'],
265
251
  };
266
252
  }
@@ -302,8 +288,6 @@ export function CreatePaymentToJSONTyped(value?: CreatePayment | null, ignoreDis
302
288
  'gatewayName': value['gatewayName'],
303
289
  'emailStatus': value['emailStatus'],
304
290
  'assetId': value['assetId'],
305
- 'subscriptionId': value['subscriptionId'],
306
- 'productId': value['productId'],
307
291
  'orderId': value['orderId'],
308
292
  };
309
293
  }
@@ -112,6 +112,12 @@ export interface CreateProductCustom {
112
112
  * @memberof CreateProductCustom
113
113
  */
114
114
  productTaxGroupName?: string;
115
+ /**
116
+ * Is a one time charge only product
117
+ * @type {boolean}
118
+ * @memberof CreateProductCustom
119
+ */
120
+ oneTimeCharge: boolean;
115
121
  }
116
122
 
117
123
 
@@ -126,6 +132,7 @@ export function instanceOfCreateProductCustom(value: object): value is CreatePro
126
132
  if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined) return false;
127
133
  if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined) return false;
128
134
  if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined) return false;
135
+ if (!('oneTimeCharge' in value) || value['oneTimeCharge'] === undefined) return false;
129
136
  return true;
130
137
  }
131
138
 
@@ -152,6 +159,7 @@ export function CreateProductCustomFromJSONTyped(json: any, ignoreDiscriminator:
152
159
  'customFields': json['customFields'] == null ? undefined : json['customFields'],
153
160
  'incomeAccount': json['incomeAccount'] == null ? undefined : json['incomeAccount'],
154
161
  'productTaxGroupName': json['productTaxGroupName'] == null ? undefined : json['productTaxGroupName'],
162
+ 'oneTimeCharge': json['oneTimeCharge'],
155
163
  };
156
164
  }
157
165
 
@@ -179,6 +187,7 @@ export function CreateProductCustomToJSONTyped(value?: CreateProductCustom | nul
179
187
  'customFields': value['customFields'],
180
188
  'incomeAccount': value['incomeAccount'],
181
189
  'productTaxGroupName': value['productTaxGroupName'],
190
+ 'oneTimeCharge': value['oneTimeCharge'],
182
191
  };
183
192
  }
184
193
 
@@ -65,24 +65,6 @@ export interface GetPaymentsQuery {
65
65
  * @memberof GetPaymentsQuery
66
66
  */
67
67
  customerId?: PluginFilterItem;
68
- /**
69
- * Subscription ID value and operator to filter by
70
- * @type {PluginFilterItem}
71
- * @memberof GetPaymentsQuery
72
- */
73
- subscriptionId?: PluginFilterItem;
74
- /**
75
- * Product ID value and operator to filter by
76
- * @type {PluginFilterItem}
77
- * @memberof GetPaymentsQuery
78
- */
79
- productId?: PluginFilterItem;
80
- /**
81
- * Unapplied amount value and operator to filter by
82
- * @type {PluginFilterItem}
83
- * @memberof GetPaymentsQuery
84
- */
85
- unappliedAmount?: PluginFilterItem;
86
68
  /**
87
69
  * Payment Run ID value and operator to filter by
88
70
  * @type {PluginFilterItem}
@@ -118,9 +100,6 @@ export function GetPaymentsQueryFromJSONTyped(json: any, ignoreDiscriminator: bo
118
100
  'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
119
101
  'status': json['status'] == null ? undefined : PluginFilterItemFromJSON(json['status']),
120
102
  'customerId': json['customerId'] == null ? undefined : PluginFilterItemFromJSON(json['customerId']),
121
- 'subscriptionId': json['subscriptionId'] == null ? undefined : PluginFilterItemFromJSON(json['subscriptionId']),
122
- 'productId': json['productId'] == null ? undefined : PluginFilterItemFromJSON(json['productId']),
123
- 'unappliedAmount': json['unappliedAmount'] == null ? undefined : PluginFilterItemFromJSON(json['unappliedAmount']),
124
103
  'paymentRunId': json['paymentRunId'] == null ? undefined : PluginFilterItemFromJSON(json['paymentRunId']),
125
104
  'paymentMethod': json['paymentMethod'] == null ? undefined : PluginFilterItemFromJSON(json['paymentMethod']),
126
105
  };
@@ -141,9 +120,6 @@ export function GetPaymentsQueryToJSONTyped(value?: GetPaymentsQuery | null, ign
141
120
  'sort': SortOrderToJSON(value['sort']),
142
121
  'status': PluginFilterItemToJSON(value['status']),
143
122
  'customerId': PluginFilterItemToJSON(value['customerId']),
144
- 'subscriptionId': PluginFilterItemToJSON(value['subscriptionId']),
145
- 'productId': PluginFilterItemToJSON(value['productId']),
146
- 'unappliedAmount': PluginFilterItemToJSON(value['unappliedAmount']),
147
123
  'paymentRunId': PluginFilterItemToJSON(value['paymentRunId']),
148
124
  'paymentMethod': PluginFilterItemToJSON(value['paymentMethod']),
149
125
  };
@@ -15,7 +15,6 @@ export * from './base-pagination-query';
15
15
  export * from './billing-run';
16
16
  export * from './billing-run-filter-condition';
17
17
  export * from './billing-run-filter-options';
18
- export * from './billing-schedule';
19
18
  export * from './calendar';
20
19
  export * from './calendar-events';
21
20
  export * from './cancel-asset-reservations';
@@ -112,7 +111,6 @@ export * from './get-asset-classes200-response';
112
111
  export * from './get-asset-features200-response';
113
112
  export * from './get-assets200-response';
114
113
  export * from './get-billing-runs200-response';
115
- export * from './get-billing-schedules200-response';
116
114
  export * from './get-calendars200-response';
117
115
  export * from './get-charges200-response';
118
116
  export * from './get-chart-of-accounts200-response';
@@ -158,7 +156,6 @@ export * from './insured-roll-report-filters';
158
156
  export * from './intent';
159
157
  export * from './invoice';
160
158
  export * from './invoice-contact';
161
- export * from './key-metrics';
162
159
  export * from './lease-status';
163
160
  export * from './line-item';
164
161
  export * from './link-plugin';
@@ -221,7 +218,6 @@ export * from './roles1';
221
218
  export * from './roles2';
222
219
  export * from './roles3';
223
220
  export * from './roles4';
224
- export * from './schedule-line';
225
221
  export * from './send-email';
226
222
  export * from './send-sms';
227
223
  export * from './separate-assets-custom';
@@ -190,18 +190,6 @@ export interface Payment {
190
190
  * @memberof Payment
191
191
  */
192
192
  assetId?: string;
193
- /**
194
- * Subscription Id associated with payment
195
- * @type {string}
196
- * @memberof Payment
197
- */
198
- subscriptionId?: string;
199
- /**
200
- * Product Id associated with payment
201
- * @type {string}
202
- * @memberof Payment
203
- */
204
- productId?: string;
205
193
  /**
206
194
  * Order Id to apply payment to
207
195
  * @type {string}
@@ -315,8 +303,6 @@ export function PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
315
303
  'gatewayName': json['gatewayName'] == null ? undefined : json['gatewayName'],
316
304
  'emailStatus': json['emailStatus'] == null ? undefined : json['emailStatus'],
317
305
  'assetId': json['assetId'] == null ? undefined : json['assetId'],
318
- 'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
319
- 'productId': json['productId'] == null ? undefined : json['productId'],
320
306
  'orderId': json['orderId'] == null ? undefined : json['orderId'],
321
307
  'id': json['id'],
322
308
  'customerName': json['customerName'],
@@ -366,8 +352,6 @@ export function PaymentToJSONTyped(value?: Payment | null, ignoreDiscriminator:
366
352
  'gatewayName': value['gatewayName'],
367
353
  'emailStatus': value['emailStatus'],
368
354
  'assetId': value['assetId'],
369
- 'subscriptionId': value['subscriptionId'],
370
- 'productId': value['productId'],
371
355
  'orderId': value['orderId'],
372
356
  'id': value['id'],
373
357
  'customerName': value['customerName'],
@@ -112,6 +112,12 @@ export interface ProductCustom {
112
112
  * @memberof ProductCustom
113
113
  */
114
114
  productTaxGroupName?: string;
115
+ /**
116
+ * Is a one time charge only product
117
+ * @type {boolean}
118
+ * @memberof ProductCustom
119
+ */
120
+ oneTimeCharge: boolean;
115
121
  /**
116
122
  * Product ID
117
123
  * @type {string}
@@ -132,6 +138,7 @@ export function instanceOfProductCustom(value: object): value is ProductCustom {
132
138
  if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined) return false;
133
139
  if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined) return false;
134
140
  if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined) return false;
141
+ if (!('oneTimeCharge' in value) || value['oneTimeCharge'] === undefined) return false;
135
142
  if (!('id' in value) || value['id'] === undefined) return false;
136
143
  return true;
137
144
  }
@@ -159,6 +166,7 @@ export function ProductCustomFromJSONTyped(json: any, ignoreDiscriminator: boole
159
166
  'customFields': json['customFields'] == null ? undefined : json['customFields'],
160
167
  'incomeAccount': json['incomeAccount'] == null ? undefined : json['incomeAccount'],
161
168
  'productTaxGroupName': json['productTaxGroupName'] == null ? undefined : json['productTaxGroupName'],
169
+ 'oneTimeCharge': json['oneTimeCharge'],
162
170
  'id': json['id'],
163
171
  };
164
172
  }
@@ -187,6 +195,7 @@ export function ProductCustomToJSONTyped(value?: ProductCustom | null, ignoreDis
187
195
  'customFields': value['customFields'],
188
196
  'incomeAccount': value['incomeAccount'],
189
197
  'productTaxGroupName': value['productTaxGroupName'],
198
+ 'oneTimeCharge': value['oneTimeCharge'],
190
199
  'id': value['id'],
191
200
  };
192
201
  }
@@ -190,18 +190,6 @@ export interface UpdatePayment {
190
190
  * @memberof UpdatePayment
191
191
  */
192
192
  assetId?: string;
193
- /**
194
- * Subscription Id associated with payment
195
- * @type {string}
196
- * @memberof UpdatePayment
197
- */
198
- subscriptionId?: string;
199
- /**
200
- * Product Id associated with payment
201
- * @type {string}
202
- * @memberof UpdatePayment
203
- */
204
- productId?: string;
205
193
  /**
206
194
  * Order Id to apply payment to
207
195
  * @type {string}
@@ -259,8 +247,6 @@ export function UpdatePaymentFromJSONTyped(json: any, ignoreDiscriminator: boole
259
247
  'gatewayName': json['gatewayName'] == null ? undefined : json['gatewayName'],
260
248
  'emailStatus': json['emailStatus'] == null ? undefined : json['emailStatus'],
261
249
  'assetId': json['assetId'] == null ? undefined : json['assetId'],
262
- 'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
263
- 'productId': json['productId'] == null ? undefined : json['productId'],
264
250
  'orderId': json['orderId'] == null ? undefined : json['orderId'],
265
251
  };
266
252
  }
@@ -302,8 +288,6 @@ export function UpdatePaymentToJSONTyped(value?: UpdatePayment | null, ignoreDis
302
288
  'gatewayName': value['gatewayName'],
303
289
  'emailStatus': value['emailStatus'],
304
290
  'assetId': value['assetId'],
305
- 'subscriptionId': value['subscriptionId'],
306
- 'productId': value['productId'],
307
291
  'orderId': value['orderId'],
308
292
  };
309
293
  }
@@ -112,6 +112,12 @@ export interface UpdateProduct {
112
112
  * @memberof UpdateProduct
113
113
  */
114
114
  productTaxGroupName?: string;
115
+ /**
116
+ * Is a one time charge only product
117
+ * @type {boolean}
118
+ * @memberof UpdateProduct
119
+ */
120
+ oneTimeCharge: boolean;
115
121
  }
116
122
 
117
123
 
@@ -126,6 +132,7 @@ export function instanceOfUpdateProduct(value: object): value is UpdateProduct {
126
132
  if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined) return false;
127
133
  if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined) return false;
128
134
  if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined) return false;
135
+ if (!('oneTimeCharge' in value) || value['oneTimeCharge'] === undefined) return false;
129
136
  return true;
130
137
  }
131
138
 
@@ -152,6 +159,7 @@ export function UpdateProductFromJSONTyped(json: any, ignoreDiscriminator: boole
152
159
  'customFields': json['customFields'] == null ? undefined : json['customFields'],
153
160
  'incomeAccount': json['incomeAccount'] == null ? undefined : json['incomeAccount'],
154
161
  'productTaxGroupName': json['productTaxGroupName'] == null ? undefined : json['productTaxGroupName'],
162
+ 'oneTimeCharge': json['oneTimeCharge'],
155
163
  };
156
164
  }
157
165
 
@@ -179,6 +187,7 @@ export function UpdateProductToJSONTyped(value?: UpdateProduct | null, ignoreDis
179
187
  'customFields': value['customFields'],
180
188
  'incomeAccount': value['incomeAccount'],
181
189
  'productTaxGroupName': value['productTaxGroupName'],
190
+ 'oneTimeCharge': value['oneTimeCharge'],
182
191
  };
183
192
  }
184
193
 
@@ -1,10 +0,0 @@
1
- import { DefaultApi } from '../../generated';
2
- export type ExFnApi = DefaultApi & {
3
- configurationSettings: {
4
- [key: string]: string | number | boolean | Record<string, unknown>;
5
- };
6
- secrets: {
7
- [key: string]: any;
8
- };
9
- };
10
- //# sourceMappingURL=extensibility-function-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extensibility-function-api.d.ts","sourceRoot":"","sources":["../../../src/extensibility/types/extensibility-function-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG;IAC/B,qBAAqB,EAAE;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACtE,CAAC;IACF,OAAO,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACtB,CAAC;CACL,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { ExtBasePayload, ExtPlugin, ExtReturnType } from './extensibility';
2
- import { ExFnApi } from './extensibility-function-api';
3
- export type ExtensibilityFunctionSignature<T extends ExtPlugin> = (payload: ExtBasePayload & T['payload'], api: ExFnApi) => Promise<ExtReturnType<T['responseType']>>;
4
- export type ReplicaExtensibilityFunctionSignature<T extends ExtPlugin, DB = unknown> = (payload: ExtBasePayload & T['payload'], companyId: string, db: DB) => Promise<ExtReturnType<T['responseType']>>;
5
- //# sourceMappingURL=extensibility-function-signature.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extensibility-function-signature.d.ts","sourceRoot":"","sources":["../../../src/extensibility/types/extensibility-function-signature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,MAAM,MAAM,8BAA8B,CAAC,CAAC,SAAS,SAAS,IAAI,CAC9D,OAAO,EAAE,cAAc,GAAG,CAAC,CAAC,SAAS,CAAC,EACtC,GAAG,EAAE,OAAO,KACX,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAE/C,MAAM,MAAM,qCAAqC,CAC7C,CAAC,SAAS,SAAS,EACnB,EAAE,GAAG,OAAO,IACZ,CACA,OAAO,EAAE,cAAc,GAAG,CAAC,CAAC,SAAS,CAAC,EACtC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,EAAE,KACL,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import { DefaultApi } from '../../generated';
2
- export type StepFunctionApi = DefaultApi & {
3
- configurationSettings: {
4
- [key: string]: string | number | boolean | Record<string, unknown>;
5
- };
6
- };
7
- //# sourceMappingURL=step-function-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"step-function-api.d.ts","sourceRoot":"","sources":["../../../src/extensibility/types/step-function-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACvC,qBAAqB,EAAE;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACtE,CAAC;CACL,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,149 +0,0 @@
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 { KeyMetrics } from './key-metrics';
13
- import type { ScheduleLine } from './schedule-line';
14
- /**
15
- *
16
- * @export
17
- * @interface BillingSchedule
18
- */
19
- export interface BillingSchedule {
20
- /**
21
- * Billing Schedule ID
22
- * @type {string}
23
- * @memberof BillingSchedule
24
- */
25
- id: string;
26
- /**
27
- * Billing Schedule UUID
28
- * @type {string}
29
- * @memberof BillingSchedule
30
- */
31
- uuid: string;
32
- /**
33
- * Customer ID
34
- * @type {string}
35
- * @memberof BillingSchedule
36
- */
37
- customerId: string;
38
- /**
39
- * Customer Name
40
- * @type {string}
41
- * @memberof BillingSchedule
42
- */
43
- customerName: string;
44
- /**
45
- * Subscription ID
46
- * @type {string}
47
- * @memberof BillingSchedule
48
- */
49
- subscriptionId: string;
50
- /**
51
- * Product ID
52
- * @type {string}
53
- * @memberof BillingSchedule
54
- */
55
- productId: string;
56
- /**
57
- * Product Name
58
- * @type {string}
59
- * @memberof BillingSchedule
60
- */
61
- productName: string;
62
- /**
63
- * Charge ID
64
- * @type {string}
65
- * @memberof BillingSchedule
66
- */
67
- chargeId: string;
68
- /**
69
- * Charge Name
70
- * @type {string}
71
- * @memberof BillingSchedule
72
- */
73
- chargeName: string;
74
- /**
75
- * Charge Type
76
- * @type {string}
77
- * @memberof BillingSchedule
78
- */
79
- chargeType: string;
80
- /**
81
- * Charge Timing
82
- * @type {string}
83
- * @memberof BillingSchedule
84
- */
85
- chargeTiming: string;
86
- /**
87
- * The first billing date for this charge
88
- * @type {string}
89
- * @memberof BillingSchedule
90
- */
91
- startDate: string;
92
- /**
93
- * The last billing date for this charge
94
- * @type {string}
95
- * @memberof BillingSchedule
96
- */
97
- endDate: string;
98
- /**
99
- * Key metrics for the billing schedule
100
- * @type {KeyMetrics}
101
- * @memberof BillingSchedule
102
- */
103
- keyMetrics: KeyMetrics;
104
- /**
105
- * The currency for the billing schedule
106
- * @type {string}
107
- * @memberof BillingSchedule
108
- */
109
- currency: string;
110
- /**
111
- * When the billing schedule was created
112
- * @type {string}
113
- * @memberof BillingSchedule
114
- */
115
- createdAt: string;
116
- /**
117
- * When the billing schedule was last updated
118
- * @type {string}
119
- * @memberof BillingSchedule
120
- */
121
- updatedAt: string;
122
- /**
123
- * The email of the user who created the billing schedule
124
- * @type {string}
125
- * @memberof BillingSchedule
126
- */
127
- createdBy: string;
128
- /**
129
- * The email of the user who last updated the billing schedule
130
- * @type {string}
131
- * @memberof BillingSchedule
132
- */
133
- updatedBy: string;
134
- /**
135
- * The schedule lines for the billing schedule
136
- * @type {Array<ScheduleLine>}
137
- * @memberof BillingSchedule
138
- */
139
- scheduleLines: Array<ScheduleLine>;
140
- }
141
- /**
142
- * Check if a given object implements the BillingSchedule interface.
143
- */
144
- export declare function instanceOfBillingSchedule(value: object): value is BillingSchedule;
145
- export declare function BillingScheduleFromJSON(json: any): BillingSchedule;
146
- export declare function BillingScheduleFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingSchedule;
147
- export declare function BillingScheduleToJSON(json: any): BillingSchedule;
148
- export declare function BillingScheduleToJSONTyped(value?: BillingSchedule | null, ignoreDiscriminator?: boolean): any;
149
- //# sourceMappingURL=billing-schedule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billing-schedule.d.ts","sourceRoot":"","sources":["../../../src/generated/models/billing-schedule.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAOhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;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,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAsBjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CA2BrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA4BpH"}