dodopayments 2.30.0 → 2.31.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +1 -1
  3. package/resources/entitlements/entitlements.d.mts +173 -35
  4. package/resources/entitlements/entitlements.d.mts.map +1 -1
  5. package/resources/entitlements/entitlements.d.ts +173 -35
  6. package/resources/entitlements/entitlements.d.ts.map +1 -1
  7. package/resources/entitlements/entitlements.js.map +1 -1
  8. package/resources/entitlements/entitlements.mjs.map +1 -1
  9. package/resources/entitlements/files.d.mts +4 -11
  10. package/resources/entitlements/files.d.mts.map +1 -1
  11. package/resources/entitlements/files.d.ts +4 -11
  12. package/resources/entitlements/files.d.ts.map +1 -1
  13. package/resources/entitlements/files.js +2 -9
  14. package/resources/entitlements/files.js.map +1 -1
  15. package/resources/entitlements/files.mjs +2 -9
  16. package/resources/entitlements/files.mjs.map +1 -1
  17. package/resources/entitlements/grants.d.mts +80 -13
  18. package/resources/entitlements/grants.d.mts.map +1 -1
  19. package/resources/entitlements/grants.d.ts +80 -13
  20. package/resources/entitlements/grants.d.ts.map +1 -1
  21. package/resources/entitlements/grants.js +2 -4
  22. package/resources/entitlements/grants.js.map +1 -1
  23. package/resources/entitlements/grants.mjs +2 -4
  24. package/resources/entitlements/grants.mjs.map +1 -1
  25. package/resources/products/products.d.mts +36 -12
  26. package/resources/products/products.d.mts.map +1 -1
  27. package/resources/products/products.d.ts +36 -12
  28. package/resources/products/products.d.ts.map +1 -1
  29. package/resources/products/products.js.map +1 -1
  30. package/resources/products/products.mjs.map +1 -1
  31. package/resources/webhook-events.d.mts +4 -0
  32. package/resources/webhook-events.d.mts.map +1 -1
  33. package/resources/webhook-events.d.ts +4 -0
  34. package/resources/webhook-events.d.ts.map +1 -1
  35. package/resources/webhooks/webhooks.d.mts +32 -0
  36. package/resources/webhooks/webhooks.d.mts.map +1 -1
  37. package/resources/webhooks/webhooks.d.ts +32 -0
  38. package/resources/webhooks/webhooks.d.ts.map +1 -1
  39. package/resources/webhooks/webhooks.js.map +1 -1
  40. package/resources/webhooks/webhooks.mjs.map +1 -1
  41. package/src/resources/entitlements/entitlements.ts +172 -37
  42. package/src/resources/entitlements/files.ts +4 -11
  43. package/src/resources/entitlements/grants.ts +78 -14
  44. package/src/resources/products/products.ts +36 -12
  45. package/src/resources/webhook-events.ts +4 -0
  46. package/src/resources/webhooks/webhooks.ts +32 -0
  47. package/src/version.ts +1 -1
  48. package/version.d.mts +1 -1
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
  51. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.31.0 (2026-05-04)
4
+
5
+ Full Changelog: [v2.30.0...v2.31.0](https://github.com/dodopayments/dodopayments-typescript/compare/v2.30.0...v2.31.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** update openapi spec ([2e9e91f](https://github.com/dodopayments/dodopayments-typescript/commit/2e9e91ff97cb54d1652ef5735723c275e28fa967))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** fix MCP cloudflare worker builds ([7557c65](https://github.com/dodopayments/dodopayments-typescript/commit/7557c656d3648b44a3d675bde9e5b216324c4653))
15
+
3
16
  ## 2.30.0 (2026-04-30)
4
17
 
5
18
  Full Changelog: [v2.29.1...v2.30.0](https://github.com/dodopayments/dodopayments-typescript/compare/v2.29.1...v2.30.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dodopayments",
3
- "version": "2.30.0",
3
+ "version": "2.31.0",
4
4
  "description": "The official TypeScript library for the Dodo Payments API",
5
5
  "author": "Dodo Payments <support@dodopayments.com>",
6
6
  "types": "./index.d.ts",
@@ -32,149 +32,287 @@ export declare class Entitlements extends APIResource {
32
32
  delete(id: string, options?: RequestOptions): APIPromise<void>;
33
33
  }
34
34
  export type EntitlementsDefaultPageNumberPagination = DefaultPageNumberPagination<Entitlement>;
35
+ /**
36
+ * Detailed view of a single entitlement: identity, integration type,
37
+ * integration-specific configuration, and metadata.
38
+ */
35
39
  export interface Entitlement {
40
+ /**
41
+ * Unique identifier of the entitlement.
42
+ */
36
43
  id: string;
44
+ /**
45
+ * Identifier of the business that owns this entitlement.
46
+ */
37
47
  business_id: string;
48
+ /**
49
+ * Timestamp when the entitlement was created.
50
+ */
38
51
  created_at: string;
39
52
  /**
40
- * Public-facing variant of [`IntegrationConfig`]. Mirrors every variant shape on
41
- * the wire EXCEPT `DigitalFiles`, which is replaced with a hydrated
42
- * `digital_files` object (resolved download URLs etc.). The persisted JSONB stays
43
- * ID-only via [`IntegrationConfig`]; this enum is response-only.
53
+ * Integration-specific configuration. For `digital_files` entitlements this
54
+ * includes presigned download URLs for each attached file.
44
55
  */
45
56
  integration_config: IntegrationConfigResponse;
57
+ /**
58
+ * Platform integration this entitlement uses.
59
+ */
46
60
  integration_type: EntitlementIntegrationType;
61
+ /**
62
+ * Always `true` for entitlements returned by the public API; soft-deleted
63
+ * entitlements are not returned.
64
+ */
47
65
  is_active: boolean;
66
+ /**
67
+ * Arbitrary key-value metadata supplied at creation or via PATCH.
68
+ */
69
+ metadata: {
70
+ [key: string]: string;
71
+ };
72
+ /**
73
+ * Display name supplied at creation.
74
+ */
48
75
  name: string;
76
+ /**
77
+ * Timestamp when the entitlement was last modified.
78
+ */
49
79
  updated_at: string;
80
+ /**
81
+ * Optional description supplied at creation.
82
+ */
50
83
  description?: string | null;
51
- metadata?: unknown;
52
84
  }
53
85
  export type EntitlementIntegrationType = 'discord' | 'telegram' | 'github' | 'figma' | 'framer' | 'notion' | 'digital_files' | 'license_key';
54
86
  /**
55
- * Platform-specific configuration for an entitlement. Each variant uses unique
56
- * field names so `#[serde(untagged)]` can disambiguate correctly.
87
+ * Integration-specific configuration supplied when creating or updating an
88
+ * entitlement. The shape required matches the entitlement's `integration_type`.
57
89
  */
58
90
  export type IntegrationConfig = IntegrationConfig.GitHubConfig | IntegrationConfig.DiscordConfig | IntegrationConfig.TelegramConfig | IntegrationConfig.FigmaConfig | IntegrationConfig.FramerConfig | IntegrationConfig.NotionConfig | IntegrationConfig.DigitalFilesConfig | IntegrationConfig.LicenseKeyConfig;
59
91
  export declare namespace IntegrationConfig {
60
92
  interface GitHubConfig {
61
93
  /**
62
- * One of: pull, push, admin, maintain, triage
94
+ * Permission to grant on the repository.
95
+ */
96
+ permission: 'pull' | 'push' | 'admin' | 'maintain' | 'triage';
97
+ /**
98
+ * Repository or organisation slug to grant access to.
63
99
  */
64
- permission: string;
65
100
  target_id: string;
66
101
  }
67
102
  interface DiscordConfig {
103
+ /**
104
+ * Discord guild (server) ID.
105
+ */
68
106
  guild_id: string;
107
+ /**
108
+ * Optional Discord role to assign within the guild.
109
+ */
69
110
  role_id?: string | null;
70
111
  }
71
112
  interface TelegramConfig {
113
+ /**
114
+ * Telegram chat ID. For groups this is typically a negative integer.
115
+ */
72
116
  chat_id: string;
73
117
  }
74
118
  interface FigmaConfig {
119
+ /**
120
+ * Figma file identifier to grant access to.
121
+ */
75
122
  figma_file_id: string;
76
123
  }
77
124
  interface FramerConfig {
125
+ /**
126
+ * Framer template identifier to grant access to.
127
+ */
78
128
  framer_template_id: string;
79
129
  }
80
130
  interface NotionConfig {
131
+ /**
132
+ * Notion template identifier to grant access to.
133
+ */
81
134
  notion_template_id: string;
82
135
  }
83
136
  interface DigitalFilesConfig {
137
+ /**
138
+ * Files attached to this entitlement. Add files via
139
+ * `POST /entitlements/{id}/files` and remove them via
140
+ * `DELETE /entitlements/{id}/files/{file_id}`.
141
+ */
84
142
  digital_file_ids: Array<string>;
143
+ /**
144
+ * Optional external URL shown to the customer alongside the files.
145
+ */
85
146
  external_url?: string | null;
147
+ /**
148
+ * Optional human-readable delivery instructions shown to the customer alongside
149
+ * the files.
150
+ */
86
151
  instructions?: string | null;
87
152
  /**
88
- * Three-way patchable field (mirrors the credit_entitlements pattern):
153
+ * Three-way patchable list of legacy file identifiers:
89
154
  *
90
- * - omitted → preserve persisted (`None`)
91
- * - `null` → clear (`Some(None)`)
92
- * - `[...]` → replace (`Some(Some(...))`)
155
+ * - omitted → preserve the current value
156
+ * - `null` → clear
157
+ * - `[...]` → replace
93
158
  *
94
- * On Create / storage we collapse "clear" and empty-array to `None` so the
95
- * persisted JSONB never carries a `null` legacy_file_ids key.
159
+ * On create, an omitted field, an explicit `null`, or an empty array all result in
160
+ * no legacy files attached.
96
161
  */
97
162
  legacy_file_ids?: Array<string> | null;
98
163
  }
99
164
  interface LicenseKeyConfig {
165
+ /**
166
+ * Optional message displayed when a customer activates the license key (≤ 2500
167
+ * characters).
168
+ */
100
169
  activation_message?: string | null;
170
+ /**
171
+ * Maximum activations allowed per issued license key. Omit for unlimited.
172
+ */
101
173
  activations_limit?: number | null;
174
+ /**
175
+ * Validity duration of issued license keys. Provide both `duration_count` and
176
+ * `duration_interval` together for a fixed duration; omit both for non-expiring
177
+ * keys.
178
+ */
102
179
  duration_count?: number | null;
180
+ /**
181
+ * Unit of `duration_count`.
182
+ */
103
183
  duration_interval?: SubscriptionsAPI.TimeInterval | null;
104
184
  }
105
185
  }
106
186
  /**
107
- * Public-facing variant of [`IntegrationConfig`]. Mirrors every variant shape on
108
- * the wire EXCEPT `DigitalFiles`, which is replaced with a hydrated
109
- * `digital_files` object (resolved download URLs etc.). The persisted JSONB stays
110
- * ID-only via [`IntegrationConfig`]; this enum is response-only.
187
+ * Integration-specific configuration on an entitlement read response.
188
+ *
189
+ * For `digital_files` entitlements the response includes presigned download URLs
190
+ * for each attached file; other integrations match the shape supplied at creation.
111
191
  */
112
192
  export type IntegrationConfigResponse = IntegrationConfigResponse.GitHubConfig | IntegrationConfigResponse.DiscordConfig | IntegrationConfigResponse.TelegramConfig | IntegrationConfigResponse.FigmaConfig | IntegrationConfigResponse.FramerConfig | IntegrationConfigResponse.NotionConfig | IntegrationConfigResponse.DigitalFilesConfig | IntegrationConfigResponse.LicenseKeyConfig;
113
193
  export declare namespace IntegrationConfigResponse {
114
194
  interface GitHubConfig {
115
- permission: string;
195
+ /**
196
+ * Permission to grant on the repository.
197
+ */
198
+ permission: 'pull' | 'push' | 'admin' | 'maintain' | 'triage';
199
+ /**
200
+ * Repository or organisation slug to grant access to.
201
+ */
116
202
  target_id: string;
117
203
  }
118
204
  interface DiscordConfig {
205
+ /**
206
+ * Discord guild (server) ID.
207
+ */
119
208
  guild_id: string;
209
+ /**
210
+ * Optional Discord role to assign within the guild.
211
+ */
120
212
  role_id?: string | null;
121
213
  }
122
214
  interface TelegramConfig {
215
+ /**
216
+ * Telegram chat ID. For groups this is typically a negative integer.
217
+ */
123
218
  chat_id: string;
124
219
  }
125
220
  interface FigmaConfig {
221
+ /**
222
+ * Figma file identifier to grant access to.
223
+ */
126
224
  figma_file_id: string;
127
225
  }
128
226
  interface FramerConfig {
227
+ /**
228
+ * Framer template identifier to grant access to.
229
+ */
129
230
  framer_template_id: string;
130
231
  }
131
232
  interface NotionConfig {
233
+ /**
234
+ * Notion template identifier to grant access to.
235
+ */
132
236
  notion_template_id: string;
133
237
  }
134
238
  interface DigitalFilesConfig {
135
239
  /**
136
- * Populated digital-files payload for entitlement read surfaces. Mirrors
137
- * `DigitalProductDelivery` but is sourced from an entitlement's
138
- * `integration_config` (not a grant) and tags each file with its origin (`legacy`
139
- * vs `ee`).
240
+ * Populated digital-files payload with each file's metadata and a short-lived
241
+ * presigned download URL.
140
242
  */
141
243
  digital_files: DigitalFilesConfig.DigitalFiles;
142
244
  }
143
245
  namespace DigitalFilesConfig {
144
246
  /**
145
- * Populated digital-files payload for entitlement read surfaces. Mirrors
146
- * `DigitalProductDelivery` but is sourced from an entitlement's
147
- * `integration_config` (not a grant) and tags each file with its origin (`legacy`
148
- * vs `ee`).
247
+ * Populated digital-files payload with each file's metadata and a short-lived
248
+ * presigned download URL.
149
249
  */
150
250
  interface DigitalFiles {
251
+ /**
252
+ * One entry per attached file.
253
+ */
151
254
  files: Array<DigitalFiles.File>;
255
+ /**
256
+ * Optional external URL, passed through from the entitlement configuration.
257
+ */
152
258
  external_url?: string | null;
259
+ /**
260
+ * Optional human-readable delivery instructions, passed through from the
261
+ * entitlement configuration.
262
+ */
153
263
  instructions?: string | null;
154
264
  }
155
265
  namespace DigitalFiles {
266
+ /**
267
+ * One file in a resolved digital-files payload.
268
+ */
156
269
  interface File {
270
+ /**
271
+ * Short-lived presigned URL for downloading the file.
272
+ */
157
273
  download_url: string;
158
274
  /**
159
275
  * Seconds until `download_url` expires.
160
276
  */
161
277
  expires_in: number;
278
+ /**
279
+ * Identifier of the attached file.
280
+ */
162
281
  file_id: string;
282
+ /**
283
+ * Original filename of the attached file.
284
+ */
163
285
  filename: string;
164
286
  /**
165
- * `"legacy"` for files in `product_files`, `"ee"` for files managed by the
166
- * Entitlements Engine.
287
+ * Optional content-type declared at upload.
167
288
  */
168
- source: string;
169
289
  content_type?: string | null;
290
+ /**
291
+ * Optional size of the file in bytes.
292
+ */
170
293
  file_size?: number | null;
171
294
  }
172
295
  }
173
296
  }
174
297
  interface LicenseKeyConfig {
298
+ /**
299
+ * Optional message displayed when a customer activates the license key (≤ 2500
300
+ * characters).
301
+ */
175
302
  activation_message?: string | null;
303
+ /**
304
+ * Maximum activations allowed per issued license key. Omit for unlimited.
305
+ */
176
306
  activations_limit?: number | null;
307
+ /**
308
+ * Validity duration of issued license keys. Provide both `duration_count` and
309
+ * `duration_interval` together for a fixed duration; omit both for non-expiring
310
+ * keys.
311
+ */
177
312
  duration_count?: number | null;
313
+ /**
314
+ * Unit of `duration_count`.
315
+ */
178
316
  duration_interval?: SubscriptionsAPI.TimeInterval | null;
179
317
  }
180
318
  }
@@ -196,17 +334,17 @@ export interface EntitlementCreateParams {
196
334
  */
197
335
  description?: string | null;
198
336
  /**
199
- * Optional user-facing metadata
337
+ * Additional metadata for the entitlement
200
338
  */
201
339
  metadata?: {
202
340
  [key: string]: string;
203
- } | null;
341
+ };
204
342
  }
205
343
  export interface EntitlementUpdateParams {
206
344
  description?: string | null;
207
345
  /**
208
- * Platform-specific configuration for an entitlement. Each variant uses unique
209
- * field names so `#[serde(untagged)]` can disambiguate correctly.
346
+ * Integration-specific configuration supplied when creating or updating an
347
+ * entitlement. The shape required matches the entitlement's `integration_type`.
210
348
  */
211
349
  integration_config?: IntegrationConfig | null;
212
350
  metadata?: {
@@ -1 +1 @@
1
- {"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../../src/resources/entitlements/entitlements.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,KAAK,QAAQ;OACb,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE;OAC/C,KAAK,SAAS;OACd,EACL,gBAAgB,EAChB,4CAA4C,EAC5C,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,eAAe,EAChB;OACM,EAAE,UAAU,EAAE;OACd,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,EACtC,WAAW,EACZ;OAEM,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIxF;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIpG;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,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