@trycourier/courier 6.6.1-alpha0 → 6.7.0-alpha2

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 (196) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +11 -11
  3. package/client.d.mts +23 -14
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +23 -14
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +2 -2
  9. package/client.mjs.map +1 -1
  10. package/internal/to-file.d.mts +1 -1
  11. package/internal/to-file.d.ts +1 -1
  12. package/internal/to-file.js +1 -1
  13. package/internal/to-file.mjs +1 -1
  14. package/internal/tslib.js +6 -6
  15. package/package.json +1 -1
  16. package/resources/audiences.d.mts +27 -46
  17. package/resources/audiences.d.mts.map +1 -1
  18. package/resources/audiences.d.ts +27 -46
  19. package/resources/audiences.d.ts.map +1 -1
  20. package/resources/audit-events.d.mts +3 -7
  21. package/resources/audit-events.d.mts.map +1 -1
  22. package/resources/audit-events.d.ts +3 -7
  23. package/resources/audit-events.d.ts.map +1 -1
  24. package/resources/auth.d.mts +2 -2
  25. package/resources/auth.d.mts.map +1 -1
  26. package/resources/auth.d.ts +2 -2
  27. package/resources/auth.d.ts.map +1 -1
  28. package/resources/automations/automations.d.mts +2 -253
  29. package/resources/automations/automations.d.mts.map +1 -1
  30. package/resources/automations/automations.d.ts +2 -253
  31. package/resources/automations/automations.d.ts.map +1 -1
  32. package/resources/automations/automations.js +0 -42
  33. package/resources/automations/automations.js.map +1 -1
  34. package/resources/automations/automations.mjs +0 -42
  35. package/resources/automations/automations.mjs.map +1 -1
  36. package/resources/automations/index.d.mts +2 -2
  37. package/resources/automations/index.d.mts.map +1 -1
  38. package/resources/automations/index.d.ts +2 -2
  39. package/resources/automations/index.d.ts.map +1 -1
  40. package/resources/automations/index.js.map +1 -1
  41. package/resources/automations/index.mjs +1 -1
  42. package/resources/automations/index.mjs.map +1 -1
  43. package/resources/automations/invoke.d.mts +124 -9
  44. package/resources/automations/invoke.d.mts.map +1 -1
  45. package/resources/automations/invoke.d.ts +124 -9
  46. package/resources/automations/invoke.d.ts.map +1 -1
  47. package/resources/automations/invoke.js +45 -0
  48. package/resources/automations/invoke.js.map +1 -1
  49. package/resources/automations/invoke.mjs +45 -0
  50. package/resources/automations/invoke.mjs.map +1 -1
  51. package/resources/brands.d.mts +74 -50
  52. package/resources/brands.d.mts.map +1 -1
  53. package/resources/brands.d.ts +74 -50
  54. package/resources/brands.d.ts.map +1 -1
  55. package/resources/brands.js.map +1 -1
  56. package/resources/brands.mjs.map +1 -1
  57. package/resources/bulk.d.mts +38 -89
  58. package/resources/bulk.d.mts.map +1 -1
  59. package/resources/bulk.d.ts +38 -89
  60. package/resources/bulk.d.ts.map +1 -1
  61. package/resources/inbound.d.mts +1 -1
  62. package/resources/inbound.d.ts +1 -1
  63. package/resources/index.d.mts +8 -7
  64. package/resources/index.d.mts.map +1 -1
  65. package/resources/index.d.ts +8 -7
  66. package/resources/index.d.ts.map +1 -1
  67. package/resources/index.js +2 -0
  68. package/resources/index.js.map +1 -1
  69. package/resources/index.mjs +2 -1
  70. package/resources/index.mjs.map +1 -1
  71. package/resources/lists/index.d.mts +2 -2
  72. package/resources/lists/index.d.mts.map +1 -1
  73. package/resources/lists/index.d.ts +2 -2
  74. package/resources/lists/index.d.ts.map +1 -1
  75. package/resources/lists/index.js.map +1 -1
  76. package/resources/lists/index.mjs +1 -1
  77. package/resources/lists/index.mjs.map +1 -1
  78. package/resources/lists/lists.d.mts +9 -7
  79. package/resources/lists/lists.d.mts.map +1 -1
  80. package/resources/lists/lists.d.ts +9 -7
  81. package/resources/lists/lists.d.ts.map +1 -1
  82. package/resources/lists/lists.js +7 -2
  83. package/resources/lists/lists.js.map +1 -1
  84. package/resources/lists/lists.mjs +7 -2
  85. package/resources/lists/lists.mjs.map +1 -1
  86. package/resources/lists/subscriptions.d.mts +9 -34
  87. package/resources/lists/subscriptions.d.mts.map +1 -1
  88. package/resources/lists/subscriptions.d.ts +9 -34
  89. package/resources/lists/subscriptions.d.ts.map +1 -1
  90. package/resources/messages.d.mts +6 -6
  91. package/resources/messages.d.mts.map +1 -1
  92. package/resources/messages.d.ts +6 -6
  93. package/resources/messages.d.ts.map +1 -1
  94. package/resources/messages.js +1 -1
  95. package/resources/messages.js.map +1 -1
  96. package/resources/messages.mjs +1 -1
  97. package/resources/messages.mjs.map +1 -1
  98. package/resources/notifications/index.d.mts +1 -1
  99. package/resources/notifications/index.d.mts.map +1 -1
  100. package/resources/notifications/index.d.ts +1 -1
  101. package/resources/notifications/index.d.ts.map +1 -1
  102. package/resources/notifications/index.js.map +1 -1
  103. package/resources/notifications/index.mjs.map +1 -1
  104. package/resources/notifications/notifications.d.mts +3 -8
  105. package/resources/notifications/notifications.d.mts.map +1 -1
  106. package/resources/notifications/notifications.d.ts +3 -8
  107. package/resources/notifications/notifications.d.ts.map +1 -1
  108. package/resources/notifications/notifications.js.map +1 -1
  109. package/resources/notifications/notifications.mjs.map +1 -1
  110. package/resources/send.d.mts +245 -701
  111. package/resources/send.d.mts.map +1 -1
  112. package/resources/send.d.ts +245 -701
  113. package/resources/send.d.ts.map +1 -1
  114. package/resources/send.js +12 -1
  115. package/resources/send.js.map +1 -1
  116. package/resources/send.mjs +12 -1
  117. package/resources/send.mjs.map +1 -1
  118. package/resources/shared.d.mts +42 -0
  119. package/resources/shared.d.mts.map +1 -0
  120. package/resources/shared.d.ts +42 -0
  121. package/resources/shared.d.ts.map +1 -0
  122. package/resources/shared.js +4 -0
  123. package/resources/shared.js.map +1 -0
  124. package/resources/shared.mjs +3 -0
  125. package/resources/shared.mjs.map +1 -0
  126. package/resources/tenants/index.d.mts +1 -0
  127. package/resources/tenants/index.d.mts.map +1 -1
  128. package/resources/tenants/index.d.ts +1 -0
  129. package/resources/tenants/index.d.ts.map +1 -1
  130. package/resources/tenants/index.js +3 -1
  131. package/resources/tenants/index.js.map +1 -1
  132. package/resources/tenants/index.mjs +1 -0
  133. package/resources/tenants/index.mjs.map +1 -1
  134. package/resources/tenants/templates.d.mts +122 -0
  135. package/resources/tenants/templates.d.mts.map +1 -0
  136. package/resources/tenants/templates.d.ts +122 -0
  137. package/resources/tenants/templates.d.ts.map +1 -0
  138. package/resources/tenants/templates.js +38 -0
  139. package/resources/tenants/templates.js.map +1 -0
  140. package/resources/tenants/templates.mjs +34 -0
  141. package/resources/tenants/templates.mjs.map +1 -0
  142. package/resources/tenants/tenants.d.mts +4 -0
  143. package/resources/tenants/tenants.d.mts.map +1 -1
  144. package/resources/tenants/tenants.d.ts +4 -0
  145. package/resources/tenants/tenants.d.ts.map +1 -1
  146. package/resources/tenants/tenants.js +4 -0
  147. package/resources/tenants/tenants.js.map +1 -1
  148. package/resources/tenants/tenants.mjs +4 -0
  149. package/resources/tenants/tenants.mjs.map +1 -1
  150. package/resources/users/index.d.mts +1 -1
  151. package/resources/users/index.d.mts.map +1 -1
  152. package/resources/users/index.d.ts +1 -1
  153. package/resources/users/index.d.ts.map +1 -1
  154. package/resources/users/tokens.d.mts +22 -23
  155. package/resources/users/tokens.d.mts.map +1 -1
  156. package/resources/users/tokens.d.ts +22 -23
  157. package/resources/users/tokens.d.ts.map +1 -1
  158. package/resources/users/tokens.js +14 -15
  159. package/resources/users/tokens.js.map +1 -1
  160. package/resources/users/tokens.mjs +14 -15
  161. package/resources/users/tokens.mjs.map +1 -1
  162. package/resources/users/users.d.mts +2 -2
  163. package/resources/users/users.d.mts.map +1 -1
  164. package/resources/users/users.d.ts +2 -2
  165. package/resources/users/users.d.ts.map +1 -1
  166. package/src/client.ts +48 -38
  167. package/src/internal/to-file.ts +1 -1
  168. package/src/resources/audiences.ts +43 -82
  169. package/src/resources/audit-events.ts +5 -11
  170. package/src/resources/auth.ts +2 -16
  171. package/src/resources/automations/automations.ts +4 -340
  172. package/src/resources/automations/index.ts +3 -8
  173. package/src/resources/automations/invoke.ts +163 -13
  174. package/src/resources/brands.ts +117 -51
  175. package/src/resources/bulk.ts +31 -104
  176. package/src/resources/inbound.ts +1 -1
  177. package/src/resources/index.ts +17 -19
  178. package/src/resources/lists/index.ts +9 -1
  179. package/src/resources/lists/lists.ts +15 -5
  180. package/src/resources/lists/subscriptions.ts +12 -45
  181. package/src/resources/messages.ts +8 -5
  182. package/src/resources/notifications/index.ts +0 -2
  183. package/src/resources/notifications/notifications.ts +2 -12
  184. package/src/resources/send.ts +249 -853
  185. package/src/resources/shared.ts +61 -0
  186. package/src/resources/tenants/index.ts +8 -0
  187. package/src/resources/tenants/templates.ts +165 -0
  188. package/src/resources/tenants/tenants.ts +21 -0
  189. package/src/resources/users/index.ts +2 -2
  190. package/src/resources/users/tokens.ts +33 -34
  191. package/src/resources/users/users.ts +4 -4
  192. package/src/version.ts +1 -1
  193. package/version.d.mts +1 -1
  194. package/version.d.ts +1 -1
  195. package/version.js +1 -1
  196. package/version.mjs +1 -1
@@ -0,0 +1,61 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import * as PreferencesAPI from './users/preferences';
4
+ import * as ItemsAPI from './tenants/default-preferences/items';
5
+
6
+ export type Alignment = 'center' | 'left' | 'right' | 'full';
7
+
8
+ export interface ChannelPreference {
9
+ channel: ItemsAPI.ChannelClassification;
10
+ }
11
+
12
+ export interface ElementalBaseNode {
13
+ channels?: Array<string> | null;
14
+
15
+ if?: string | null;
16
+
17
+ loop?: string | null;
18
+
19
+ ref?: string | null;
20
+ }
21
+
22
+ /**
23
+ * Syntactic sugar to provide a fast shorthand for Courier Elemental Blocks.
24
+ */
25
+ export interface ElementalContentSugar {
26
+ /**
27
+ * The text content displayed in the notification.
28
+ */
29
+ body: string;
30
+
31
+ /**
32
+ * Title/subject displayed by supported channels.
33
+ */
34
+ title: string;
35
+ }
36
+
37
+ export interface MessageRouting {
38
+ channels: Array<MessageRoutingChannel>;
39
+
40
+ method: 'all' | 'single';
41
+ }
42
+
43
+ export type MessageRoutingChannel = string | MessageRouting;
44
+
45
+ export interface Preference {
46
+ status: PreferencesAPI.PreferenceStatus;
47
+
48
+ channel_preferences?: Array<ChannelPreference> | null;
49
+
50
+ rules?: Array<Rule> | null;
51
+
52
+ source?: 'subscription' | 'list' | 'recipient' | null;
53
+ }
54
+
55
+ export interface Rule {
56
+ until: string;
57
+
58
+ start?: string | null;
59
+ }
60
+
61
+ export type TextStyle = 'text' | 'h1' | 'h2' | 'subtext';
@@ -1,5 +1,13 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ export {
4
+ Templates,
5
+ type BaseTemplateTenantAssociation,
6
+ type ElementalContent,
7
+ type TemplateListResponse,
8
+ type TemplateRetrieveParams,
9
+ type TemplateListParams,
10
+ } from './templates';
3
11
  export {
4
12
  Tenants,
5
13
  type DefaultPreferences,
@@ -0,0 +1,165 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as TemplatesAPI from './templates';
5
+ import * as SendAPI from '../send';
6
+ import * as Shared from '../shared';
7
+ import { APIPromise } from '../../core/api-promise';
8
+ import { RequestOptions } from '../../internal/request-options';
9
+ import { path } from '../../internal/utils/path';
10
+
11
+ export class Templates extends APIResource {
12
+ /**
13
+ * Get a Template in Tenant
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const baseTemplateTenantAssociation =
18
+ * await client.tenants.templates.retrieve('template_id', {
19
+ * tenant_id: 'tenant_id',
20
+ * });
21
+ * ```
22
+ */
23
+ retrieve(
24
+ templateID: string,
25
+ params: TemplateRetrieveParams,
26
+ options?: RequestOptions,
27
+ ): APIPromise<BaseTemplateTenantAssociation> {
28
+ const { tenant_id } = params;
29
+ return this._client.get(path`/tenants/${tenant_id}/templates/${templateID}`, options);
30
+ }
31
+
32
+ /**
33
+ * List Templates in Tenant
34
+ *
35
+ * @example
36
+ * ```ts
37
+ * const templates = await client.tenants.templates.list(
38
+ * 'tenant_id',
39
+ * );
40
+ * ```
41
+ */
42
+ list(
43
+ tenantID: string,
44
+ query: TemplateListParams | null | undefined = {},
45
+ options?: RequestOptions,
46
+ ): APIPromise<TemplateListResponse> {
47
+ return this._client.get(path`/tenants/${tenantID}/templates`, { query, ...options });
48
+ }
49
+ }
50
+
51
+ export interface BaseTemplateTenantAssociation {
52
+ /**
53
+ * The template's id
54
+ */
55
+ id: string;
56
+
57
+ /**
58
+ * The timestamp at which the template was created
59
+ */
60
+ created_at: string;
61
+
62
+ /**
63
+ * The timestamp at which the template was published
64
+ */
65
+ published_at: string;
66
+
67
+ /**
68
+ * The timestamp at which the template was last updated
69
+ */
70
+ updated_at: string;
71
+
72
+ /**
73
+ * The version of the template
74
+ */
75
+ version: string;
76
+ }
77
+
78
+ export interface ElementalContent {
79
+ elements: Array<SendAPI.ElementalNode>;
80
+
81
+ /**
82
+ * For example, "2022-01-01"
83
+ */
84
+ version: string;
85
+
86
+ brand?: string | null;
87
+ }
88
+
89
+ export interface TemplateListResponse {
90
+ /**
91
+ * Set to true when there are more pages that can be retrieved.
92
+ */
93
+ has_more: boolean;
94
+
95
+ /**
96
+ * Always set to `list`. Represents the type of this object.
97
+ */
98
+ type: 'list';
99
+
100
+ /**
101
+ * A url that may be used to generate these results.
102
+ */
103
+ url: string;
104
+
105
+ /**
106
+ * A pointer to the next page of results. Defined only when `has_more` is set to
107
+ * true
108
+ */
109
+ cursor?: string | null;
110
+
111
+ items?: Array<TemplateListResponse.Item> | null;
112
+
113
+ /**
114
+ * A url that may be used to generate fetch the next set of results. Defined only
115
+ * when `has_more` is set to true
116
+ */
117
+ next_url?: string | null;
118
+ }
119
+
120
+ export namespace TemplateListResponse {
121
+ export interface Item extends TemplatesAPI.BaseTemplateTenantAssociation {
122
+ /**
123
+ * The template's data containing it's routing configs
124
+ */
125
+ data: Item.Data;
126
+ }
127
+
128
+ export namespace Item {
129
+ /**
130
+ * The template's data containing it's routing configs
131
+ */
132
+ export interface Data {
133
+ routing: Shared.MessageRouting;
134
+ }
135
+ }
136
+ }
137
+
138
+ export interface TemplateRetrieveParams {
139
+ /**
140
+ * Id of the tenant for which to retrieve the template.
141
+ */
142
+ tenant_id: string;
143
+ }
144
+
145
+ export interface TemplateListParams {
146
+ /**
147
+ * Continue the pagination with the next cursor
148
+ */
149
+ cursor?: string | null;
150
+
151
+ /**
152
+ * The number of templates to return (defaults to 20, maximum value of 100)
153
+ */
154
+ limit?: number | null;
155
+ }
156
+
157
+ export declare namespace Templates {
158
+ export {
159
+ type BaseTemplateTenantAssociation as BaseTemplateTenantAssociation,
160
+ type ElementalContent as ElementalContent,
161
+ type TemplateListResponse as TemplateListResponse,
162
+ type TemplateRetrieveParams as TemplateRetrieveParams,
163
+ type TemplateListParams as TemplateListParams,
164
+ };
165
+ }
@@ -1,6 +1,15 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
+ import * as TemplatesAPI from './templates';
5
+ import {
6
+ BaseTemplateTenantAssociation,
7
+ ElementalContent,
8
+ TemplateListParams,
9
+ TemplateListResponse,
10
+ TemplateRetrieveParams,
11
+ Templates,
12
+ } from './templates';
4
13
  import * as UsersTenantsAPI from '../users/tenants';
5
14
  import * as DefaultPreferencesAPI from './default-preferences/default-preferences';
6
15
  import * as ItemsAPI from './default-preferences/items';
@@ -13,6 +22,7 @@ export class Tenants extends APIResource {
13
22
  defaultPreferences: DefaultPreferencesAPI.DefaultPreferences = new DefaultPreferencesAPI.DefaultPreferences(
14
23
  this._client,
15
24
  );
25
+ templates: TemplatesAPI.Templates = new TemplatesAPI.Templates(this._client);
16
26
 
17
27
  /**
18
28
  * Get a Tenant
@@ -267,6 +277,8 @@ export interface TenantListUsersParams {
267
277
  limit?: number | null;
268
278
  }
269
279
 
280
+ Tenants.Templates = Templates;
281
+
270
282
  export declare namespace Tenants {
271
283
  export {
272
284
  type DefaultPreferences as DefaultPreferences,
@@ -277,4 +289,13 @@ export declare namespace Tenants {
277
289
  type TenantListParams as TenantListParams,
278
290
  type TenantListUsersParams as TenantListUsersParams,
279
291
  };
292
+
293
+ export {
294
+ Templates as Templates,
295
+ type BaseTemplateTenantAssociation as BaseTemplateTenantAssociation,
296
+ type ElementalContent as ElementalContent,
297
+ type TemplateListResponse as TemplateListResponse,
298
+ type TemplateRetrieveParams as TemplateRetrieveParams,
299
+ type TemplateListParams as TemplateListParams,
300
+ };
280
301
  }
@@ -23,11 +23,11 @@ export {
23
23
  export {
24
24
  Tokens,
25
25
  type UserToken,
26
+ type TokenRetrieveResponse,
26
27
  type TokenListResponse,
27
- type TokenRetrieveSingleResponse,
28
+ type TokenRetrieveParams,
28
29
  type TokenUpdateParams,
29
30
  type TokenDeleteParams,
30
31
  type TokenAddSingleParams,
31
- type TokenRetrieveSingleParams,
32
32
  } from './tokens';
33
33
  export { Users } from './users';
@@ -7,6 +7,25 @@ import { RequestOptions } from '../../internal/request-options';
7
7
  import { path } from '../../internal/utils/path';
8
8
 
9
9
  export class Tokens extends APIResource {
10
+ /**
11
+ * Get single token available for a `:token`
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const token = await client.users.tokens.retrieve('token', {
16
+ * user_id: 'user_id',
17
+ * });
18
+ * ```
19
+ */
20
+ retrieve(
21
+ token: string,
22
+ params: TokenRetrieveParams,
23
+ options?: RequestOptions,
24
+ ): APIPromise<TokenRetrieveResponse> {
25
+ const { user_id } = params;
26
+ return this._client.get(path`/users/${user_id}/tokens/${token}`, options);
27
+ }
28
+
10
29
  /**
11
30
  * Apply a JSON Patch (RFC 6902) to the specified token.
12
31
  *
@@ -93,26 +112,6 @@ export class Tokens extends APIResource {
93
112
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
94
113
  });
95
114
  }
96
-
97
- /**
98
- * Get single token available for a `:token`
99
- *
100
- * @example
101
- * ```ts
102
- * const response = await client.users.tokens.retrieveSingle(
103
- * 'token',
104
- * { user_id: 'user_id' },
105
- * );
106
- * ```
107
- */
108
- retrieveSingle(
109
- token: string,
110
- params: TokenRetrieveSingleParams,
111
- options?: RequestOptions,
112
- ): APIPromise<TokenRetrieveSingleResponse> {
113
- const { user_id } = params;
114
- return this._client.get(path`/users/${user_id}/tokens/${token}`, options);
115
- }
116
115
  }
117
116
 
118
117
  export interface UserToken {
@@ -207,18 +206,25 @@ export namespace UserToken {
207
206
  }
208
207
  }
209
208
 
209
+ export interface TokenRetrieveResponse extends UserToken {
210
+ status?: 'active' | 'unknown' | 'failed' | 'revoked' | null;
211
+
212
+ /**
213
+ * The reason for the token status.
214
+ */
215
+ status_reason?: string | null;
216
+ }
217
+
210
218
  /**
211
219
  * A list of tokens registered with the user.
212
220
  */
213
221
  export type TokenListResponse = Array<UserToken>;
214
222
 
215
- export interface TokenRetrieveSingleResponse extends UserToken {
216
- status?: 'active' | 'unknown' | 'failed' | 'revoked' | null;
217
-
223
+ export interface TokenRetrieveParams {
218
224
  /**
219
- * The reason for the token status.
225
+ * The user's ID. This can be any uniquely identifiable string.
220
226
  */
221
- status_reason?: string | null;
227
+ user_id: string;
222
228
  }
223
229
 
224
230
  export interface TokenUpdateParams {
@@ -359,21 +365,14 @@ export namespace TokenAddSingleParams {
359
365
  }
360
366
  }
361
367
 
362
- export interface TokenRetrieveSingleParams {
363
- /**
364
- * The user's ID. This can be any uniquely identifiable string.
365
- */
366
- user_id: string;
367
- }
368
-
369
368
  export declare namespace Tokens {
370
369
  export {
371
370
  type UserToken as UserToken,
371
+ type TokenRetrieveResponse as TokenRetrieveResponse,
372
372
  type TokenListResponse as TokenListResponse,
373
- type TokenRetrieveSingleResponse as TokenRetrieveSingleResponse,
373
+ type TokenRetrieveParams as TokenRetrieveParams,
374
374
  type TokenUpdateParams as TokenUpdateParams,
375
375
  type TokenDeleteParams as TokenDeleteParams,
376
376
  type TokenAddSingleParams as TokenAddSingleParams,
377
- type TokenRetrieveSingleParams as TokenRetrieveSingleParams,
378
377
  };
379
378
  }
@@ -28,8 +28,8 @@ import {
28
28
  TokenAddSingleParams,
29
29
  TokenDeleteParams,
30
30
  TokenListResponse,
31
- TokenRetrieveSingleParams,
32
- TokenRetrieveSingleResponse,
31
+ TokenRetrieveParams,
32
+ TokenRetrieveResponse,
33
33
  TokenUpdateParams,
34
34
  Tokens,
35
35
  UserToken,
@@ -71,11 +71,11 @@ export declare namespace Users {
71
71
  export {
72
72
  Tokens as Tokens,
73
73
  type UserToken as UserToken,
74
+ type TokenRetrieveResponse as TokenRetrieveResponse,
74
75
  type TokenListResponse as TokenListResponse,
75
- type TokenRetrieveSingleResponse as TokenRetrieveSingleResponse,
76
+ type TokenRetrieveParams as TokenRetrieveParams,
76
77
  type TokenUpdateParams as TokenUpdateParams,
77
78
  type TokenDeleteParams as TokenDeleteParams,
78
79
  type TokenAddSingleParams as TokenAddSingleParams,
79
- type TokenRetrieveSingleParams as TokenRetrieveSingleParams,
80
80
  };
81
81
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.6.1-alpha0'; // x-release-please-version
1
+ export const VERSION = '6.7.0-alpha2'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.6.1-alpha0";
1
+ export declare const VERSION = "6.7.0-alpha2";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.6.1-alpha0";
1
+ export declare const VERSION = "6.7.0-alpha2";
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 = '6.6.1-alpha0'; // x-release-please-version
4
+ exports.VERSION = '6.7.0-alpha2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.6.1-alpha0'; // x-release-please-version
1
+ export const VERSION = '6.7.0-alpha2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map