@usehercules/sdk 1.14.1 → 1.14.3

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 (163) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +9 -0
  3. package/client.d.mts +13 -4
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +13 -4
  6. package/client.d.ts.map +1 -1
  7. package/client.js +21 -5
  8. package/client.js.map +1 -1
  9. package/client.mjs +21 -5
  10. package/client.mjs.map +1 -1
  11. package/internal/parse.d.mts.map +1 -1
  12. package/internal/parse.d.ts.map +1 -1
  13. package/internal/parse.js +5 -0
  14. package/internal/parse.js.map +1 -1
  15. package/internal/parse.mjs +5 -0
  16. package/internal/parse.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/resources/content/{models/models.d.mts → collections/collections.d.mts} +88 -87
  19. package/resources/content/collections/collections.d.mts.map +1 -0
  20. package/resources/content/{models/models.d.ts → collections/collections.d.ts} +88 -87
  21. package/resources/content/collections/collections.d.ts.map +1 -0
  22. package/resources/content/collections/collections.js +58 -0
  23. package/resources/content/collections/collections.js.map +1 -0
  24. package/resources/content/collections/collections.mjs +53 -0
  25. package/resources/content/collections/collections.mjs.map +1 -0
  26. package/resources/content/{models → collections}/fields.d.mts +23 -22
  27. package/resources/content/collections/fields.d.mts.map +1 -0
  28. package/resources/content/{models → collections}/fields.d.ts +23 -22
  29. package/resources/content/collections/fields.d.ts.map +1 -0
  30. package/resources/content/collections/fields.js +41 -0
  31. package/resources/content/collections/fields.js.map +1 -0
  32. package/resources/content/collections/fields.mjs +37 -0
  33. package/resources/content/collections/fields.mjs.map +1 -0
  34. package/resources/content/collections/index.d.mts +3 -0
  35. package/resources/content/collections/index.d.mts.map +1 -0
  36. package/resources/content/collections/index.d.ts +3 -0
  37. package/resources/content/collections/index.d.ts.map +1 -0
  38. package/resources/content/{models → collections}/index.js +3 -3
  39. package/resources/content/collections/index.js.map +1 -0
  40. package/resources/content/{models → collections}/index.mjs +1 -1
  41. package/resources/content/collections/index.mjs.map +1 -0
  42. package/resources/content/collections.d.mts +2 -0
  43. package/resources/content/collections.d.mts.map +1 -0
  44. package/resources/content/collections.d.ts +2 -0
  45. package/resources/content/collections.d.ts.map +1 -0
  46. package/resources/content/{models.js → collections.js} +2 -2
  47. package/resources/content/collections.js.map +1 -0
  48. package/resources/content/collections.mjs +3 -0
  49. package/resources/content/collections.mjs.map +1 -0
  50. package/resources/content/content.d.mts +4 -4
  51. package/resources/content/content.d.mts.map +1 -1
  52. package/resources/content/content.d.ts +4 -4
  53. package/resources/content/content.d.ts.map +1 -1
  54. package/resources/content/content.js +4 -4
  55. package/resources/content/content.js.map +1 -1
  56. package/resources/content/content.mjs +4 -4
  57. package/resources/content/content.mjs.map +1 -1
  58. package/resources/content/entries.d.mts +18 -18
  59. package/resources/content/entries.d.mts.map +1 -1
  60. package/resources/content/entries.d.ts +18 -18
  61. package/resources/content/entries.d.ts.map +1 -1
  62. package/resources/content/entries.js +2 -2
  63. package/resources/content/entries.mjs +2 -2
  64. package/resources/content/index.d.mts +1 -1
  65. package/resources/content/index.d.mts.map +1 -1
  66. package/resources/content/index.d.ts +1 -1
  67. package/resources/content/index.d.ts.map +1 -1
  68. package/resources/content/index.js +3 -3
  69. package/resources/content/index.js.map +1 -1
  70. package/resources/content/index.mjs +1 -1
  71. package/resources/content/index.mjs.map +1 -1
  72. package/resources/email/email.d.mts +166 -0
  73. package/resources/email/email.d.mts.map +1 -0
  74. package/resources/email/email.d.ts +166 -0
  75. package/resources/email/email.d.ts.map +1 -0
  76. package/resources/email/email.js +43 -0
  77. package/resources/email/email.js.map +1 -0
  78. package/resources/email/email.mjs +38 -0
  79. package/resources/email/email.mjs.map +1 -0
  80. package/resources/email/identities.d.mts +107 -0
  81. package/resources/email/identities.d.mts.map +1 -0
  82. package/resources/email/identities.d.ts +107 -0
  83. package/resources/email/identities.d.ts.map +1 -0
  84. package/resources/email/identities.js +51 -0
  85. package/resources/email/identities.js.map +1 -0
  86. package/resources/email/identities.mjs +47 -0
  87. package/resources/email/identities.mjs.map +1 -0
  88. package/resources/email/index.d.mts +3 -0
  89. package/resources/email/index.d.mts.map +1 -0
  90. package/resources/email/index.d.ts +3 -0
  91. package/resources/email/index.d.ts.map +1 -0
  92. package/resources/email/index.js +9 -0
  93. package/resources/email/index.js.map +1 -0
  94. package/resources/email/index.mjs +4 -0
  95. package/resources/email/index.mjs.map +1 -0
  96. package/resources/email.d.mts +2 -0
  97. package/resources/email.d.mts.map +1 -0
  98. package/resources/email.d.ts +2 -0
  99. package/resources/email.d.ts.map +1 -0
  100. package/resources/email.js +6 -0
  101. package/resources/email.js.map +1 -0
  102. package/resources/{content/models.mjs → email.mjs} +2 -2
  103. package/resources/email.mjs.map +1 -0
  104. package/resources/files.d.mts +8 -6
  105. package/resources/files.d.mts.map +1 -1
  106. package/resources/files.d.ts +8 -6
  107. package/resources/files.d.ts.map +1 -1
  108. package/resources/files.js +3 -2
  109. package/resources/files.js.map +1 -1
  110. package/resources/files.mjs +3 -2
  111. package/resources/files.mjs.map +1 -1
  112. package/resources/index.d.mts +1 -0
  113. package/resources/index.d.mts.map +1 -1
  114. package/resources/index.d.ts +1 -0
  115. package/resources/index.d.ts.map +1 -1
  116. package/resources/index.js +3 -1
  117. package/resources/index.js.map +1 -1
  118. package/resources/index.mjs +1 -0
  119. package/resources/index.mjs.map +1 -1
  120. package/src/client.ts +46 -8
  121. package/src/internal/parse.ts +6 -0
  122. package/src/resources/content/{models/models.ts → collections/collections.ts} +112 -108
  123. package/src/resources/content/{models → collections}/fields.ts +39 -27
  124. package/src/resources/content/{models → collections}/index.ts +8 -8
  125. package/src/resources/content/collections.ts +3 -0
  126. package/src/resources/content/content.ts +16 -16
  127. package/src/resources/content/entries.ts +20 -20
  128. package/src/resources/content/index.ts +9 -9
  129. package/src/resources/email/email.ts +229 -0
  130. package/src/resources/email/identities.ts +151 -0
  131. package/src/resources/email/index.ts +18 -0
  132. package/src/resources/{content/models.ts → email.ts} +1 -1
  133. package/src/resources/files.ts +8 -6
  134. package/src/resources/index.ts +9 -0
  135. package/src/version.ts +1 -1
  136. package/version.d.mts +1 -1
  137. package/version.d.ts +1 -1
  138. package/version.js +1 -1
  139. package/version.mjs +1 -1
  140. package/resources/content/models/fields.d.mts.map +0 -1
  141. package/resources/content/models/fields.d.ts.map +0 -1
  142. package/resources/content/models/fields.js +0 -37
  143. package/resources/content/models/fields.js.map +0 -1
  144. package/resources/content/models/fields.mjs +0 -33
  145. package/resources/content/models/fields.mjs.map +0 -1
  146. package/resources/content/models/index.d.mts +0 -3
  147. package/resources/content/models/index.d.mts.map +0 -1
  148. package/resources/content/models/index.d.ts +0 -3
  149. package/resources/content/models/index.d.ts.map +0 -1
  150. package/resources/content/models/index.js.map +0 -1
  151. package/resources/content/models/index.mjs.map +0 -1
  152. package/resources/content/models/models.d.mts.map +0 -1
  153. package/resources/content/models/models.d.ts.map +0 -1
  154. package/resources/content/models/models.js +0 -54
  155. package/resources/content/models/models.js.map +0 -1
  156. package/resources/content/models/models.mjs +0 -49
  157. package/resources/content/models/models.mjs.map +0 -1
  158. package/resources/content/models.d.mts +0 -2
  159. package/resources/content/models.d.mts.map +0 -1
  160. package/resources/content/models.d.ts +0 -2
  161. package/resources/content/models.d.ts.map +0 -1
  162. package/resources/content/models.js.map +0 -1
  163. package/resources/content/models.mjs.map +0 -1
@@ -8,6 +8,15 @@ export {
8
8
  type AssetListParams,
9
9
  type AssetsCursorIDPage,
10
10
  } from './assets';
11
+ export {
12
+ Collections,
13
+ type Collection,
14
+ type Field,
15
+ type CollectionCreateParams,
16
+ type CollectionUpdateParams,
17
+ type CollectionListParams,
18
+ type CollectionsCursorIDPage,
19
+ } from './collections/index';
11
20
  export { Content } from './content';
12
21
  export {
13
22
  Entries,
@@ -26,15 +35,6 @@ export {
26
35
  type LocaleListParams,
27
36
  type LocalesCursorIDPage,
28
37
  } from './locales';
29
- export {
30
- Models,
31
- type Field,
32
- type Model,
33
- type ModelCreateParams,
34
- type ModelUpdateParams,
35
- type ModelListParams,
36
- type ModelsCursorIDPage,
37
- } from './models/index';
38
38
  export {
39
39
  Releases,
40
40
  type Release,
@@ -0,0 +1,229 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as IdentitiesAPI from './identities';
5
+ import {
6
+ Identities,
7
+ IdentitiesCursorIDPage,
8
+ Identity,
9
+ IdentityCreateParams,
10
+ IdentityListParams,
11
+ } from './identities';
12
+ import { APIPromise } from '../../core/api-promise';
13
+ import { CursorIDPage, type CursorIDPageParams, PagePromise } from '../../core/pagination';
14
+ import { RequestOptions } from '../../internal/request-options';
15
+ import { path } from '../../internal/utils/path';
16
+
17
+ /**
18
+ * Send transactional emails, send batch emails, and retrieve sent email
19
+ * history with delivery status tracking.
20
+ */
21
+ export class EmailResource extends APIResource {
22
+ identities: IdentitiesAPI.Identities = new IdentitiesAPI.Identities(this._client);
23
+
24
+ /**
25
+ * Retrieves a paginated list of sent emails. Returns email metadata including
26
+ * delivery status.
27
+ */
28
+ list(
29
+ query: EmailListParams | null | undefined = {},
30
+ options?: RequestOptions,
31
+ ): PagePromise<EmailsCursorIDPage, Email> {
32
+ return this._client.getAPIList('/v1/email', CursorIDPage<Email>, { query, ...options });
33
+ }
34
+
35
+ /**
36
+ * Retrieves a single email by its unique identifier.
37
+ */
38
+ get(emailID: string, options?: RequestOptions): APIPromise<Email> {
39
+ return this._client.get(path`/v1/email/${emailID}`, options);
40
+ }
41
+
42
+ /**
43
+ * Sends a single email. The sender address must be a verified identity for this
44
+ * website.
45
+ */
46
+ send(body: EmailSendParams, options?: RequestOptions): APIPromise<EmailSendResponse> {
47
+ return this._client.post('/v1/email', { body, ...options });
48
+ }
49
+ }
50
+
51
+ export type EmailsCursorIDPage = CursorIDPage<Email>;
52
+
53
+ /**
54
+ * A file attachment
55
+ */
56
+ export interface Attachment {
57
+ /**
58
+ * The Base64-encoded content of the attachment. Max 40MB total per email.
59
+ */
60
+ content: string;
61
+
62
+ /**
63
+ * The name of the attached file
64
+ */
65
+ filename: string;
66
+
67
+ /**
68
+ * The MIME type of the attachment
69
+ */
70
+ content_type?: string;
71
+ }
72
+
73
+ /**
74
+ * A sent email object
75
+ */
76
+ export interface Email {
77
+ /**
78
+ * Unique identifier for the email
79
+ */
80
+ id: string;
81
+
82
+ /**
83
+ * Timestamp when the email was sent
84
+ */
85
+ created_at: string;
86
+
87
+ /**
88
+ * Sender email address
89
+ */
90
+ from: string;
91
+
92
+ /**
93
+ * Email subject line
94
+ */
95
+ subject: string;
96
+
97
+ /**
98
+ * Recipient email addresses
99
+ */
100
+ to: Array<string>;
101
+
102
+ /**
103
+ * Blind carbon copy recipients
104
+ */
105
+ bcc?: Array<string> | null;
106
+
107
+ /**
108
+ * Carbon copy recipients
109
+ */
110
+ cc?: Array<string> | null;
111
+
112
+ /**
113
+ * The most recent event for this email
114
+ */
115
+ last_event?: 'sent' | 'delivered' | 'opened' | 'clicked' | 'bounced' | 'complained' | null;
116
+
117
+ /**
118
+ * Reply-to addresses
119
+ */
120
+ reply_to?: Array<string> | null;
121
+ }
122
+
123
+ /**
124
+ * Response after sending an email
125
+ */
126
+ export interface EmailSendResponse {
127
+ /**
128
+ * The unique identifier of the sent email
129
+ */
130
+ id: string;
131
+ }
132
+
133
+ export interface EmailListParams extends CursorIDPageParams {}
134
+
135
+ export interface EmailSendParams {
136
+ /**
137
+ * Sender email address. To include a friendly name, use the format 'Your Name
138
+ * <sender@domain.com>'.
139
+ */
140
+ from: string;
141
+
142
+ /**
143
+ * Email subject line
144
+ */
145
+ subject: string;
146
+
147
+ /**
148
+ * Recipient email address(es). Maximum 50.
149
+ */
150
+ to: string | Array<string>;
151
+
152
+ /**
153
+ * List of file attachments. Total size must not exceed 40MB after Base64 encoding.
154
+ */
155
+ attachments?: Array<Attachment>;
156
+
157
+ /**
158
+ * Blind carbon copy recipient(s)
159
+ */
160
+ bcc?: string | Array<string>;
161
+
162
+ /**
163
+ * Carbon copy recipient(s)
164
+ */
165
+ cc?: string | Array<string>;
166
+
167
+ /**
168
+ * Custom email headers as key-value pairs
169
+ */
170
+ headers?: { [key: string]: string };
171
+
172
+ /**
173
+ * The HTML version of the message body
174
+ */
175
+ html?: string;
176
+
177
+ /**
178
+ * Reply-to email address(es)
179
+ */
180
+ reply_to?: string | Array<string>;
181
+
182
+ /**
183
+ * Custom metadata tags for the email (max 50)
184
+ */
185
+ tags?: Array<EmailSendParams.Tag>;
186
+
187
+ /**
188
+ * The plain text version of the message body
189
+ */
190
+ text?: string;
191
+ }
192
+
193
+ export namespace EmailSendParams {
194
+ /**
195
+ * A custom metadata tag for the email
196
+ */
197
+ export interface Tag {
198
+ /**
199
+ * The name of the tag
200
+ */
201
+ name: string;
202
+
203
+ /**
204
+ * The value of the tag
205
+ */
206
+ value: string;
207
+ }
208
+ }
209
+
210
+ EmailResource.Identities = Identities;
211
+
212
+ export declare namespace EmailResource {
213
+ export {
214
+ type Attachment as Attachment,
215
+ type Email as Email,
216
+ type EmailSendResponse as EmailSendResponse,
217
+ type EmailsCursorIDPage as EmailsCursorIDPage,
218
+ type EmailListParams as EmailListParams,
219
+ type EmailSendParams as EmailSendParams,
220
+ };
221
+
222
+ export {
223
+ Identities as Identities,
224
+ type Identity as Identity,
225
+ type IdentitiesCursorIDPage as IdentitiesCursorIDPage,
226
+ type IdentityCreateParams as IdentityCreateParams,
227
+ type IdentityListParams as IdentityListParams,
228
+ };
229
+ }
@@ -0,0 +1,151 @@
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 { CursorIDPage, type CursorIDPageParams, PagePromise } from '../../core/pagination';
6
+ import { buildHeaders } from '../../internal/headers';
7
+ import { RequestOptions } from '../../internal/request-options';
8
+ import { path } from '../../internal/utils/path';
9
+
10
+ export class Identities extends APIResource {
11
+ /**
12
+ * Creates a new sender identity for email verification. For email identities, a
13
+ * verification email is sent. For domain identities, DNS records are returned that
14
+ * must be configured to verify ownership.
15
+ */
16
+ create(body: IdentityCreateParams, options?: RequestOptions): APIPromise<Identity> {
17
+ return this._client.post('/v1/email/identities', { body, ...options });
18
+ }
19
+
20
+ /**
21
+ * Retrieves a paginated list of sender identities (email addresses and domains)
22
+ * configured for this website.
23
+ */
24
+ list(
25
+ query: IdentityListParams | null | undefined = {},
26
+ options?: RequestOptions,
27
+ ): PagePromise<IdentitiesCursorIDPage, Identity> {
28
+ return this._client.getAPIList('/v1/email/identities', CursorIDPage<Identity>, { query, ...options });
29
+ }
30
+
31
+ /**
32
+ * Permanently deletes a sender identity. Emails can no longer be sent from this
33
+ * address or domain after deletion.
34
+ */
35
+ delete(identityID: string, options?: RequestOptions): APIPromise<void> {
36
+ return this._client.delete(path`/v1/email/identities/${identityID}`, {
37
+ ...options,
38
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
39
+ });
40
+ }
41
+
42
+ /**
43
+ * Retrieves a sender identity by ID. Returns the identity with its current
44
+ * verification status and any required DNS records.
45
+ */
46
+ get(identityID: string, options?: RequestOptions): APIPromise<Identity> {
47
+ return this._client.get(path`/v1/email/identities/${identityID}`, options);
48
+ }
49
+
50
+ /**
51
+ * Triggers a manual recheck of the identity's verification status against AWS SES.
52
+ * Returns the identity with its updated status.
53
+ */
54
+ verify(identityID: string, options?: RequestOptions): APIPromise<Identity> {
55
+ return this._client.post(path`/v1/email/identities/${identityID}/verify`, options);
56
+ }
57
+ }
58
+
59
+ export type IdentitiesCursorIDPage = CursorIDPage<Identity>;
60
+
61
+ /**
62
+ * A verified sender identity (email address or domain) for sending emails
63
+ */
64
+ export interface Identity {
65
+ /**
66
+ * Unique identifier for the identity
67
+ */
68
+ id: string;
69
+
70
+ /**
71
+ * Timestamp when the identity was created
72
+ */
73
+ created_at: string;
74
+
75
+ /**
76
+ * The verification status of the identity
77
+ */
78
+ status: 'pending' | 'verified' | 'failed';
79
+
80
+ /**
81
+ * The type of identity: 'email' for a single email address, 'domain' for an entire
82
+ * domain
83
+ */
84
+ type: 'email' | 'domain';
85
+
86
+ /**
87
+ * The email address or domain name
88
+ */
89
+ value: string;
90
+
91
+ /**
92
+ * DNS records required for verification (only present for domain identities)
93
+ */
94
+ verification_records?: Array<Identity.VerificationRecord> | null;
95
+ }
96
+
97
+ export namespace Identity {
98
+ /**
99
+ * A DNS record required for domain verification
100
+ */
101
+ export interface VerificationRecord {
102
+ /**
103
+ * The DNS record name/host
104
+ */
105
+ name: string;
106
+
107
+ /**
108
+ * Verification status of this individual record
109
+ */
110
+ status: 'pending' | 'verified' | 'failed';
111
+
112
+ /**
113
+ * The DNS record type
114
+ */
115
+ type: 'TXT' | 'CNAME' | 'MX';
116
+
117
+ /**
118
+ * The DNS record value
119
+ */
120
+ value: string;
121
+
122
+ /**
123
+ * The DNS record priority (for MX records)
124
+ */
125
+ priority?: number;
126
+ }
127
+ }
128
+
129
+ export interface IdentityCreateParams {
130
+ /**
131
+ * The type of identity to create. Use 'email' for a single address or 'domain' for
132
+ * an entire domain.
133
+ */
134
+ type: 'email' | 'domain';
135
+
136
+ /**
137
+ * The email address or domain name to verify
138
+ */
139
+ value: string;
140
+ }
141
+
142
+ export interface IdentityListParams extends CursorIDPageParams {}
143
+
144
+ export declare namespace Identities {
145
+ export {
146
+ type Identity as Identity,
147
+ type IdentitiesCursorIDPage as IdentitiesCursorIDPage,
148
+ type IdentityCreateParams as IdentityCreateParams,
149
+ type IdentityListParams as IdentityListParams,
150
+ };
151
+ }
@@ -0,0 +1,18 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ EmailResource,
5
+ type Attachment,
6
+ type Email,
7
+ type EmailSendResponse,
8
+ type EmailListParams,
9
+ type EmailSendParams,
10
+ type EmailsCursorIDPage,
11
+ } from './email';
12
+ export {
13
+ Identities,
14
+ type Identity,
15
+ type IdentityCreateParams,
16
+ type IdentityListParams,
17
+ type IdentitiesCursorIDPage,
18
+ } from './identities';
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export * from './models/index';
3
+ export * from './email/index';
@@ -8,8 +8,9 @@ import { path } from '../internal/utils/path';
8
8
 
9
9
  /**
10
10
  * Upload, retrieve, and list files and media associated with a website.
11
- * Upload is a two-step process: first create an upload to get a presigned URL,
12
- * then complete the upload after putting the file content to the presigned URL.
11
+ * Upload is a two-step process: first call create to get an upload URL,
12
+ * then PUT the file content to that URL. The PUT response returns the
13
+ * completed MediaFile object. No separate complete call is needed.
13
14
  */
14
15
  export class Files extends APIResource {
15
16
  /**
@@ -89,12 +90,12 @@ export interface File {
89
90
  }
90
91
 
91
92
  /**
92
- * Response containing a presigned upload URL. PUT the file content to upload_url
93
- * with the provided headers, then call complete to finalize.
93
+ * Response containing an upload URL. PUT the file content to upload_url with the
94
+ * provided headers. The PUT response will contain the completed MediaFile object.
94
95
  */
95
96
  export interface Upload {
96
97
  /**
97
- * File ID to use when completing the upload
98
+ * File ID assigned to this upload
98
99
  */
99
100
  id: string;
100
101
 
@@ -104,7 +105,8 @@ export interface Upload {
104
105
  upload_headers: { [key: string]: string };
105
106
 
106
107
  /**
107
- * Presigned URL to PUT the file content to
108
+ * URL to PUT the file content to. The upload proxy will store the file, create
109
+ * database records, and return the completed MediaFile object in the PUT response.
108
110
  */
109
111
  upload_url: string;
110
112
  }
@@ -12,6 +12,15 @@ export {
12
12
  } from './commerce/commerce';
13
13
  export { Content } from './content/content';
14
14
  export { Domains, type Domain, type DomainListParams, type DomainsCursorIDPage } from './domains';
15
+ export {
16
+ EmailResource,
17
+ type Attachment,
18
+ type Email,
19
+ type EmailSendResponse,
20
+ type EmailListParams,
21
+ type EmailSendParams,
22
+ type EmailsCursorIDPage,
23
+ } from './email/email';
15
24
  export { Files, type File, type Upload, type FileListParams, type FilesCursorIDPage } from './files';
16
25
  export {
17
26
  PushNotifications,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.14.1'; // x-release-please-version
1
+ export const VERSION = '1.14.3'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.14.1";
1
+ export declare const VERSION = "1.14.3";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.14.1";
1
+ export declare const VERSION = "1.14.3";
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 = '1.14.1'; // x-release-please-version
4
+ exports.VERSION = '1.14.3'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.14.1'; // x-release-please-version
1
+ export const VERSION = '1.14.3'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../../src/resources/content/models/fields.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC;IAIvG;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC;IAKzG;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MA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AiB,CAAC;IACjC;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEnC;;WAEG;QACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE/B;;WAEG;QACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE/B;;WAEG;QACH,eAAe,CAAC,EACZ,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,WAAW,GACX,OAAO,GACP,MAAM,GACN,OAAO,CAAC;QAEZ;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;KAClB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,37 +0,0 @@
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.Fields = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- const headers_1 = require("../../../internal/headers.js");
7
- const path_1 = require("../../../internal/utils/path.js");
8
- class Fields extends resource_1.APIResource {
9
- /**
10
- * Adds a new field to a content model. Fields define the structure of entries. The
11
- * model must not be locked. Adding a field increments the model version.
12
- */
13
- create(modelID, body, options) {
14
- return this._client.post((0, path_1.path) `/v1/content/models/${modelID}/fields`, { body, ...options });
15
- }
16
- /**
17
- * Updates an existing field in a content model. The field type cannot be changed
18
- * after creation. The model must not be locked.
19
- */
20
- update(fieldID, params, options) {
21
- const { model_id, ...body } = params;
22
- return this._client.patch((0, path_1.path) `/v1/content/models/${model_id}/fields/${fieldID}`, { body, ...options });
23
- }
24
- /**
25
- * Removes a field from a content model. Existing entry data for this field is
26
- * preserved but will no longer be validated. The model must not be locked.
27
- */
28
- delete(fieldID, params, options) {
29
- const { model_id } = params;
30
- return this._client.delete((0, path_1.path) `/v1/content/models/${model_id}/fields/${fieldID}`, {
31
- ...options,
32
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
33
- });
34
- }
35
- }
36
- exports.Fields = Fields;
37
- //# sourceMappingURL=fields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../src/resources/content/models/fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,IAAuB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,sBAAsB,OAAO,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,sBAAsB,QAAQ,WAAW,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,sBAAsB,QAAQ,WAAW,OAAO,EAAE,EAAE;YACjF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA7BD,wBA6BC"}
@@ -1,33 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import { buildHeaders } from "../../../internal/headers.mjs";
4
- import { path } from "../../../internal/utils/path.mjs";
5
- export class Fields extends APIResource {
6
- /**
7
- * Adds a new field to a content model. Fields define the structure of entries. The
8
- * model must not be locked. Adding a field increments the model version.
9
- */
10
- create(modelID, body, options) {
11
- return this._client.post(path `/v1/content/models/${modelID}/fields`, { body, ...options });
12
- }
13
- /**
14
- * Updates an existing field in a content model. The field type cannot be changed
15
- * after creation. The model must not be locked.
16
- */
17
- update(fieldID, params, options) {
18
- const { model_id, ...body } = params;
19
- return this._client.patch(path `/v1/content/models/${model_id}/fields/${fieldID}`, { body, ...options });
20
- }
21
- /**
22
- * Removes a field from a content model. Existing entry data for this field is
23
- * preserved but will no longer be validated. The model must not be locked.
24
- */
25
- delete(fieldID, params, options) {
26
- const { model_id } = params;
27
- return this._client.delete(path `/v1/content/models/${model_id}/fields/${fieldID}`, {
28
- ...options,
29
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
30
- });
31
- }
32
- }
33
- //# sourceMappingURL=fields.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.mjs","sourceRoot":"","sources":["../../../src/resources/content/models/fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,IAAuB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,sBAAsB,OAAO,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,sBAAsB,QAAQ,WAAW,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,sBAAsB,QAAQ,WAAW,OAAO,EAAE,EAAE;YACjF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,3 +0,0 @@
1
- export { Fields, type FieldCreateParams, type FieldUpdateParams, type FieldDeleteParams } from "./fields.mjs";
2
- export { Models, type Field, type Model, type ModelCreateParams, type ModelUpdateParams, type ModelListParams, type ModelsCursorIDPage, } from "./models.mjs";
3
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/content/models/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE;OAClF,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB"}
@@ -1,3 +0,0 @@
1
- export { Fields, type FieldCreateParams, type FieldUpdateParams, type FieldDeleteParams } from "./fields.js";
2
- export { Models, type Field, type Model, type ModelCreateParams, type ModelUpdateParams, type ModelListParams, type ModelsCursorIDPage, } from "./models.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/content/models/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE;OAClF,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/content/models/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAA0G;AAAjG,gGAAA,MAAM,OAAA;AACf,sCAQkB;AAPhB,gGAAA,MAAM,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/content/models/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAA0E;OAClF,EACL,MAAM,GAOP"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"models.d.mts","sourceRoot":"","s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