@stigg/typescript 0.1.0-alpha.3 → 0.1.0-alpha.7
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 +61 -0
- package/README.md +9 -0
- package/client.d.mts +6 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -8
- package/client.d.ts.map +1 -1
- package/client.js +16 -21
- package/client.js.map +1 -1
- package/client.mjs +17 -22
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/v1/coupons.d.mts +55 -96
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +55 -96
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +4 -3
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +4 -3
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +170 -46
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +170 -46
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +32 -15
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +32 -15
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +2 -2
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +2 -2
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js +3 -3
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +4 -2
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +4 -2
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +4 -2
- package/resources/v1/customers/payment-method.js.map +1 -1
- package/resources/v1/customers/payment-method.mjs +4 -2
- package/resources/v1/customers/payment-method.mjs.map +1 -1
- package/resources/v1/customers/promotional-entitlements.d.mts +352 -0
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -0
- package/resources/v1/customers/promotional-entitlements.d.ts +352 -0
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -0
- package/resources/v1/customers/promotional-entitlements.js +25 -0
- package/resources/v1/customers/promotional-entitlements.js.map +1 -0
- package/resources/v1/customers/promotional-entitlements.mjs +21 -0
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -0
- package/resources/v1/events.d.mts +63 -0
- package/resources/v1/events.d.mts.map +1 -0
- package/resources/v1/events.d.ts +63 -0
- package/resources/v1/events.d.ts.map +1 -0
- package/resources/v1/events.js +16 -0
- package/resources/v1/events.js.map +1 -0
- package/resources/v1/events.mjs +12 -0
- package/resources/v1/events.mjs.map +1 -0
- package/resources/v1/index.d.mts +7 -4
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +7 -4
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +7 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +4 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/products.d.mts +126 -0
- package/resources/v1/products.d.mts.map +1 -0
- package/resources/v1/products.d.ts +126 -0
- package/resources/v1/products.d.ts.map +1 -0
- package/resources/v1/products.js +19 -0
- package/resources/v1/products.js.map +1 -0
- package/resources/v1/products.mjs +15 -0
- package/resources/v1/products.mjs.map +1 -0
- package/resources/v1/subscriptions/future-update.d.mts +9 -22
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +9 -22
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +3 -2
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +3 -2
- package/resources/v1/subscriptions/future-update.mjs.map +1 -1
- package/resources/v1/subscriptions/index.d.mts +2 -2
- package/resources/v1/subscriptions/index.d.mts.map +1 -1
- package/resources/v1/subscriptions/index.d.ts +2 -2
- package/resources/v1/subscriptions/index.d.ts.map +1 -1
- package/resources/v1/subscriptions/index.js.map +1 -1
- package/resources/v1/subscriptions/index.mjs +1 -1
- package/resources/v1/subscriptions/index.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +987 -949
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +987 -949
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +39 -11
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +40 -12
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/usage.d.mts +230 -0
- package/resources/v1/usage.d.mts.map +1 -0
- package/resources/v1/usage.d.ts +230 -0
- package/resources/v1/usage.d.ts.map +1 -0
- package/resources/v1/usage.js +24 -0
- package/resources/v1/usage.js.map +1 -0
- package/resources/v1/usage.mjs +20 -0
- package/resources/v1/usage.mjs.map +1 -0
- package/resources/v1/v1.d.mts +18 -172
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +18 -172
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +12 -12
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +12 -12
- package/resources/v1/v1.mjs.map +1 -1
- package/src/client.ts +25 -40
- package/src/internal/parse.ts +6 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/resources/index.ts +1 -7
- package/src/resources/v1/coupons.ts +63 -231
- package/src/resources/v1/customers/customers.ts +234 -60
- package/src/resources/v1/customers/index.ts +13 -2
- package/src/resources/v1/customers/payment-method.ts +4 -2
- package/src/resources/v1/customers/promotional-entitlements.ts +468 -0
- package/src/resources/v1/events.ts +74 -0
- package/src/resources/v1/index.ts +28 -15
- package/src/resources/v1/products.ts +162 -0
- package/src/resources/v1/subscriptions/future-update.ts +9 -30
- package/src/resources/v1/subscriptions/index.ts +8 -11
- package/src/resources/v1/subscriptions/subscriptions.ts +2699 -2280
- package/src/resources/v1/usage.ts +284 -0
- package/src/resources/v1/v1.ts +72 -220
- 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
- package/resources/v1/customers/usage.d.mts +0 -4
- package/resources/v1/customers/usage.d.mts.map +0 -1
- package/resources/v1/customers/usage.d.ts +0 -4
- package/resources/v1/customers/usage.d.ts.map +0 -1
- package/resources/v1/customers/usage.js +0 -9
- package/resources/v1/customers/usage.js.map +0 -1
- package/resources/v1/customers/usage.mjs +0 -5
- package/resources/v1/customers/usage.mjs.map +0 -1
- package/src/resources/v1/customers/usage.ts +0 -5
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class Usage extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves historical usage data for a customer's metered feature over time.
|
|
7
|
+
*/
|
|
8
|
+
history(featureID: string, params: UsageHistoryParams, options?: RequestOptions): APIPromise<UsageHistoryResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Reports usage measurements for metered features. The reported usage is used to
|
|
11
|
+
* track, limit, and bill customer consumption.
|
|
12
|
+
*/
|
|
13
|
+
report(body: UsageReportParams, options?: RequestOptions): APIPromise<UsageReportResponse>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Response object
|
|
17
|
+
*/
|
|
18
|
+
export interface UsageHistoryResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Historical usage time series
|
|
21
|
+
*/
|
|
22
|
+
data: UsageHistoryResponse.Data;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace UsageHistoryResponse {
|
|
25
|
+
/**
|
|
26
|
+
* Historical usage time series
|
|
27
|
+
*/
|
|
28
|
+
interface Data {
|
|
29
|
+
/**
|
|
30
|
+
* Markers for events that affecting feature usage
|
|
31
|
+
*/
|
|
32
|
+
markers: Array<Data.Marker>;
|
|
33
|
+
/**
|
|
34
|
+
* Series of usage history
|
|
35
|
+
*/
|
|
36
|
+
series: Array<Data.Series>;
|
|
37
|
+
}
|
|
38
|
+
namespace Data {
|
|
39
|
+
/**
|
|
40
|
+
* Usage reset or change marker
|
|
41
|
+
*/
|
|
42
|
+
interface Marker {
|
|
43
|
+
/**
|
|
44
|
+
* Timestamp of the marker
|
|
45
|
+
*/
|
|
46
|
+
timestamp: string;
|
|
47
|
+
/**
|
|
48
|
+
* Type of marker for a usage history point
|
|
49
|
+
*/
|
|
50
|
+
type: 'PERIODIC_RESET' | 'SUBSCRIPTION_CHANGE_RESET';
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Usage data points with tags
|
|
54
|
+
*/
|
|
55
|
+
interface Series {
|
|
56
|
+
/**
|
|
57
|
+
* Points in the usage history series
|
|
58
|
+
*/
|
|
59
|
+
points: Array<Series.Point>;
|
|
60
|
+
/**
|
|
61
|
+
* Tags for the usage history series
|
|
62
|
+
*/
|
|
63
|
+
tags: Array<Series.Tag>;
|
|
64
|
+
}
|
|
65
|
+
namespace Series {
|
|
66
|
+
/**
|
|
67
|
+
* Single usage data point
|
|
68
|
+
*/
|
|
69
|
+
interface Point {
|
|
70
|
+
/**
|
|
71
|
+
* Indicates whether there was usage reset in this point, see `markers` for details
|
|
72
|
+
*/
|
|
73
|
+
isResetPoint: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Timestamp of the usage history point
|
|
76
|
+
*/
|
|
77
|
+
timestamp: string;
|
|
78
|
+
/**
|
|
79
|
+
* Value of the usage history point
|
|
80
|
+
*/
|
|
81
|
+
value: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Grouping tag key-value
|
|
85
|
+
*/
|
|
86
|
+
interface Tag {
|
|
87
|
+
/**
|
|
88
|
+
* Key of the tag
|
|
89
|
+
*/
|
|
90
|
+
key: string;
|
|
91
|
+
/**
|
|
92
|
+
* Value of the tag
|
|
93
|
+
*/
|
|
94
|
+
value: string;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Response containing reported usage measurements with current usage values,
|
|
101
|
+
* period information, and reset dates for each measurement.
|
|
102
|
+
*/
|
|
103
|
+
export interface UsageReportResponse {
|
|
104
|
+
/**
|
|
105
|
+
* Array of usage measurements with current values and period info
|
|
106
|
+
*/
|
|
107
|
+
data: Array<UsageReportResponse.Data>;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace UsageReportResponse {
|
|
110
|
+
/**
|
|
111
|
+
* Recorded usage with period info
|
|
112
|
+
*/
|
|
113
|
+
interface Data {
|
|
114
|
+
/**
|
|
115
|
+
* Unique identifier for the entity
|
|
116
|
+
*/
|
|
117
|
+
id: string;
|
|
118
|
+
/**
|
|
119
|
+
* Timestamp of when the record was created
|
|
120
|
+
*/
|
|
121
|
+
createdAt: string;
|
|
122
|
+
/**
|
|
123
|
+
* Customer id
|
|
124
|
+
*/
|
|
125
|
+
customerId: string;
|
|
126
|
+
/**
|
|
127
|
+
* Feature id
|
|
128
|
+
*/
|
|
129
|
+
featureId: string;
|
|
130
|
+
/**
|
|
131
|
+
* Timestamp
|
|
132
|
+
*/
|
|
133
|
+
timestamp: string;
|
|
134
|
+
/**
|
|
135
|
+
* The usage measurement record
|
|
136
|
+
*/
|
|
137
|
+
value: number;
|
|
138
|
+
/**
|
|
139
|
+
* The current measured usage value
|
|
140
|
+
*/
|
|
141
|
+
currentUsage?: number | null;
|
|
142
|
+
/**
|
|
143
|
+
* The date when the next usage reset will occur
|
|
144
|
+
*/
|
|
145
|
+
nextResetDate?: string | null;
|
|
146
|
+
/**
|
|
147
|
+
* Resource id
|
|
148
|
+
*/
|
|
149
|
+
resourceId?: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* The end date of the usage period in which this measurement resides (for
|
|
152
|
+
* entitlements with a reset period)
|
|
153
|
+
*/
|
|
154
|
+
usagePeriodEnd?: string | null;
|
|
155
|
+
/**
|
|
156
|
+
* The start date of the usage period in which this measurement resides (for
|
|
157
|
+
* entitlements with a reset period)
|
|
158
|
+
*/
|
|
159
|
+
usagePeriodStart?: string | null;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export interface UsageHistoryParams {
|
|
163
|
+
/**
|
|
164
|
+
* Path param: Customer id
|
|
165
|
+
*/
|
|
166
|
+
customerId: string;
|
|
167
|
+
/**
|
|
168
|
+
* Query param: The start date of the range
|
|
169
|
+
*/
|
|
170
|
+
startDate: string;
|
|
171
|
+
/**
|
|
172
|
+
* Query param: The end date of the range
|
|
173
|
+
*/
|
|
174
|
+
endDate?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Query param
|
|
177
|
+
*/
|
|
178
|
+
groupBy?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Query param: Resource id
|
|
181
|
+
*/
|
|
182
|
+
resourceId?: string | null;
|
|
183
|
+
}
|
|
184
|
+
export interface UsageReportParams {
|
|
185
|
+
/**
|
|
186
|
+
* A list of usage reports to be submitted in bulk
|
|
187
|
+
*/
|
|
188
|
+
usages: Array<UsageReportParams.Usage>;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace UsageReportParams {
|
|
191
|
+
/**
|
|
192
|
+
* Single usage measurement
|
|
193
|
+
*/
|
|
194
|
+
interface Usage {
|
|
195
|
+
/**
|
|
196
|
+
* Customer id
|
|
197
|
+
*/
|
|
198
|
+
customerId: string;
|
|
199
|
+
/**
|
|
200
|
+
* Feature id
|
|
201
|
+
*/
|
|
202
|
+
featureId: string;
|
|
203
|
+
/**
|
|
204
|
+
* The value to report for usage
|
|
205
|
+
*/
|
|
206
|
+
value: number;
|
|
207
|
+
/**
|
|
208
|
+
* Timestamp of when the record was created
|
|
209
|
+
*/
|
|
210
|
+
createdAt?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Additional dimensions for the usage report
|
|
213
|
+
*/
|
|
214
|
+
dimensions?: {
|
|
215
|
+
[key: string]: string | number | boolean;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Resource id
|
|
219
|
+
*/
|
|
220
|
+
resourceId?: string | null;
|
|
221
|
+
/**
|
|
222
|
+
* The method by which the usage value should be updated
|
|
223
|
+
*/
|
|
224
|
+
updateBehavior?: 'DELTA' | 'SET';
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
export declare namespace Usage {
|
|
228
|
+
export { type UsageHistoryResponse as UsageHistoryResponse, type UsageReportResponse as UsageReportResponse, type UsageHistoryParams as UsageHistoryParams, type UsageReportParams as UsageReportParams, };
|
|
229
|
+
}
|
|
230
|
+
//# sourceMappingURL=usage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;;OAGG;IACH,MAAM,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AEnB;;WAEG;QACH,UAAU,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAE1D;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,cAAc,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;KAClC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Usage = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
class Usage extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves historical usage data for a customer's metered feature over time.
|
|
10
|
+
*/
|
|
11
|
+
history(featureID, params, options) {
|
|
12
|
+
const { customerId, ...query } = params;
|
|
13
|
+
return this._client.get((0, path_1.path) `/api/v1/usage/${customerId}/history/${featureID}`, { query, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Reports usage measurements for metered features. The reported usage is used to
|
|
17
|
+
* track, limit, and bill customer consumption.
|
|
18
|
+
*/
|
|
19
|
+
report(body, options) {
|
|
20
|
+
return this._client.post('/api/v1/usage', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.Usage = Usage;
|
|
24
|
+
//# sourceMappingURL=usage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,OAAO,CACL,SAAiB,EACjB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,UAAU,YAAY,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF;AApBD,sBAoBC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
export class Usage extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves historical usage data for a customer's metered feature over time.
|
|
7
|
+
*/
|
|
8
|
+
history(featureID, params, options) {
|
|
9
|
+
const { customerId, ...query } = params;
|
|
10
|
+
return this._client.get(path `/api/v1/usage/${customerId}/history/${featureID}`, { query, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Reports usage measurements for metered features. The reported usage is used to
|
|
14
|
+
* track, limit, and bill customer consumption.
|
|
15
|
+
*/
|
|
16
|
+
report(body, options) {
|
|
17
|
+
return this._client.post('/api/v1/usage', { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=usage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,OAAO,CACL,SAAiB,EACjB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,UAAU,YAAY,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF"}
|
package/resources/v1/v1.d.mts
CHANGED
|
@@ -1,184 +1,30 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as CouponsAPI from "./coupons.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Coupon, CouponCreateParams, CouponListParams, CouponListResponse, CouponListResponsesMyCursorIDPage, Coupons } from "./coupons.mjs";
|
|
4
|
+
import * as EventsAPI from "./events.mjs";
|
|
5
|
+
import { EventReportParams, EventReportResponse, Events } from "./events.mjs";
|
|
6
|
+
import * as ProductsAPI from "./products.mjs";
|
|
7
|
+
import { ProductListProductsParams, ProductListProductsResponse, ProductListProductsResponsesMyCursorIDPage, Products } from "./products.mjs";
|
|
8
|
+
import * as UsageAPI from "./usage.mjs";
|
|
9
|
+
import { Usage, UsageHistoryParams, UsageHistoryResponse, UsageReportParams, UsageReportResponse } from "./usage.mjs";
|
|
4
10
|
import * as CustomersAPI from "./customers/customers.mjs";
|
|
5
|
-
import {
|
|
11
|
+
import { CustomerImportParams, CustomerImportResponse, CustomerListParams, CustomerListResourcesParams, CustomerListResourcesResponse, CustomerListResourcesResponsesMyCursorIDPage, CustomerListResponse, CustomerListResponsesMyCursorIDPage, CustomerProvisionParams, CustomerResponse, CustomerUpdateParams, Customers } from "./customers/customers.mjs";
|
|
6
12
|
import * as SubscriptionsAPI from "./subscriptions/subscriptions.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
9
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
13
|
+
import { Subscription, SubscriptionCancelParams, SubscriptionDelegateParams, SubscriptionImportParams, SubscriptionImportResponse, SubscriptionListParams, SubscriptionListResponse, SubscriptionListResponsesMyCursorIDPage, SubscriptionMigrateParams, SubscriptionPreviewParams, SubscriptionPreviewResponse, SubscriptionProvisionParams, SubscriptionProvisionResponse, SubscriptionTransferParams, SubscriptionUpdateParams, Subscriptions } from "./subscriptions/subscriptions.mjs";
|
|
10
14
|
export declare class V1 extends APIResource {
|
|
11
15
|
customers: CustomersAPI.Customers;
|
|
12
16
|
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
13
17
|
coupons: CouponsAPI.Coupons;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
createEvent(body: V1CreateEventParams, options?: RequestOptions): APIPromise<V1CreateEventResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* Report usage measurements
|
|
20
|
-
*/
|
|
21
|
-
createUsage(body: V1CreateUsageParams, options?: RequestOptions): APIPromise<V1CreateUsageResponse>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Response object
|
|
25
|
-
*/
|
|
26
|
-
export interface V1CreateEventResponse {
|
|
27
|
-
/**
|
|
28
|
-
* Empty success response confirming that events were successfully ingested and
|
|
29
|
-
* queued for processing by Stigg's metering system.
|
|
30
|
-
*/
|
|
31
|
-
data: unknown;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Response containing reported usage measurements with current usage values,
|
|
35
|
-
* period information, and reset dates for each measurement.
|
|
36
|
-
*/
|
|
37
|
-
export interface V1CreateUsageResponse {
|
|
38
|
-
/**
|
|
39
|
-
* Array of usage measurements with current values and period info
|
|
40
|
-
*/
|
|
41
|
-
data: Array<V1CreateUsageResponse.Data>;
|
|
42
|
-
}
|
|
43
|
-
export declare namespace V1CreateUsageResponse {
|
|
44
|
-
/**
|
|
45
|
-
* Recorded usage with period info
|
|
46
|
-
*/
|
|
47
|
-
interface Data {
|
|
48
|
-
/**
|
|
49
|
-
* Unique identifier for the entity
|
|
50
|
-
*/
|
|
51
|
-
id: string;
|
|
52
|
-
/**
|
|
53
|
-
* Timestamp of when the record was created
|
|
54
|
-
*/
|
|
55
|
-
createdAt: string;
|
|
56
|
-
/**
|
|
57
|
-
* Customer id
|
|
58
|
-
*/
|
|
59
|
-
customerId: string;
|
|
60
|
-
/**
|
|
61
|
-
* Feature id
|
|
62
|
-
*/
|
|
63
|
-
featureId: string;
|
|
64
|
-
/**
|
|
65
|
-
* Timestamp
|
|
66
|
-
*/
|
|
67
|
-
timestamp: string;
|
|
68
|
-
/**
|
|
69
|
-
* The usage measurement record
|
|
70
|
-
*/
|
|
71
|
-
value: number;
|
|
72
|
-
/**
|
|
73
|
-
* The current measured usage value
|
|
74
|
-
*/
|
|
75
|
-
currentUsage?: number | null;
|
|
76
|
-
/**
|
|
77
|
-
* The date when the next usage reset will occur
|
|
78
|
-
*/
|
|
79
|
-
nextResetDate?: string | null;
|
|
80
|
-
/**
|
|
81
|
-
* Resource id
|
|
82
|
-
*/
|
|
83
|
-
resourceId?: string | null;
|
|
84
|
-
/**
|
|
85
|
-
* The end date of the usage period in which this measurement resides (for
|
|
86
|
-
* entitlements with a reset period)
|
|
87
|
-
*/
|
|
88
|
-
usagePeriodEnd?: string | null;
|
|
89
|
-
/**
|
|
90
|
-
* The start date of the usage period in which this measurement resides (for
|
|
91
|
-
* entitlements with a reset period)
|
|
92
|
-
*/
|
|
93
|
-
usagePeriodStart?: string | null;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
export interface V1CreateEventParams {
|
|
97
|
-
/**
|
|
98
|
-
* A list of usage events to report
|
|
99
|
-
*/
|
|
100
|
-
events: Array<V1CreateEventParams.Event>;
|
|
101
|
-
}
|
|
102
|
-
export declare namespace V1CreateEventParams {
|
|
103
|
-
/**
|
|
104
|
-
* Raw usage event
|
|
105
|
-
*/
|
|
106
|
-
interface Event {
|
|
107
|
-
/**
|
|
108
|
-
* Customer id
|
|
109
|
-
*/
|
|
110
|
-
customerId: string;
|
|
111
|
-
/**
|
|
112
|
-
* The name of the usage event
|
|
113
|
-
*/
|
|
114
|
-
eventName: string;
|
|
115
|
-
/**
|
|
116
|
-
* Idempotency key
|
|
117
|
-
*/
|
|
118
|
-
idempotencyKey: string;
|
|
119
|
-
/**
|
|
120
|
-
* Dimensions associated with the usage event
|
|
121
|
-
*/
|
|
122
|
-
dimensions?: {
|
|
123
|
-
[key: string]: string | number | boolean;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Resource id
|
|
127
|
-
*/
|
|
128
|
-
resourceId?: string | null;
|
|
129
|
-
/**
|
|
130
|
-
* Timestamp
|
|
131
|
-
*/
|
|
132
|
-
timestamp?: string;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
export interface V1CreateUsageParams {
|
|
136
|
-
/**
|
|
137
|
-
* A list of usage reports to be submitted in bulk
|
|
138
|
-
*/
|
|
139
|
-
usages: Array<V1CreateUsageParams.Usage>;
|
|
140
|
-
}
|
|
141
|
-
export declare namespace V1CreateUsageParams {
|
|
142
|
-
/**
|
|
143
|
-
* Single usage measurement
|
|
144
|
-
*/
|
|
145
|
-
interface Usage {
|
|
146
|
-
/**
|
|
147
|
-
* Customer id
|
|
148
|
-
*/
|
|
149
|
-
customerId: string;
|
|
150
|
-
/**
|
|
151
|
-
* Feature id
|
|
152
|
-
*/
|
|
153
|
-
featureId: string;
|
|
154
|
-
/**
|
|
155
|
-
* The value to report for usage
|
|
156
|
-
*/
|
|
157
|
-
value: number;
|
|
158
|
-
/**
|
|
159
|
-
* Timestamp of when the record was created
|
|
160
|
-
*/
|
|
161
|
-
createdAt?: string;
|
|
162
|
-
/**
|
|
163
|
-
* Additional dimensions for the usage report
|
|
164
|
-
*/
|
|
165
|
-
dimensions?: {
|
|
166
|
-
[key: string]: string | number | boolean;
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* Resource id
|
|
170
|
-
*/
|
|
171
|
-
resourceId?: string | null;
|
|
172
|
-
/**
|
|
173
|
-
* The method by which the usage value should be updated
|
|
174
|
-
*/
|
|
175
|
-
updateBehavior?: 'DELTA' | 'SET';
|
|
176
|
-
}
|
|
18
|
+
events: EventsAPI.Events;
|
|
19
|
+
usage: UsageAPI.Usage;
|
|
20
|
+
products: ProductsAPI.Products;
|
|
177
21
|
}
|
|
178
22
|
export declare namespace V1 {
|
|
179
|
-
export { type
|
|
180
|
-
export {
|
|
181
|
-
export {
|
|
182
|
-
export {
|
|
23
|
+
export { Customers as Customers, type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type CustomerImportResponse as CustomerImportResponse, type CustomerListResourcesResponse as CustomerListResourcesResponse, type CustomerListResponsesMyCursorIDPage as CustomerListResponsesMyCursorIDPage, type CustomerListResourcesResponsesMyCursorIDPage as CustomerListResourcesResponsesMyCursorIDPage, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerImportParams as CustomerImportParams, type CustomerListResourcesParams as CustomerListResourcesParams, type CustomerProvisionParams as CustomerProvisionParams, };
|
|
24
|
+
export { Subscriptions as Subscriptions, type Subscription as Subscription, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionImportResponse as SubscriptionImportResponse, type SubscriptionPreviewResponse as SubscriptionPreviewResponse, type SubscriptionProvisionResponse as SubscriptionProvisionResponse, type SubscriptionListResponsesMyCursorIDPage as SubscriptionListResponsesMyCursorIDPage, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, type SubscriptionCancelParams as SubscriptionCancelParams, type SubscriptionDelegateParams as SubscriptionDelegateParams, type SubscriptionImportParams as SubscriptionImportParams, type SubscriptionMigrateParams as SubscriptionMigrateParams, type SubscriptionPreviewParams as SubscriptionPreviewParams, type SubscriptionProvisionParams as SubscriptionProvisionParams, type SubscriptionTransferParams as SubscriptionTransferParams, };
|
|
25
|
+
export { Coupons as Coupons, type Coupon as Coupon, type CouponListResponse as CouponListResponse, type CouponListResponsesMyCursorIDPage as CouponListResponsesMyCursorIDPage, type CouponCreateParams as CouponCreateParams, type CouponListParams as CouponListParams, };
|
|
26
|
+
export { Events as Events, type EventReportResponse as EventReportResponse, type EventReportParams as EventReportParams, };
|
|
27
|
+
export { Usage as Usage, type UsageHistoryResponse as UsageHistoryResponse, type UsageReportResponse as UsageReportResponse, type UsageHistoryParams as UsageHistoryParams, type UsageReportParams as UsageReportParams, };
|
|
28
|
+
export { Products as Products, type ProductListProductsResponse as ProductListProductsResponse, type ProductListProductsResponsesMyCursorIDPage as ProductListProductsResponsesMyCursorIDPage, type ProductListProductsParams as ProductListProductsParams, };
|
|
183
29
|
}
|
|
184
30
|
//# sourceMappingURL=v1.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,
|
|
1
|
+
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EAChB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