@codeqr/ts 0.24.1 → 0.25.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.
- package/CHANGELOG.md +17 -0
- package/LICENSE +1 -1
- package/README.md +28 -28
- package/client.d.mts +10 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -10
- package/client.d.ts.map +1 -1
- package/client.js +38 -38
- package/client.mjs +36 -36
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.ts +2 -2
- package/core/error.d.mts +2 -2
- package/core/error.d.ts +2 -2
- package/core/error.js +4 -4
- package/core/error.mjs +2 -2
- package/core/resource.d.mts +3 -3
- package/core/resource.d.ts +3 -3
- package/index.d.mts +3 -3
- package/index.d.ts +3 -3
- package/index.js +4 -4
- package/index.mjs +3 -3
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.ts +2 -2
- package/internal/shims.js +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.ts +4 -4
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.mjs +6 -6
- package/package.json +3 -3
- package/resources/analytics.d.mts +38 -5
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +38 -5
- package/resources/analytics.d.ts.map +1 -1
- package/resources/domains.d.mts +26 -26
- package/resources/domains.d.mts.map +1 -1
- package/resources/domains.d.ts +26 -26
- package/resources/domains.d.ts.map +1 -1
- package/resources/domains.js +8 -8
- package/resources/domains.js.map +1 -1
- package/resources/domains.mjs +8 -8
- package/resources/domains.mjs.map +1 -1
- package/resources/events.d.mts +29 -72
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +29 -72
- package/resources/events.d.ts.map +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/links/bulk.d.mts +14 -5
- package/resources/links/bulk.d.mts.map +1 -1
- package/resources/links/bulk.d.ts +14 -5
- package/resources/links/bulk.d.ts.map +1 -1
- package/resources/links/index.d.mts +1 -1
- package/resources/links/index.d.mts.map +1 -1
- package/resources/links/index.d.ts +1 -1
- package/resources/links/index.d.ts.map +1 -1
- package/resources/links/links.d.mts +263 -237
- package/resources/links/links.d.mts.map +1 -1
- package/resources/links/links.d.ts +263 -237
- package/resources/links/links.d.ts.map +1 -1
- package/resources/links/links.js +21 -21
- package/resources/links/links.js.map +1 -1
- package/resources/links/links.mjs +21 -21
- package/resources/links/links.mjs.map +1 -1
- package/resources/qrcodes/bulk.d.mts +84 -17
- package/resources/qrcodes/bulk.d.mts.map +1 -1
- package/resources/qrcodes/bulk.d.ts +84 -17
- package/resources/qrcodes/bulk.d.ts.map +1 -1
- package/resources/qrcodes/index.d.mts +1 -1
- package/resources/qrcodes/index.d.mts.map +1 -1
- package/resources/qrcodes/index.d.ts +1 -1
- package/resources/qrcodes/index.d.ts.map +1 -1
- package/resources/qrcodes/qrcodes.d.mts +409 -223
- package/resources/qrcodes/qrcodes.d.mts.map +1 -1
- package/resources/qrcodes/qrcodes.d.ts +409 -223
- package/resources/qrcodes/qrcodes.d.ts.map +1 -1
- package/resources/qrcodes/qrcodes.js +11 -11
- package/resources/qrcodes/qrcodes.js.map +1 -1
- package/resources/qrcodes/qrcodes.mjs +11 -11
- package/resources/qrcodes/qrcodes.mjs.map +1 -1
- package/resources/tags.d.mts +12 -12
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts +12 -12
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.js +6 -6
- package/resources/tags.js.map +1 -1
- package/resources/tags.mjs +6 -6
- package/resources/tags.mjs.map +1 -1
- package/resources/track.d.mts +12 -0
- package/resources/track.d.mts.map +1 -1
- package/resources/track.d.ts +12 -0
- package/resources/track.d.ts.map +1 -1
- package/src/client.ts +21 -21
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/resource.ts +3 -3
- package/src/index.ts +3 -3
- package/src/internal/parse.ts +2 -2
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/resources/analytics.ts +45 -5
- package/src/resources/domains.ts +37 -37
- package/src/resources/events.ts +48 -82
- package/src/resources/index.ts +4 -4
- package/src/resources/links/bulk.ts +23 -6
- package/src/resources/links/index.ts +1 -1
- package/src/resources/links/links.ts +328 -257
- package/src/resources/qrcodes/bulk.ts +103 -17
- package/src/resources/qrcodes/index.ts +1 -1
- package/src/resources/qrcodes/qrcodes.ts +629 -368
- package/src/resources/tags.ts +16 -16
- package/src/resources/track.ts +14 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/tags.ts
CHANGED
|
@@ -14,17 +14,17 @@ export class Tags extends APIResource {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Update a tag in the workspace.
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
return this._client.
|
|
19
|
+
update(id: string, body: TagUpdateParams, options?: RequestOptions): APIPromise<Tag> {
|
|
20
|
+
return this._client.put(path`/tags/${id}`, { body, ...options });
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Retrieve a list of tags for the authenticated workspace.
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
return this._client.
|
|
26
|
+
list(query: TagListParams | null | undefined = {}, options?: RequestOptions): APIPromise<TagListResponse> {
|
|
27
|
+
return this._client.get('/tags', { query, ...options });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -80,6 +80,15 @@ export interface TagCreateParams {
|
|
|
80
80
|
tag?: string | null;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
export interface TagUpdateParams {
|
|
84
|
+
name: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The color of the tag
|
|
88
|
+
*/
|
|
89
|
+
color?: 'red' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'brown';
|
|
90
|
+
}
|
|
91
|
+
|
|
83
92
|
export interface TagListParams {
|
|
84
93
|
/**
|
|
85
94
|
* IDs of tags to filter by.
|
|
@@ -112,22 +121,13 @@ export interface TagListParams {
|
|
|
112
121
|
sortOrder?: 'asc' | 'desc';
|
|
113
122
|
}
|
|
114
123
|
|
|
115
|
-
export interface TagUpdateParams {
|
|
116
|
-
name: string;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* The color of the tag
|
|
120
|
-
*/
|
|
121
|
-
color?: 'red' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'brown';
|
|
122
|
-
}
|
|
123
|
-
|
|
124
124
|
export declare namespace Tags {
|
|
125
125
|
export {
|
|
126
126
|
type Tag as Tag,
|
|
127
127
|
type TagListResponse as TagListResponse,
|
|
128
128
|
type TagDeleteResponse as TagDeleteResponse,
|
|
129
129
|
type TagCreateParams as TagCreateParams,
|
|
130
|
-
type TagListParams as TagListParams,
|
|
131
130
|
type TagUpdateParams as TagUpdateParams,
|
|
131
|
+
type TagListParams as TagListParams,
|
|
132
132
|
};
|
|
133
133
|
}
|
package/src/resources/track.ts
CHANGED
|
@@ -113,6 +113,13 @@ export interface TrackTrackLeadParams {
|
|
|
113
113
|
*/
|
|
114
114
|
customerName?: string | null;
|
|
115
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Deduplication key shared with your own browser pixel. When your site also fires
|
|
118
|
+
* a Meta or TikTok pixel for this conversion, pass the same event id here so the
|
|
119
|
+
* platform counts it once.
|
|
120
|
+
*/
|
|
121
|
+
eventId?: string;
|
|
122
|
+
|
|
116
123
|
/**
|
|
117
124
|
* The numerical value associated with this lead event (e.g., number of provisioned
|
|
118
125
|
* seats in a free trial). If defined as N, the lead event will be tracked N times.
|
|
@@ -176,6 +183,13 @@ export interface TrackTrackSaleParams {
|
|
|
176
183
|
*/
|
|
177
184
|
customerName?: string | null;
|
|
178
185
|
|
|
186
|
+
/**
|
|
187
|
+
* Deduplication key shared with your own browser pixel. When your site also fires
|
|
188
|
+
* a Meta or TikTok pixel for this conversion, pass the same event id here so the
|
|
189
|
+
* platform counts it once.
|
|
190
|
+
*/
|
|
191
|
+
eventId?: string;
|
|
192
|
+
|
|
179
193
|
/**
|
|
180
194
|
* The name of the sale event. Recommended format: `Invoice paid` or
|
|
181
195
|
* `Subscription created`.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.25.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.25.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.25.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.25.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|