lark-billing 0.5.0 → 0.7.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/CHANGELOG.md +25 -0
- package/LICENSE +1 -1
- package/README.md +9 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/rate-cards.d.mts +29 -0
- package/resources/rate-cards.d.mts.map +1 -1
- package/resources/rate-cards.d.ts +29 -0
- package/resources/rate-cards.d.ts.map +1 -1
- package/resources/rate-cards.js +2 -0
- package/resources/rate-cards.js.map +1 -1
- package/resources/rate-cards.mjs +2 -0
- package/resources/rate-cards.mjs.map +1 -1
- package/resources/rate-catalogs.d.mts +416 -0
- package/resources/rate-catalogs.d.mts.map +1 -0
- package/resources/rate-catalogs.d.ts +416 -0
- package/resources/rate-catalogs.d.ts.map +1 -0
- package/resources/rate-catalogs.js +75 -0
- package/resources/rate-catalogs.js.map +1 -0
- package/resources/rate-catalogs.mjs +71 -0
- package/resources/rate-catalogs.mjs.map +1 -0
- package/resources/subjects.d.mts +3 -3
- package/resources/subjects.d.mts.map +1 -1
- package/resources/subjects.d.ts +3 -3
- package/resources/subjects.d.ts.map +1 -1
- package/resources/subscriptions.d.mts +34 -0
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +34 -0
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +2 -0
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +2 -0
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/usage-events.d.mts +2 -2
- package/resources/usage-events.d.ts +2 -2
- package/resources/usage-events.js +2 -2
- package/resources/usage-events.mjs +2 -2
- package/src/client.ts +27 -0
- package/src/resources/index.ts +12 -0
- package/src/resources/rate-cards.ts +37 -0
- package/src/resources/rate-catalogs.ts +597 -0
- package/src/resources/subjects.ts +3 -3
- package/src/resources/subscriptions.ts +30 -0
- package/src/resources/usage-events.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -15,7 +15,9 @@ export declare class Subscriptions extends APIResource {
|
|
|
15
15
|
* cancelled_url: 'https://example.com/try-again',
|
|
16
16
|
* success_url: 'https://example.com/welcome',
|
|
17
17
|
* },
|
|
18
|
+
* fixed_rate_quantities: { seats: '2', addon_storage: '0' },
|
|
18
19
|
* metadata: {},
|
|
20
|
+
* rate_price_multipliers: { seats: '0.5' },
|
|
19
21
|
* });
|
|
20
22
|
* ```
|
|
21
23
|
*/
|
|
@@ -102,6 +104,12 @@ export interface SubscriptionResource {
|
|
|
102
104
|
* The date and time the subscription became effective.
|
|
103
105
|
*/
|
|
104
106
|
effective_at: string;
|
|
107
|
+
/**
|
|
108
|
+
* The quantities of the fixed rates of the subscription.
|
|
109
|
+
*/
|
|
110
|
+
fixed_rate_quantities: {
|
|
111
|
+
[key: string]: string;
|
|
112
|
+
};
|
|
105
113
|
metadata: {
|
|
106
114
|
[key: string]: string;
|
|
107
115
|
};
|
|
@@ -109,6 +117,12 @@ export interface SubscriptionResource {
|
|
|
109
117
|
* The ID of the rate card of the subscription.
|
|
110
118
|
*/
|
|
111
119
|
rate_card_id: string;
|
|
120
|
+
/**
|
|
121
|
+
* The price multipliers of the rates of the subscription.
|
|
122
|
+
*/
|
|
123
|
+
rate_price_multipliers: {
|
|
124
|
+
[key: string]: string;
|
|
125
|
+
};
|
|
112
126
|
/**
|
|
113
127
|
* The status of the subscription.
|
|
114
128
|
*/
|
|
@@ -226,6 +240,15 @@ export interface SubscriptionCreateParams {
|
|
|
226
240
|
* and billed for immediately (if for a paid plan).
|
|
227
241
|
*/
|
|
228
242
|
create_checkout_session?: 'when_required' | 'always';
|
|
243
|
+
/**
|
|
244
|
+
* The quantities of the fixed rates to use for the subscription. Each quantity
|
|
245
|
+
* should be specified as a key-value pair, where the key is the `code` of the
|
|
246
|
+
* fixed rate and the value is the quantity. All fixed rates must have a quantity
|
|
247
|
+
* specified.
|
|
248
|
+
*/
|
|
249
|
+
fixed_rate_quantities?: {
|
|
250
|
+
[key: string]: number | string;
|
|
251
|
+
};
|
|
229
252
|
/**
|
|
230
253
|
* Additional metadata about the subscription. You may use this to store any custom
|
|
231
254
|
* data about the subscription.
|
|
@@ -233,6 +256,17 @@ export interface SubscriptionCreateParams {
|
|
|
233
256
|
metadata?: {
|
|
234
257
|
[key: string]: string;
|
|
235
258
|
};
|
|
259
|
+
/**
|
|
260
|
+
* Pricing multipliers to apply to the rate amounts. Each price multiplier should
|
|
261
|
+
* be specified as a key-value pair, where the key is the `code` of the rate and
|
|
262
|
+
* the value is the price multiplier. Typically, pricing multipliers are used to
|
|
263
|
+
* apply a discount to a rate. For example, if a rate is $10 per seat and the price
|
|
264
|
+
* multiplier for the `seats` rate is 0.5, the discounted rate amount will be $5
|
|
265
|
+
* per seat.
|
|
266
|
+
*/
|
|
267
|
+
rate_price_multipliers?: {
|
|
268
|
+
[key: string]: number | string;
|
|
269
|
+
};
|
|
236
270
|
}
|
|
237
271
|
export interface SubscriptionListParams {
|
|
238
272
|
limit?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.mts","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|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AC;CAC7D;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAEjD;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,SAAS,GAAG,iBAAiB,CAAC;CAClD;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -15,7 +15,9 @@ export declare class Subscriptions extends APIResource {
|
|
|
15
15
|
* cancelled_url: 'https://example.com/try-again',
|
|
16
16
|
* success_url: 'https://example.com/welcome',
|
|
17
17
|
* },
|
|
18
|
+
* fixed_rate_quantities: { seats: '2', addon_storage: '0' },
|
|
18
19
|
* metadata: {},
|
|
20
|
+
* rate_price_multipliers: { seats: '0.5' },
|
|
19
21
|
* });
|
|
20
22
|
* ```
|
|
21
23
|
*/
|
|
@@ -102,6 +104,12 @@ export interface SubscriptionResource {
|
|
|
102
104
|
* The date and time the subscription became effective.
|
|
103
105
|
*/
|
|
104
106
|
effective_at: string;
|
|
107
|
+
/**
|
|
108
|
+
* The quantities of the fixed rates of the subscription.
|
|
109
|
+
*/
|
|
110
|
+
fixed_rate_quantities: {
|
|
111
|
+
[key: string]: string;
|
|
112
|
+
};
|
|
105
113
|
metadata: {
|
|
106
114
|
[key: string]: string;
|
|
107
115
|
};
|
|
@@ -109,6 +117,12 @@ export interface SubscriptionResource {
|
|
|
109
117
|
* The ID of the rate card of the subscription.
|
|
110
118
|
*/
|
|
111
119
|
rate_card_id: string;
|
|
120
|
+
/**
|
|
121
|
+
* The price multipliers of the rates of the subscription.
|
|
122
|
+
*/
|
|
123
|
+
rate_price_multipliers: {
|
|
124
|
+
[key: string]: string;
|
|
125
|
+
};
|
|
112
126
|
/**
|
|
113
127
|
* The status of the subscription.
|
|
114
128
|
*/
|
|
@@ -226,6 +240,15 @@ export interface SubscriptionCreateParams {
|
|
|
226
240
|
* and billed for immediately (if for a paid plan).
|
|
227
241
|
*/
|
|
228
242
|
create_checkout_session?: 'when_required' | 'always';
|
|
243
|
+
/**
|
|
244
|
+
* The quantities of the fixed rates to use for the subscription. Each quantity
|
|
245
|
+
* should be specified as a key-value pair, where the key is the `code` of the
|
|
246
|
+
* fixed rate and the value is the quantity. All fixed rates must have a quantity
|
|
247
|
+
* specified.
|
|
248
|
+
*/
|
|
249
|
+
fixed_rate_quantities?: {
|
|
250
|
+
[key: string]: number | string;
|
|
251
|
+
};
|
|
229
252
|
/**
|
|
230
253
|
* Additional metadata about the subscription. You may use this to store any custom
|
|
231
254
|
* data about the subscription.
|
|
@@ -233,6 +256,17 @@ export interface SubscriptionCreateParams {
|
|
|
233
256
|
metadata?: {
|
|
234
257
|
[key: string]: string;
|
|
235
258
|
};
|
|
259
|
+
/**
|
|
260
|
+
* Pricing multipliers to apply to the rate amounts. Each price multiplier should
|
|
261
|
+
* be specified as a key-value pair, where the key is the `code` of the rate and
|
|
262
|
+
* the value is the price multiplier. Typically, pricing multipliers are used to
|
|
263
|
+
* apply a discount to a rate. For example, if a rate is $10 per seat and the price
|
|
264
|
+
* multiplier for the `seats` rate is 0.5, the discounted rate amount will be $5
|
|
265
|
+
* per seat.
|
|
266
|
+
*/
|
|
267
|
+
rate_price_multipliers?: {
|
|
268
|
+
[key: string]: number | string;
|
|
269
|
+
};
|
|
236
270
|
}
|
|
237
271
|
export interface SubscriptionListParams {
|
|
238
272
|
limit?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIxG;;;;;;;;OAQG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;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WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -17,7 +17,9 @@ class Subscriptions extends resource_1.APIResource {
|
|
|
17
17
|
* cancelled_url: 'https://example.com/try-again',
|
|
18
18
|
* success_url: 'https://example.com/welcome',
|
|
19
19
|
* },
|
|
20
|
+
* fixed_rate_quantities: { seats: '2', addon_storage: '0' },
|
|
20
21
|
* metadata: {},
|
|
22
|
+
* rate_price_multipliers: { seats: '0.5' },
|
|
21
23
|
* });
|
|
22
24
|
* ```
|
|
23
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,CACZ,cAAsB,EACtB,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF;AA/FD,sCA+FC"}
|
|
@@ -14,7 +14,9 @@ export class Subscriptions extends APIResource {
|
|
|
14
14
|
* cancelled_url: 'https://example.com/try-again',
|
|
15
15
|
* success_url: 'https://example.com/welcome',
|
|
16
16
|
* },
|
|
17
|
+
* fixed_rate_quantities: { seats: '2', addon_storage: '0' },
|
|
17
18
|
* metadata: {},
|
|
19
|
+
* rate_price_multipliers: { seats: '0.5' },
|
|
18
20
|
* });
|
|
19
21
|
* ```
|
|
20
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.mjs","sourceRoot":"","sources":["../src/resources/subscriptions.ts"],"names":[],"mappings":"AAAA,s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AAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF"}
|
|
@@ -14,9 +14,9 @@ export declare class UsageEvents extends APIResource {
|
|
|
14
14
|
* region: 'us-east-1',
|
|
15
15
|
* },
|
|
16
16
|
* event_name: 'job_completed',
|
|
17
|
-
* idempotency_key: '
|
|
17
|
+
* idempotency_key: '5ee29f5a-ff4d-4265-8029-bf29e465f5dc',
|
|
18
18
|
* subject_id: 'subj_VyX6Q96h5avMho8O7QWlKeXE',
|
|
19
|
-
* timestamp: '
|
|
19
|
+
* timestamp: '2026-01-13T22:50:12.390246+00:00',
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
@@ -14,9 +14,9 @@ export declare class UsageEvents extends APIResource {
|
|
|
14
14
|
* region: 'us-east-1',
|
|
15
15
|
* },
|
|
16
16
|
* event_name: 'job_completed',
|
|
17
|
-
* idempotency_key: '
|
|
17
|
+
* idempotency_key: '5ee29f5a-ff4d-4265-8029-bf29e465f5dc',
|
|
18
18
|
* subject_id: 'subj_VyX6Q96h5avMho8O7QWlKeXE',
|
|
19
|
-
* timestamp: '
|
|
19
|
+
* timestamp: '2026-01-13T22:50:12.390246+00:00',
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
@@ -16,9 +16,9 @@ class UsageEvents extends resource_1.APIResource {
|
|
|
16
16
|
* region: 'us-east-1',
|
|
17
17
|
* },
|
|
18
18
|
* event_name: 'job_completed',
|
|
19
|
-
* idempotency_key: '
|
|
19
|
+
* idempotency_key: '5ee29f5a-ff4d-4265-8029-bf29e465f5dc',
|
|
20
20
|
* subject_id: 'subj_VyX6Q96h5avMho8O7QWlKeXE',
|
|
21
|
-
* timestamp: '
|
|
21
|
+
* timestamp: '2026-01-13T22:50:12.390246+00:00',
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
@@ -13,9 +13,9 @@ export class UsageEvents extends APIResource {
|
|
|
13
13
|
* region: 'us-east-1',
|
|
14
14
|
* },
|
|
15
15
|
* event_name: 'job_completed',
|
|
16
|
-
* idempotency_key: '
|
|
16
|
+
* idempotency_key: '5ee29f5a-ff4d-4265-8029-bf29e465f5dc',
|
|
17
17
|
* subject_id: 'subj_VyX6Q96h5avMho8O7QWlKeXE',
|
|
18
|
-
* timestamp: '
|
|
18
|
+
* timestamp: '2026-01-13T22:50:12.390246+00:00',
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
package/src/client.ts
CHANGED
|
@@ -45,6 +45,18 @@ import {
|
|
|
45
45
|
RateCardResource,
|
|
46
46
|
RateCards,
|
|
47
47
|
} from './resources/rate-cards';
|
|
48
|
+
import {
|
|
49
|
+
RateCatalogAddRatesParams,
|
|
50
|
+
RateCatalogAddRatesResponse,
|
|
51
|
+
RateCatalogCreateParams,
|
|
52
|
+
RateCatalogCreateResponse,
|
|
53
|
+
RateCatalogListParams,
|
|
54
|
+
RateCatalogListRatesParams,
|
|
55
|
+
RateCatalogListRatesResponse,
|
|
56
|
+
RateCatalogListResponse,
|
|
57
|
+
RateCatalogRetrieveResponse,
|
|
58
|
+
RateCatalogs,
|
|
59
|
+
} from './resources/rate-catalogs';
|
|
48
60
|
import {
|
|
49
61
|
SubjectCreateParams,
|
|
50
62
|
SubjectCreateResponse,
|
|
@@ -773,6 +785,7 @@ export class Lark {
|
|
|
773
785
|
pricingMetrics: API.PricingMetrics = new API.PricingMetrics(this);
|
|
774
786
|
customerAccess: API.CustomerAccess = new API.CustomerAccess(this);
|
|
775
787
|
invoices: API.Invoices = new API.Invoices(this);
|
|
788
|
+
rateCatalogs: API.RateCatalogs = new API.RateCatalogs(this);
|
|
776
789
|
}
|
|
777
790
|
|
|
778
791
|
Lark.CustomerPortal = CustomerPortal;
|
|
@@ -783,6 +796,7 @@ Lark.Subjects = Subjects;
|
|
|
783
796
|
Lark.PricingMetrics = PricingMetrics;
|
|
784
797
|
Lark.CustomerAccess = CustomerAccess;
|
|
785
798
|
Lark.Invoices = Invoices;
|
|
799
|
+
Lark.RateCatalogs = RateCatalogs;
|
|
786
800
|
|
|
787
801
|
export declare namespace Lark {
|
|
788
802
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -858,4 +872,17 @@ export declare namespace Lark {
|
|
|
858
872
|
type InvoiceListResponse as InvoiceListResponse,
|
|
859
873
|
type InvoiceListParams as InvoiceListParams,
|
|
860
874
|
};
|
|
875
|
+
|
|
876
|
+
export {
|
|
877
|
+
RateCatalogs as RateCatalogs,
|
|
878
|
+
type RateCatalogCreateResponse as RateCatalogCreateResponse,
|
|
879
|
+
type RateCatalogRetrieveResponse as RateCatalogRetrieveResponse,
|
|
880
|
+
type RateCatalogListResponse as RateCatalogListResponse,
|
|
881
|
+
type RateCatalogAddRatesResponse as RateCatalogAddRatesResponse,
|
|
882
|
+
type RateCatalogListRatesResponse as RateCatalogListRatesResponse,
|
|
883
|
+
type RateCatalogCreateParams as RateCatalogCreateParams,
|
|
884
|
+
type RateCatalogListParams as RateCatalogListParams,
|
|
885
|
+
type RateCatalogAddRatesParams as RateCatalogAddRatesParams,
|
|
886
|
+
type RateCatalogListRatesParams as RateCatalogListRatesParams,
|
|
887
|
+
};
|
|
861
888
|
}
|
package/src/resources/index.ts
CHANGED
|
@@ -29,6 +29,18 @@ export {
|
|
|
29
29
|
type RateCardCreateParams,
|
|
30
30
|
type RateCardListParams,
|
|
31
31
|
} from './rate-cards';
|
|
32
|
+
export {
|
|
33
|
+
RateCatalogs,
|
|
34
|
+
type RateCatalogCreateResponse,
|
|
35
|
+
type RateCatalogRetrieveResponse,
|
|
36
|
+
type RateCatalogListResponse,
|
|
37
|
+
type RateCatalogAddRatesResponse,
|
|
38
|
+
type RateCatalogListRatesResponse,
|
|
39
|
+
type RateCatalogCreateParams,
|
|
40
|
+
type RateCatalogListParams,
|
|
41
|
+
type RateCatalogAddRatesParams,
|
|
42
|
+
type RateCatalogListRatesParams,
|
|
43
|
+
} from './rate-catalogs';
|
|
32
44
|
export {
|
|
33
45
|
Subjects,
|
|
34
46
|
type SubjectResource,
|
|
@@ -21,6 +21,7 @@ export class RateCards extends APIResource {
|
|
|
21
21
|
* fixed_rates: [
|
|
22
22
|
* {
|
|
23
23
|
* name: 'Base Rate',
|
|
24
|
+
* code: 'base_rate',
|
|
24
25
|
* price: {
|
|
25
26
|
* price_type: 'flat',
|
|
26
27
|
* amount: { value: 2500, currency_code: 'usd' },
|
|
@@ -32,6 +33,7 @@ export class RateCards extends APIResource {
|
|
|
32
33
|
* {
|
|
33
34
|
* usage_based_rate_type: 'simple',
|
|
34
35
|
* name: 'Compute Hours',
|
|
36
|
+
* code: 'compute_hours',
|
|
35
37
|
* price: {
|
|
36
38
|
* price_type: 'flat',
|
|
37
39
|
* amount: { value: 100, currency_code: 'usd' },
|
|
@@ -185,12 +187,19 @@ export interface RateCardResource {
|
|
|
185
187
|
* The description of the rate card.
|
|
186
188
|
*/
|
|
187
189
|
description?: string | null;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* The ID of the rate catalog associated with this rate card.
|
|
193
|
+
*/
|
|
194
|
+
rate_catalog_id?: string | null;
|
|
188
195
|
}
|
|
189
196
|
|
|
190
197
|
export namespace RateCardResource {
|
|
191
198
|
export interface FixedRate {
|
|
192
199
|
id: string;
|
|
193
200
|
|
|
201
|
+
code: string;
|
|
202
|
+
|
|
194
203
|
description: string | null;
|
|
195
204
|
|
|
196
205
|
name: string;
|
|
@@ -204,6 +213,8 @@ export namespace RateCardResource {
|
|
|
204
213
|
export interface SimpleUsageBasedRateInterface {
|
|
205
214
|
id: string;
|
|
206
215
|
|
|
216
|
+
code: string;
|
|
217
|
+
|
|
207
218
|
description: string | null;
|
|
208
219
|
|
|
209
220
|
included_units: number;
|
|
@@ -223,6 +234,8 @@ export namespace RateCardResource {
|
|
|
223
234
|
export interface DimensionalUsageBasedRateInterface {
|
|
224
235
|
id: string;
|
|
225
236
|
|
|
237
|
+
code: string;
|
|
238
|
+
|
|
226
239
|
description: string | null;
|
|
227
240
|
|
|
228
241
|
dimensions: Array<DimensionalUsageBasedRateInterface.Dimension>;
|
|
@@ -294,6 +307,12 @@ export interface RateCardCreateParams {
|
|
|
294
307
|
|
|
295
308
|
metadata?: { [key: string]: string };
|
|
296
309
|
|
|
310
|
+
/**
|
|
311
|
+
* The ID of the rate catalog to pull rates from. If set, rates from the catalog
|
|
312
|
+
* with quantity > 1 will be included.
|
|
313
|
+
*/
|
|
314
|
+
rate_catalog_id?: string | null;
|
|
315
|
+
|
|
297
316
|
/**
|
|
298
317
|
* The usage based rates of the rate card. These are billed at the end of each
|
|
299
318
|
* billing cycle.
|
|
@@ -306,6 +325,12 @@ export interface RateCardCreateParams {
|
|
|
306
325
|
|
|
307
326
|
export namespace RateCardCreateParams {
|
|
308
327
|
export interface FixedRate {
|
|
328
|
+
/**
|
|
329
|
+
* Code of this rate to be used for setting quantity and price multipliers. This
|
|
330
|
+
* code must be unique within the rate card.
|
|
331
|
+
*/
|
|
332
|
+
code: string;
|
|
333
|
+
|
|
309
334
|
/**
|
|
310
335
|
* The name of the rate displayed to the customer.
|
|
311
336
|
*/
|
|
@@ -323,6 +348,12 @@ export namespace RateCardCreateParams {
|
|
|
323
348
|
}
|
|
324
349
|
|
|
325
350
|
export interface CreateSimpleUsageBasedRateRequest {
|
|
351
|
+
/**
|
|
352
|
+
* Code of this rate to be used for price multipliers. This code must be unique
|
|
353
|
+
* within the rate card.
|
|
354
|
+
*/
|
|
355
|
+
code: string;
|
|
356
|
+
|
|
326
357
|
/**
|
|
327
358
|
* The name of the rate displayed to the customer.
|
|
328
359
|
*/
|
|
@@ -352,6 +383,12 @@ export namespace RateCardCreateParams {
|
|
|
352
383
|
}
|
|
353
384
|
|
|
354
385
|
export interface CreateDimensionalUsageBasedRateRequest {
|
|
386
|
+
/**
|
|
387
|
+
* Code of this rate to be used for price multipliers. This code must be unique
|
|
388
|
+
* within the rate card.
|
|
389
|
+
*/
|
|
390
|
+
code: string;
|
|
391
|
+
|
|
355
392
|
/**
|
|
356
393
|
* The dimensions of the rate.
|
|
357
394
|
*/
|