@codeqr/ts 0.8.0 → 0.19.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.
- package/CHANGELOG.md +255 -0
- package/LICENSE +1 -1
- package/README.md +12 -1
- package/client.d.mts +6 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -5
- package/client.d.ts.map +1 -1
- package/client.js +23 -9
- package/client.js.map +1 -1
- package/client.mjs +23 -9
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/analytics.d.mts +1 -1
- package/resources/analytics.d.ts +1 -1
- package/resources/domains.d.mts +2 -2
- package/resources/domains.d.mts.map +1 -1
- package/resources/domains.d.ts +2 -2
- package/resources/domains.d.ts.map +1 -1
- package/resources/domains.js +2 -2
- package/resources/domains.js.map +1 -1
- package/resources/domains.mjs +2 -2
- package/resources/domains.mjs.map +1 -1
- package/resources/events.d.mts +8 -138
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +8 -138
- package/resources/events.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/links/bulk.d.mts +6 -26
- package/resources/links/bulk.d.mts.map +1 -1
- package/resources/links/bulk.d.ts +6 -26
- package/resources/links/bulk.d.ts.map +1 -1
- package/resources/links/bulk.js +0 -14
- package/resources/links/bulk.js.map +1 -1
- package/resources/links/bulk.mjs +0 -14
- package/resources/links/bulk.mjs.map +1 -1
- package/resources/links/index.d.mts +2 -2
- package/resources/links/index.d.mts.map +1 -1
- package/resources/links/index.d.ts +2 -2
- package/resources/links/index.d.ts.map +1 -1
- package/resources/links/index.js.map +1 -1
- package/resources/links/index.mjs +1 -1
- package/resources/links/index.mjs.map +1 -1
- package/resources/links/links.d.mts +27 -839
- package/resources/links/links.d.mts.map +1 -1
- package/resources/links/links.d.ts +27 -839
- package/resources/links/links.d.ts.map +1 -1
- package/resources/links/links.js +0 -26
- package/resources/links/links.js.map +1 -1
- package/resources/links/links.mjs +0 -26
- package/resources/links/links.mjs.map +1 -1
- package/resources/projects.d.mts +0 -4
- package/resources/projects.d.mts.map +1 -1
- package/resources/projects.d.ts +0 -4
- package/resources/projects.d.ts.map +1 -1
- package/resources/projects.js +0 -7
- package/resources/projects.js.map +1 -1
- package/resources/projects.mjs +0 -7
- package/resources/projects.mjs.map +1 -1
- package/resources/qrcodes/bulk.d.mts +31 -34
- package/resources/qrcodes/bulk.d.mts.map +1 -1
- package/resources/qrcodes/bulk.d.ts +31 -34
- package/resources/qrcodes/bulk.d.ts.map +1 -1
- package/resources/qrcodes/bulk.js +0 -14
- package/resources/qrcodes/bulk.js.map +1 -1
- package/resources/qrcodes/bulk.mjs +0 -14
- package/resources/qrcodes/bulk.mjs.map +1 -1
- package/resources/qrcodes/index.d.mts +2 -2
- package/resources/qrcodes/index.d.mts.map +1 -1
- package/resources/qrcodes/index.d.ts +2 -2
- package/resources/qrcodes/index.d.ts.map +1 -1
- package/resources/qrcodes/index.js.map +1 -1
- package/resources/qrcodes/index.mjs +1 -1
- package/resources/qrcodes/index.mjs.map +1 -1
- package/resources/qrcodes/qrcodes.d.mts +67 -696
- package/resources/qrcodes/qrcodes.d.mts.map +1 -1
- package/resources/qrcodes/qrcodes.d.ts +67 -696
- package/resources/qrcodes/qrcodes.d.ts.map +1 -1
- package/resources/qrcodes/qrcodes.js +1 -31
- package/resources/qrcodes/qrcodes.js.map +1 -1
- package/resources/qrcodes/qrcodes.mjs +1 -31
- package/resources/qrcodes/qrcodes.mjs.map +1 -1
- package/resources/tags.d.mts +9 -5
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts +9 -5
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.js +1 -1
- package/resources/tags.js.map +1 -1
- package/resources/tags.mjs +1 -1
- package/resources/tags.mjs.map +1 -1
- package/resources/track.d.mts +2 -2
- package/resources/track.d.ts +2 -2
- package/src/client.ts +28 -24
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/analytics.ts +1 -1
- package/src/resources/domains.ts +3 -3
- package/src/resources/events.ts +14 -144
- package/src/resources/index.ts +0 -6
- package/src/resources/links/bulk.ts +8 -37
- package/src/resources/links/index.ts +1 -10
- package/src/resources/links/links.ts +29 -1417
- package/src/resources/projects.ts +0 -8
- package/src/resources/qrcodes/bulk.ts +36 -46
- package/src/resources/qrcodes/index.ts +1 -10
- package/src/resources/qrcodes/qrcodes.ts +73 -1045
- package/src/resources/tags.ts +10 -5
- package/src/resources/track.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/src/resources/tags.ts
CHANGED
|
@@ -9,7 +9,7 @@ export class Tags extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Create a new tag for the authenticated project.
|
|
11
11
|
*/
|
|
12
|
-
create(body: TagCreateParams, options?: RequestOptions): APIPromise<Tag> {
|
|
12
|
+
create(body: TagCreateParams | null | undefined = {}, options?: RequestOptions): APIPromise<Tag> {
|
|
13
13
|
return this._client.post('/tags', { body, ...options });
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -63,16 +63,21 @@ export interface TagDeleteResponse {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
export interface TagCreateParams {
|
|
66
|
+
/**
|
|
67
|
+
* The color of the tag. If not provided, a random color will be used from the
|
|
68
|
+
* list: red, yellow, green, blue, purple, pink, brown.
|
|
69
|
+
*/
|
|
70
|
+
color?: 'red' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'brown';
|
|
71
|
+
|
|
66
72
|
/**
|
|
67
73
|
* The name of the tag to create.
|
|
68
74
|
*/
|
|
69
|
-
|
|
75
|
+
name?: string | null;
|
|
70
76
|
|
|
71
77
|
/**
|
|
72
|
-
* The
|
|
73
|
-
* list: red, yellow, green, blue, purple, pink, brown.
|
|
78
|
+
* The name of the tag to create.
|
|
74
79
|
*/
|
|
75
|
-
|
|
80
|
+
tag?: string | null;
|
|
76
81
|
}
|
|
77
82
|
|
|
78
83
|
export interface TagUpdateParams {
|
package/src/resources/track.ts
CHANGED
|
@@ -126,7 +126,7 @@ export interface TrackTrackLeadParams {
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* The mode to use for tracking the lead event. `async` will not block the request;
|
|
129
|
-
* `wait` will block the request until the lead event is fully recorded in
|
|
129
|
+
* `wait` will block the request until the lead event is fully recorded in CodeQR;
|
|
130
130
|
* `deferred` will defer the lead event creation to a subsequent request.
|
|
131
131
|
*/
|
|
132
132
|
mode?: 'async' | 'wait' | 'deferred';
|
|
@@ -148,7 +148,7 @@ export interface TrackTrackSaleParams {
|
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* [For direct sale tracking]: The unique ID of the click that the sale conversion
|
|
151
|
-
* event is attributed to. You can read this value from `
|
|
151
|
+
* event is attributed to. You can read this value from `cq_id` cookie.
|
|
152
152
|
*/
|
|
153
153
|
clickId?: string | null;
|
|
154
154
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.19.3'; // 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.19.3";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.19.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.19.3'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|