@snagsolutions/sdk 0.1.0-alpha.207 → 0.1.0-alpha.208
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 +8 -0
- package/package.json +1 -1
- package/resources/loyalty/account-streaks.d.ts +19 -4
- package/resources/loyalty/account-streaks.d.ts.map +1 -1
- package/src/resources/loyalty/account-streaks.ts +23 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.208 (2026-01-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.207...v0.1.0-alpha.208](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.207...v0.1.0-alpha.208)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** open api update ([fe8086e](https://github.com/Snag-Solutions/node-sdk/commit/fe8086ed13b9b2375dd760019285deba15066d32))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.207 (2026-01-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.206...v0.1.0-alpha.207](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.206...v0.1.0-alpha.207)
|
package/package.json
CHANGED
|
@@ -20,11 +20,10 @@ export declare class AccountStreaks extends APIResource {
|
|
|
20
20
|
*/
|
|
21
21
|
export type AccountStreakGetStreaksResponse = Array<AccountStreakGetStreaksResponse.AccountStreakGetStreaksResponseItem>;
|
|
22
22
|
export declare namespace AccountStreakGetStreaksResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Response schema for getting loyalty account streaks, null if no streak
|
|
25
|
+
*/
|
|
23
26
|
interface AccountStreakGetStreaksResponseItem {
|
|
24
|
-
/**
|
|
25
|
-
* ID of the loyalty account streak, null if no streak yet
|
|
26
|
-
*/
|
|
27
|
-
id: string | null;
|
|
28
27
|
/**
|
|
29
28
|
* Date and time the streak was created, null if no streak yet
|
|
30
29
|
*/
|
|
@@ -45,6 +44,10 @@ export declare namespace AccountStreakGetStreaksResponse {
|
|
|
45
44
|
updatedAt: string | null;
|
|
46
45
|
userId: string;
|
|
47
46
|
walletAddress: string;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the loyalty account streak, null if no streak yet
|
|
49
|
+
*/
|
|
50
|
+
id?: string;
|
|
48
51
|
}
|
|
49
52
|
namespace AccountStreakGetStreaksResponseItem {
|
|
50
53
|
interface Milestone {
|
|
@@ -62,10 +65,18 @@ export interface AccountStreakGetStreaksParams {
|
|
|
62
65
|
* Maximum number of records to return (max 1000)
|
|
63
66
|
*/
|
|
64
67
|
limit?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Unique identifier for the organization
|
|
70
|
+
*/
|
|
71
|
+
organizationId?: string;
|
|
65
72
|
/**
|
|
66
73
|
* Pagination cursor to start after a specific resource ID
|
|
67
74
|
*/
|
|
68
75
|
startingAfter?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Unique identifier for the user group
|
|
78
|
+
*/
|
|
79
|
+
userGroupId?: string;
|
|
69
80
|
/**
|
|
70
81
|
* User id to filter by
|
|
71
82
|
*/
|
|
@@ -74,6 +85,10 @@ export interface AccountStreakGetStreaksParams {
|
|
|
74
85
|
* Wallet address to filter by
|
|
75
86
|
*/
|
|
76
87
|
walletAddress?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Unique identifier for the website
|
|
90
|
+
*/
|
|
91
|
+
websiteId?: string;
|
|
77
92
|
}
|
|
78
93
|
export declare namespace AccountStreaks {
|
|
79
94
|
export { type AccountStreakGetStreaksResponse as AccountStreakGetStreaksResponse, type AccountStreakGetStreaksParams as AccountStreakGetStreaksParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-streaks.d.ts","sourceRoot":"","sources":["../../src/resources/loyalty/account-streaks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;OAWG;IACH,UAAU,CACR,KAAK,EAAE,6BAA6B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,MAAM,+BAA+B,GACzC,KAAK,CAAC,+BAA+B,CAAC,mCAAmC,CAAC,CAAC;AAE7E,yBAAiB,+BAA+B,CAAC;IAC/C,UAAiB,mCAAmC;QAClD;;WAEG;QACH,
|
|
1
|
+
{"version":3,"file":"account-streaks.d.ts","sourceRoot":"","sources":["../../src/resources/loyalty/account-streaks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;OAWG;IACH,UAAU,CACR,KAAK,EAAE,6BAA6B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,MAAM,+BAA+B,GACzC,KAAK,CAAC,+BAA+B,CAAC,mCAAmC,CAAC,CAAC;AAE7E,yBAAiB,+BAA+B,CAAC;IAC/C;;OAEG;IACH,UAAiB,mCAAmC;QAClD;;WAEG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB;;WAEG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,aAAa,EAAE,MAAM,CAAC;QAEtB,SAAS,EAAE,KAAK,CAAC,mCAAmC,CAAC,SAAS,CAAC,CAAC;QAEhE;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,MAAM,EAAE,MAAM,CAAC;QAEf,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;KACb;IAED,UAAiB,mCAAmC,CAAC;QACnD,UAAiB,SAAS;YACxB,YAAY,EAAE,MAAM,CAAC;YAErB,eAAe,EAAE,MAAM,CAAC;SACzB;KACF;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -31,12 +31,10 @@ export type AccountStreakGetStreaksResponse =
|
|
|
31
31
|
Array<AccountStreakGetStreaksResponse.AccountStreakGetStreaksResponseItem>;
|
|
32
32
|
|
|
33
33
|
export namespace AccountStreakGetStreaksResponse {
|
|
34
|
+
/**
|
|
35
|
+
* Response schema for getting loyalty account streaks, null if no streak
|
|
36
|
+
*/
|
|
34
37
|
export interface AccountStreakGetStreaksResponseItem {
|
|
35
|
-
/**
|
|
36
|
-
* ID of the loyalty account streak, null if no streak yet
|
|
37
|
-
*/
|
|
38
|
-
id: string | null;
|
|
39
|
-
|
|
40
38
|
/**
|
|
41
39
|
* Date and time the streak was created, null if no streak yet
|
|
42
40
|
*/
|
|
@@ -64,6 +62,11 @@ export namespace AccountStreakGetStreaksResponse {
|
|
|
64
62
|
userId: string;
|
|
65
63
|
|
|
66
64
|
walletAddress: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* ID of the loyalty account streak, null if no streak yet
|
|
68
|
+
*/
|
|
69
|
+
id?: string;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
export namespace AccountStreakGetStreaksResponseItem {
|
|
@@ -86,11 +89,21 @@ export interface AccountStreakGetStreaksParams {
|
|
|
86
89
|
*/
|
|
87
90
|
limit?: number;
|
|
88
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Unique identifier for the organization
|
|
94
|
+
*/
|
|
95
|
+
organizationId?: string;
|
|
96
|
+
|
|
89
97
|
/**
|
|
90
98
|
* Pagination cursor to start after a specific resource ID
|
|
91
99
|
*/
|
|
92
100
|
startingAfter?: string;
|
|
93
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Unique identifier for the user group
|
|
104
|
+
*/
|
|
105
|
+
userGroupId?: string;
|
|
106
|
+
|
|
94
107
|
/**
|
|
95
108
|
* User id to filter by
|
|
96
109
|
*/
|
|
@@ -100,6 +113,11 @@ export interface AccountStreakGetStreaksParams {
|
|
|
100
113
|
* Wallet address to filter by
|
|
101
114
|
*/
|
|
102
115
|
walletAddress?: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Unique identifier for the website
|
|
119
|
+
*/
|
|
120
|
+
websiteId?: string;
|
|
103
121
|
}
|
|
104
122
|
|
|
105
123
|
export declare namespace AccountStreaks {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.208'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.208";
|
|
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.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.208'; // 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.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.208'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|