@snagsolutions/sdk 0.1.0-alpha.68 → 0.1.0-alpha.69
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 +20 -4
- package/resources/loyalty/account-streaks.d.ts.map +1 -1
- package/src/resources/loyalty/account-streaks.ts +21 -4
- 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.69 (2025-06-05)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.68...v0.1.0-alpha.69](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.68...v0.1.0-alpha.69)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** open api update ([95bb4aa](https://github.com/Snag-Solutions/node-sdk/commit/95bb4aa90eeaca239a9db8bfe93c00fda8951d9c))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.68 (2025-06-04)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.67...v0.1.0-alpha.68](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.67...v0.1.0-alpha.68)
|
package/package.json
CHANGED
|
@@ -21,12 +21,28 @@ export declare class AccountStreaks extends APIResource {
|
|
|
21
21
|
export type AccountStreakGetStreaksResponse = Array<AccountStreakGetStreaksResponse.AccountStreakGetStreaksResponseItem>;
|
|
22
22
|
export declare namespace AccountStreakGetStreaksResponse {
|
|
23
23
|
interface AccountStreakGetStreaksResponseItem {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
/**
|
|
25
|
+
* ID of the loyalty account streak, null if no streak yet
|
|
26
|
+
*/
|
|
27
|
+
id: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Date and time the streak was created, null if no streak yet
|
|
30
|
+
*/
|
|
31
|
+
createdAt: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Date and time the streak expires, null if no streak yet
|
|
34
|
+
*/
|
|
35
|
+
expiresAt: string | null;
|
|
36
|
+
loyaltyRuleId: string;
|
|
27
37
|
milestone: Array<AccountStreakGetStreaksResponseItem.Milestone>;
|
|
38
|
+
/**
|
|
39
|
+
* Number of days in the streak, 0 if no streak
|
|
40
|
+
*/
|
|
28
41
|
streakCount: number;
|
|
29
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Date and time the streak was last updated, null if no streak yet
|
|
44
|
+
*/
|
|
45
|
+
updatedAt: string | null;
|
|
30
46
|
userId: string;
|
|
31
47
|
walletAddress: string;
|
|
32
48
|
}
|
|
@@ -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,EAAE,EAAE,MAAM,CAAC;
|
|
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;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M,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -32,17 +32,34 @@ export type AccountStreakGetStreaksResponse =
|
|
|
32
32
|
|
|
33
33
|
export namespace AccountStreakGetStreaksResponse {
|
|
34
34
|
export interface AccountStreakGetStreaksResponseItem {
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* ID of the loyalty account streak, null if no streak yet
|
|
37
|
+
*/
|
|
38
|
+
id: string | null;
|
|
36
39
|
|
|
37
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Date and time the streak was created, null if no streak yet
|
|
42
|
+
*/
|
|
43
|
+
createdAt: string | null;
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Date and time the streak expires, null if no streak yet
|
|
47
|
+
*/
|
|
48
|
+
expiresAt: string | null;
|
|
49
|
+
|
|
50
|
+
loyaltyRuleId: string;
|
|
40
51
|
|
|
41
52
|
milestone: Array<AccountStreakGetStreaksResponseItem.Milestone>;
|
|
42
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Number of days in the streak, 0 if no streak
|
|
56
|
+
*/
|
|
43
57
|
streakCount: number;
|
|
44
58
|
|
|
45
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Date and time the streak was last updated, null if no streak yet
|
|
61
|
+
*/
|
|
62
|
+
updatedAt: string | null;
|
|
46
63
|
|
|
47
64
|
userId: string;
|
|
48
65
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.69'; // 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.69";
|
|
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.69'; // 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.69'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|