@stigg/typescript 0.1.0-alpha.24 → 0.1.0-alpha.26

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 (122) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/client.d.mts +3 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/index.d.mts +1 -0
  12. package/resources/index.d.mts.map +1 -1
  13. package/resources/index.d.ts +1 -0
  14. package/resources/index.d.ts.map +1 -1
  15. package/resources/index.js +3 -1
  16. package/resources/index.js.map +1 -1
  17. package/resources/index.mjs +1 -0
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/internal/beta/beta.d.mts +10 -0
  20. package/resources/internal/beta/beta.d.mts.map +1 -0
  21. package/resources/internal/beta/beta.d.ts +10 -0
  22. package/resources/internal/beta/beta.d.ts.map +1 -0
  23. package/resources/internal/beta/beta.js +17 -0
  24. package/resources/internal/beta/beta.js.map +1 -0
  25. package/resources/internal/beta/beta.mjs +12 -0
  26. package/resources/internal/beta/beta.mjs.map +1 -0
  27. package/resources/internal/beta/event-queues.d.mts +315 -0
  28. package/resources/internal/beta/event-queues.d.mts.map +1 -0
  29. package/resources/internal/beta/event-queues.d.ts +315 -0
  30. package/resources/internal/beta/event-queues.d.ts.map +1 -0
  31. package/resources/internal/beta/event-queues.js +40 -0
  32. package/resources/internal/beta/event-queues.js.map +1 -0
  33. package/resources/internal/beta/event-queues.mjs +36 -0
  34. package/resources/internal/beta/event-queues.mjs.map +1 -0
  35. package/resources/internal/beta/index.d.mts +3 -0
  36. package/resources/internal/beta/index.d.mts.map +1 -0
  37. package/resources/internal/beta/index.d.ts +3 -0
  38. package/resources/internal/beta/index.d.ts.map +1 -0
  39. package/resources/internal/beta/index.js +9 -0
  40. package/resources/internal/beta/index.js.map +1 -0
  41. package/resources/internal/beta/index.mjs +4 -0
  42. package/resources/internal/beta/index.mjs.map +1 -0
  43. package/resources/internal/beta.d.mts +2 -0
  44. package/resources/internal/beta.d.mts.map +1 -0
  45. package/resources/internal/beta.d.ts +2 -0
  46. package/resources/internal/beta.d.ts.map +1 -0
  47. package/resources/internal/beta.js +6 -0
  48. package/resources/internal/beta.js.map +1 -0
  49. package/resources/internal/beta.mjs +3 -0
  50. package/resources/internal/beta.mjs.map +1 -0
  51. package/resources/internal/index.d.mts +3 -0
  52. package/resources/internal/index.d.mts.map +1 -0
  53. package/resources/internal/index.d.ts +3 -0
  54. package/resources/internal/index.d.ts.map +1 -0
  55. package/resources/internal/index.js +9 -0
  56. package/resources/internal/index.js.map +1 -0
  57. package/resources/internal/index.mjs +4 -0
  58. package/resources/internal/index.mjs.map +1 -0
  59. package/resources/internal/internal.d.mts +10 -0
  60. package/resources/internal/internal.d.mts.map +1 -0
  61. package/resources/internal/internal.d.ts +10 -0
  62. package/resources/internal/internal.d.ts.map +1 -0
  63. package/resources/internal/internal.js +17 -0
  64. package/resources/internal/internal.js.map +1 -0
  65. package/resources/internal/internal.mjs +12 -0
  66. package/resources/internal/internal.mjs.map +1 -0
  67. package/resources/internal.d.mts +2 -0
  68. package/resources/internal.d.mts.map +1 -0
  69. package/resources/internal.d.ts +2 -0
  70. package/resources/internal.d.ts.map +1 -0
  71. package/resources/internal.js +6 -0
  72. package/resources/internal.js.map +1 -0
  73. package/resources/internal.mjs +3 -0
  74. package/resources/internal.mjs.map +1 -0
  75. package/resources/v1/customers/customers.d.mts +4 -0
  76. package/resources/v1/customers/customers.d.mts.map +1 -1
  77. package/resources/v1/customers/customers.d.ts +4 -0
  78. package/resources/v1/customers/customers.d.ts.map +1 -1
  79. package/resources/v1/customers/customers.js +4 -0
  80. package/resources/v1/customers/customers.js.map +1 -1
  81. package/resources/v1/customers/customers.mjs +4 -0
  82. package/resources/v1/customers/customers.mjs.map +1 -1
  83. package/resources/v1/customers/index.d.mts +1 -0
  84. package/resources/v1/customers/index.d.mts.map +1 -1
  85. package/resources/v1/customers/index.d.ts +1 -0
  86. package/resources/v1/customers/index.d.ts.map +1 -1
  87. package/resources/v1/customers/index.js +3 -1
  88. package/resources/v1/customers/index.js.map +1 -1
  89. package/resources/v1/customers/index.mjs +1 -0
  90. package/resources/v1/customers/index.mjs.map +1 -1
  91. package/resources/v1/customers/integrations.d.mts +441 -0
  92. package/resources/v1/customers/integrations.d.mts.map +1 -0
  93. package/resources/v1/customers/integrations.d.ts +441 -0
  94. package/resources/v1/customers/integrations.d.ts.map +1 -0
  95. package/resources/v1/customers/integrations.js +50 -0
  96. package/resources/v1/customers/integrations.js.map +1 -0
  97. package/resources/v1/customers/integrations.mjs +46 -0
  98. package/resources/v1/customers/integrations.mjs.map +1 -0
  99. package/resources/v1/subscriptions/subscriptions.d.mts +9 -0
  100. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  101. package/resources/v1/subscriptions/subscriptions.d.ts +9 -0
  102. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  103. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  104. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  105. package/src/client.ts +5 -0
  106. package/src/resources/index.ts +1 -0
  107. package/src/resources/internal/beta/beta.ts +33 -0
  108. package/src/resources/internal/beta/event-queues.ts +798 -0
  109. package/src/resources/internal/beta/index.ts +13 -0
  110. package/src/resources/internal/beta.ts +3 -0
  111. package/src/resources/internal/index.ts +4 -0
  112. package/src/resources/internal/internal.ts +15 -0
  113. package/src/resources/internal.ts +3 -0
  114. package/src/resources/v1/customers/customers.ts +32 -0
  115. package/src/resources/v1/customers/index.ts +14 -0
  116. package/src/resources/v1/customers/integrations.ts +644 -0
  117. package/src/resources/v1/subscriptions/subscriptions.ts +9 -0
  118. package/src/version.ts +1 -1
  119. package/version.d.mts +1 -1
  120. package/version.d.ts +1 -1
  121. package/version.js +1 -1
  122. package/version.mjs +1 -1
@@ -0,0 +1,644 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import { APIPromise } from '../../../core/api-promise';
5
+ import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../core/pagination';
6
+ import { RequestOptions } from '../../../internal/request-options';
7
+ import { path } from '../../../internal/utils/path';
8
+
9
+ export class Integrations extends APIResource {
10
+ /**
11
+ * Retrieves a specific integration for a customer by integration ID.
12
+ */
13
+ retrieve(
14
+ integrationID: string,
15
+ params: IntegrationRetrieveParams,
16
+ options?: RequestOptions,
17
+ ): APIPromise<IntegrationRetrieveResponse> {
18
+ const { id } = params;
19
+ return this._client.get(path`/api/v1/customers/${id}/integrations/${integrationID}`, options);
20
+ }
21
+
22
+ /**
23
+ * Updates a customer's integration link, such as changing the synced external
24
+ * entity ID.
25
+ */
26
+ update(
27
+ integrationID: string,
28
+ params: IntegrationUpdateParams,
29
+ options?: RequestOptions,
30
+ ): APIPromise<IntegrationUpdateResponse> {
31
+ const { id, ...body } = params;
32
+ return this._client.patch(path`/api/v1/customers/${id}/integrations/${integrationID}`, {
33
+ body,
34
+ ...options,
35
+ });
36
+ }
37
+
38
+ /**
39
+ * Retrieves a paginated list of a customer's external integrations (billing, CRM,
40
+ * etc.).
41
+ */
42
+ list(
43
+ id: string,
44
+ query: IntegrationListParams | null | undefined = {},
45
+ options?: RequestOptions,
46
+ ): PagePromise<IntegrationListResponsesMyCursorIDPage, IntegrationListResponse> {
47
+ return this._client.getAPIList(
48
+ path`/api/v1/customers/${id}/integrations`,
49
+ MyCursorIDPage<IntegrationListResponse>,
50
+ { query, ...options },
51
+ );
52
+ }
53
+
54
+ /**
55
+ * Links a customer to an external integration by specifying the vendor and
56
+ * external entity ID.
57
+ */
58
+ link(
59
+ id: string,
60
+ body: IntegrationLinkParams,
61
+ options?: RequestOptions,
62
+ ): APIPromise<IntegrationLinkResponse> {
63
+ return this._client.post(path`/api/v1/customers/${id}/integrations`, { body, ...options });
64
+ }
65
+
66
+ /**
67
+ * Removes the link between a customer and an external integration.
68
+ */
69
+ unlink(
70
+ integrationID: string,
71
+ params: IntegrationUnlinkParams,
72
+ options?: RequestOptions,
73
+ ): APIPromise<IntegrationUnlinkResponse> {
74
+ const { id } = params;
75
+ return this._client.delete(path`/api/v1/customers/${id}/integrations/${integrationID}`, options);
76
+ }
77
+ }
78
+
79
+ export type IntegrationListResponsesMyCursorIDPage = MyCursorIDPage<IntegrationListResponse>;
80
+
81
+ /**
82
+ * Response object
83
+ */
84
+ export interface IntegrationRetrieveResponse {
85
+ /**
86
+ * External billing or CRM integration link
87
+ */
88
+ data: IntegrationRetrieveResponse.Data;
89
+ }
90
+
91
+ export namespace IntegrationRetrieveResponse {
92
+ /**
93
+ * External billing or CRM integration link
94
+ */
95
+ export interface Data {
96
+ /**
97
+ * Integration details
98
+ */
99
+ id: string;
100
+
101
+ /**
102
+ * Synced entity id
103
+ */
104
+ syncedEntityId: string | null;
105
+
106
+ /**
107
+ * The vendor identifier of integration
108
+ */
109
+ vendorIdentifier:
110
+ | 'AUTH0'
111
+ | 'ZUORA'
112
+ | 'STRIPE'
113
+ | 'HUBSPOT'
114
+ | 'AWS_MARKETPLACE'
115
+ | 'SNOWFLAKE'
116
+ | 'SALESFORCE'
117
+ | 'BIG_QUERY'
118
+ | 'OPEN_FGA'
119
+ | 'APP_STORE';
120
+
121
+ /**
122
+ * Price billing sync revision data containing billing ID, link URL, and price
123
+ * group package billing ID
124
+ */
125
+ syncData?:
126
+ | Data.SyncRevisionPriceBillingData
127
+ | Data.SyncRevisionBillingData
128
+ | Data.SyncRevisionMarketplaceData
129
+ | null;
130
+ }
131
+
132
+ export namespace Data {
133
+ /**
134
+ * Price billing sync revision data containing billing ID, link URL, and price
135
+ * group package billing ID
136
+ */
137
+ export interface SyncRevisionPriceBillingData {
138
+ /**
139
+ * Billing integration id
140
+ */
141
+ billingId: string;
142
+
143
+ /**
144
+ * Billing integration url
145
+ */
146
+ billingLinkUrl: string;
147
+
148
+ /**
149
+ * Price group package billing id
150
+ */
151
+ priceGroupPackageBillingId: string;
152
+ }
153
+
154
+ /**
155
+ * Billing sync revision data containing billing ID and link URL
156
+ */
157
+ export interface SyncRevisionBillingData {
158
+ /**
159
+ * Billing integration id
160
+ */
161
+ billingId: string;
162
+
163
+ /**
164
+ * Billing integration url
165
+ */
166
+ billingLinkUrl: string;
167
+ }
168
+
169
+ /**
170
+ * Marketplace sync revision data containing dimensions
171
+ */
172
+ export interface SyncRevisionMarketplaceData {
173
+ /**
174
+ * Dimensions of the marketplace sync revision
175
+ */
176
+ dimensions: string;
177
+ }
178
+ }
179
+ }
180
+
181
+ /**
182
+ * Response object
183
+ */
184
+ export interface IntegrationUpdateResponse {
185
+ /**
186
+ * External billing or CRM integration link
187
+ */
188
+ data: IntegrationUpdateResponse.Data;
189
+ }
190
+
191
+ export namespace IntegrationUpdateResponse {
192
+ /**
193
+ * External billing or CRM integration link
194
+ */
195
+ export interface Data {
196
+ /**
197
+ * Integration details
198
+ */
199
+ id: string;
200
+
201
+ /**
202
+ * Synced entity id
203
+ */
204
+ syncedEntityId: string | null;
205
+
206
+ /**
207
+ * The vendor identifier of integration
208
+ */
209
+ vendorIdentifier:
210
+ | 'AUTH0'
211
+ | 'ZUORA'
212
+ | 'STRIPE'
213
+ | 'HUBSPOT'
214
+ | 'AWS_MARKETPLACE'
215
+ | 'SNOWFLAKE'
216
+ | 'SALESFORCE'
217
+ | 'BIG_QUERY'
218
+ | 'OPEN_FGA'
219
+ | 'APP_STORE';
220
+
221
+ /**
222
+ * Price billing sync revision data containing billing ID, link URL, and price
223
+ * group package billing ID
224
+ */
225
+ syncData?:
226
+ | Data.SyncRevisionPriceBillingData
227
+ | Data.SyncRevisionBillingData
228
+ | Data.SyncRevisionMarketplaceData
229
+ | null;
230
+ }
231
+
232
+ export namespace Data {
233
+ /**
234
+ * Price billing sync revision data containing billing ID, link URL, and price
235
+ * group package billing ID
236
+ */
237
+ export interface SyncRevisionPriceBillingData {
238
+ /**
239
+ * Billing integration id
240
+ */
241
+ billingId: string;
242
+
243
+ /**
244
+ * Billing integration url
245
+ */
246
+ billingLinkUrl: string;
247
+
248
+ /**
249
+ * Price group package billing id
250
+ */
251
+ priceGroupPackageBillingId: string;
252
+ }
253
+
254
+ /**
255
+ * Billing sync revision data containing billing ID and link URL
256
+ */
257
+ export interface SyncRevisionBillingData {
258
+ /**
259
+ * Billing integration id
260
+ */
261
+ billingId: string;
262
+
263
+ /**
264
+ * Billing integration url
265
+ */
266
+ billingLinkUrl: string;
267
+ }
268
+
269
+ /**
270
+ * Marketplace sync revision data containing dimensions
271
+ */
272
+ export interface SyncRevisionMarketplaceData {
273
+ /**
274
+ * Dimensions of the marketplace sync revision
275
+ */
276
+ dimensions: string;
277
+ }
278
+ }
279
+ }
280
+
281
+ /**
282
+ * External billing or CRM integration link
283
+ */
284
+ export interface IntegrationListResponse {
285
+ /**
286
+ * Integration details
287
+ */
288
+ id: string;
289
+
290
+ /**
291
+ * Synced entity id
292
+ */
293
+ syncedEntityId: string | null;
294
+
295
+ /**
296
+ * The vendor identifier of integration
297
+ */
298
+ vendorIdentifier:
299
+ | 'AUTH0'
300
+ | 'ZUORA'
301
+ | 'STRIPE'
302
+ | 'HUBSPOT'
303
+ | 'AWS_MARKETPLACE'
304
+ | 'SNOWFLAKE'
305
+ | 'SALESFORCE'
306
+ | 'BIG_QUERY'
307
+ | 'OPEN_FGA'
308
+ | 'APP_STORE';
309
+
310
+ /**
311
+ * Price billing sync revision data containing billing ID, link URL, and price
312
+ * group package billing ID
313
+ */
314
+ syncData?:
315
+ | IntegrationListResponse.SyncRevisionPriceBillingData
316
+ | IntegrationListResponse.SyncRevisionBillingData
317
+ | IntegrationListResponse.SyncRevisionMarketplaceData
318
+ | null;
319
+ }
320
+
321
+ export namespace IntegrationListResponse {
322
+ /**
323
+ * Price billing sync revision data containing billing ID, link URL, and price
324
+ * group package billing ID
325
+ */
326
+ export interface SyncRevisionPriceBillingData {
327
+ /**
328
+ * Billing integration id
329
+ */
330
+ billingId: string;
331
+
332
+ /**
333
+ * Billing integration url
334
+ */
335
+ billingLinkUrl: string;
336
+
337
+ /**
338
+ * Price group package billing id
339
+ */
340
+ priceGroupPackageBillingId: string;
341
+ }
342
+
343
+ /**
344
+ * Billing sync revision data containing billing ID and link URL
345
+ */
346
+ export interface SyncRevisionBillingData {
347
+ /**
348
+ * Billing integration id
349
+ */
350
+ billingId: string;
351
+
352
+ /**
353
+ * Billing integration url
354
+ */
355
+ billingLinkUrl: string;
356
+ }
357
+
358
+ /**
359
+ * Marketplace sync revision data containing dimensions
360
+ */
361
+ export interface SyncRevisionMarketplaceData {
362
+ /**
363
+ * Dimensions of the marketplace sync revision
364
+ */
365
+ dimensions: string;
366
+ }
367
+ }
368
+
369
+ /**
370
+ * Response object
371
+ */
372
+ export interface IntegrationLinkResponse {
373
+ /**
374
+ * External billing or CRM integration link
375
+ */
376
+ data: IntegrationLinkResponse.Data;
377
+ }
378
+
379
+ export namespace IntegrationLinkResponse {
380
+ /**
381
+ * External billing or CRM integration link
382
+ */
383
+ export interface Data {
384
+ /**
385
+ * Integration details
386
+ */
387
+ id: string;
388
+
389
+ /**
390
+ * Synced entity id
391
+ */
392
+ syncedEntityId: string | null;
393
+
394
+ /**
395
+ * The vendor identifier of integration
396
+ */
397
+ vendorIdentifier:
398
+ | 'AUTH0'
399
+ | 'ZUORA'
400
+ | 'STRIPE'
401
+ | 'HUBSPOT'
402
+ | 'AWS_MARKETPLACE'
403
+ | 'SNOWFLAKE'
404
+ | 'SALESFORCE'
405
+ | 'BIG_QUERY'
406
+ | 'OPEN_FGA'
407
+ | 'APP_STORE';
408
+
409
+ /**
410
+ * Price billing sync revision data containing billing ID, link URL, and price
411
+ * group package billing ID
412
+ */
413
+ syncData?:
414
+ | Data.SyncRevisionPriceBillingData
415
+ | Data.SyncRevisionBillingData
416
+ | Data.SyncRevisionMarketplaceData
417
+ | null;
418
+ }
419
+
420
+ export namespace Data {
421
+ /**
422
+ * Price billing sync revision data containing billing ID, link URL, and price
423
+ * group package billing ID
424
+ */
425
+ export interface SyncRevisionPriceBillingData {
426
+ /**
427
+ * Billing integration id
428
+ */
429
+ billingId: string;
430
+
431
+ /**
432
+ * Billing integration url
433
+ */
434
+ billingLinkUrl: string;
435
+
436
+ /**
437
+ * Price group package billing id
438
+ */
439
+ priceGroupPackageBillingId: string;
440
+ }
441
+
442
+ /**
443
+ * Billing sync revision data containing billing ID and link URL
444
+ */
445
+ export interface SyncRevisionBillingData {
446
+ /**
447
+ * Billing integration id
448
+ */
449
+ billingId: string;
450
+
451
+ /**
452
+ * Billing integration url
453
+ */
454
+ billingLinkUrl: string;
455
+ }
456
+
457
+ /**
458
+ * Marketplace sync revision data containing dimensions
459
+ */
460
+ export interface SyncRevisionMarketplaceData {
461
+ /**
462
+ * Dimensions of the marketplace sync revision
463
+ */
464
+ dimensions: string;
465
+ }
466
+ }
467
+ }
468
+
469
+ /**
470
+ * Response object
471
+ */
472
+ export interface IntegrationUnlinkResponse {
473
+ /**
474
+ * External billing or CRM integration link
475
+ */
476
+ data: IntegrationUnlinkResponse.Data;
477
+ }
478
+
479
+ export namespace IntegrationUnlinkResponse {
480
+ /**
481
+ * External billing or CRM integration link
482
+ */
483
+ export interface Data {
484
+ /**
485
+ * Integration details
486
+ */
487
+ id: string;
488
+
489
+ /**
490
+ * Synced entity id
491
+ */
492
+ syncedEntityId: string | null;
493
+
494
+ /**
495
+ * The vendor identifier of integration
496
+ */
497
+ vendorIdentifier:
498
+ | 'AUTH0'
499
+ | 'ZUORA'
500
+ | 'STRIPE'
501
+ | 'HUBSPOT'
502
+ | 'AWS_MARKETPLACE'
503
+ | 'SNOWFLAKE'
504
+ | 'SALESFORCE'
505
+ | 'BIG_QUERY'
506
+ | 'OPEN_FGA'
507
+ | 'APP_STORE';
508
+
509
+ /**
510
+ * Price billing sync revision data containing billing ID, link URL, and price
511
+ * group package billing ID
512
+ */
513
+ syncData?:
514
+ | Data.SyncRevisionPriceBillingData
515
+ | Data.SyncRevisionBillingData
516
+ | Data.SyncRevisionMarketplaceData
517
+ | null;
518
+ }
519
+
520
+ export namespace Data {
521
+ /**
522
+ * Price billing sync revision data containing billing ID, link URL, and price
523
+ * group package billing ID
524
+ */
525
+ export interface SyncRevisionPriceBillingData {
526
+ /**
527
+ * Billing integration id
528
+ */
529
+ billingId: string;
530
+
531
+ /**
532
+ * Billing integration url
533
+ */
534
+ billingLinkUrl: string;
535
+
536
+ /**
537
+ * Price group package billing id
538
+ */
539
+ priceGroupPackageBillingId: string;
540
+ }
541
+
542
+ /**
543
+ * Billing sync revision data containing billing ID and link URL
544
+ */
545
+ export interface SyncRevisionBillingData {
546
+ /**
547
+ * Billing integration id
548
+ */
549
+ billingId: string;
550
+
551
+ /**
552
+ * Billing integration url
553
+ */
554
+ billingLinkUrl: string;
555
+ }
556
+
557
+ /**
558
+ * Marketplace sync revision data containing dimensions
559
+ */
560
+ export interface SyncRevisionMarketplaceData {
561
+ /**
562
+ * Dimensions of the marketplace sync revision
563
+ */
564
+ dimensions: string;
565
+ }
566
+ }
567
+ }
568
+
569
+ export interface IntegrationRetrieveParams {
570
+ /**
571
+ * Customer slug
572
+ */
573
+ id: string;
574
+ }
575
+
576
+ export interface IntegrationUpdateParams {
577
+ /**
578
+ * Path param: Customer slug
579
+ */
580
+ id: string;
581
+
582
+ /**
583
+ * Body param: Synced entity id
584
+ */
585
+ syncedEntityId: string | null;
586
+ }
587
+
588
+ export interface IntegrationListParams extends MyCursorIDPageParams {
589
+ /**
590
+ * Filter by vendor identifier. Supports comma-separated values for multiple
591
+ * vendors (e.g., STRIPE,HUBSPOT)
592
+ */
593
+ vendorIdentifier?: string;
594
+ }
595
+
596
+ export interface IntegrationLinkParams {
597
+ /**
598
+ * Integration details
599
+ */
600
+ id: string;
601
+
602
+ /**
603
+ * Synced entity id
604
+ */
605
+ syncedEntityId: string;
606
+
607
+ /**
608
+ * The vendor identifier of integration
609
+ */
610
+ vendorIdentifier:
611
+ | 'AUTH0'
612
+ | 'ZUORA'
613
+ | 'STRIPE'
614
+ | 'HUBSPOT'
615
+ | 'AWS_MARKETPLACE'
616
+ | 'SNOWFLAKE'
617
+ | 'SALESFORCE'
618
+ | 'BIG_QUERY'
619
+ | 'OPEN_FGA'
620
+ | 'APP_STORE';
621
+ }
622
+
623
+ export interface IntegrationUnlinkParams {
624
+ /**
625
+ * Customer slug
626
+ */
627
+ id: string;
628
+ }
629
+
630
+ export declare namespace Integrations {
631
+ export {
632
+ type IntegrationRetrieveResponse as IntegrationRetrieveResponse,
633
+ type IntegrationUpdateResponse as IntegrationUpdateResponse,
634
+ type IntegrationListResponse as IntegrationListResponse,
635
+ type IntegrationLinkResponse as IntegrationLinkResponse,
636
+ type IntegrationUnlinkResponse as IntegrationUnlinkResponse,
637
+ type IntegrationListResponsesMyCursorIDPage as IntegrationListResponsesMyCursorIDPage,
638
+ type IntegrationRetrieveParams as IntegrationRetrieveParams,
639
+ type IntegrationUpdateParams as IntegrationUpdateParams,
640
+ type IntegrationListParams as IntegrationListParams,
641
+ type IntegrationLinkParams as IntegrationLinkParams,
642
+ type IntegrationUnlinkParams as IntegrationUnlinkParams,
643
+ };
644
+ }
@@ -3888,6 +3888,9 @@ export interface SubscriptionUpdateParams {
3888
3888
 
3889
3889
  appliedCoupon?: SubscriptionUpdateParams.AppliedCoupon;
3890
3890
 
3891
+ /**
3892
+ * Await payment confirmation
3893
+ */
3891
3894
  awaitPaymentConfirmation?: boolean;
3892
3895
 
3893
3896
  billingCycleAnchor?: 'UNCHANGED' | 'NOW';
@@ -3914,6 +3917,9 @@ export interface SubscriptionUpdateParams {
3914
3917
 
3915
3918
  priceOverrides?: Array<SubscriptionUpdateParams.PriceOverride>;
3916
3919
 
3920
+ /**
3921
+ * Promotion code
3922
+ */
3917
3923
  promotionCode?: string;
3918
3924
 
3919
3925
  scheduleStrategy?: 'END_OF_BILLING_PERIOD' | 'END_OF_BILLING_MONTH' | 'IMMEDIATE';
@@ -5360,6 +5366,9 @@ export interface SubscriptionProvisionParams {
5360
5366
  */
5361
5367
  trialOverrideConfiguration?: SubscriptionProvisionParams.TrialOverrideConfiguration;
5362
5368
 
5369
+ /**
5370
+ * Unit quantity
5371
+ */
5363
5372
  unitQuantity?: number;
5364
5373
  }
5365
5374
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.24'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.26'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.24";
1
+ export declare const VERSION = "0.1.0-alpha.26";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.24";
1
+ export declare const VERSION = "0.1.0-alpha.26";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-alpha.24'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.26'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.24'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.26'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map