@snagsolutions/sdk 0.1.0-alpha.45 → 0.1.0-alpha.46
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 +10 -0
- package/README.md +18 -16
- package/index.d.mts +4 -4
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets.d.ts +7 -1
- package/resources/assets.d.ts.map +1 -1
- package/resources/auctions/auctions.d.ts +266 -0
- package/resources/auctions/auctions.d.ts.map +1 -0
- package/resources/auctions/auctions.js +62 -0
- package/resources/auctions/auctions.js.map +1 -0
- package/resources/auctions/auctions.mjs +35 -0
- package/resources/auctions/auctions.mjs.map +1 -0
- package/resources/auctions/index.d.ts +3 -0
- package/resources/auctions/index.d.ts.map +1 -0
- package/resources/auctions/index.js +9 -0
- package/resources/auctions/index.js.map +1 -0
- package/resources/auctions/index.mjs +4 -0
- package/resources/auctions/index.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/index.d.ts +3 -0
- package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/index.js +9 -0
- package/resources/auctions/website-user-attributes/index.js.map +1 -0
- package/resources/auctions/website-user-attributes/index.mjs +4 -0
- package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/values.d.ts +94 -0
- package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/values.js +21 -0
- package/resources/auctions/website-user-attributes/values.js.map +1 -0
- package/resources/auctions/website-user-attributes/values.mjs +17 -0
- package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +108 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.js +58 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.mjs +31 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
- package/resources/auctions/website-user-attributes.d.ts +2 -0
- package/resources/auctions/website-user-attributes.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes.js +19 -0
- package/resources/auctions/website-user-attributes.js.map +1 -0
- package/resources/auctions/website-user-attributes.mjs +3 -0
- package/resources/auctions/website-user-attributes.mjs.map +1 -0
- package/resources/auctions.d.ts +1 -133
- package/resources/auctions.d.ts.map +1 -1
- package/resources/auctions.js +15 -22
- package/resources/auctions.js.map +1 -1
- package/resources/auctions.mjs +1 -20
- package/resources/auctions.mjs.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/loyalty/index.d.ts +1 -1
- package/resources/loyalty/index.d.ts.map +1 -1
- package/resources/loyalty/index.js +2 -2
- package/resources/loyalty/index.js.map +1 -1
- package/resources/loyalty/index.mjs +1 -1
- package/resources/loyalty/index.mjs.map +1 -1
- package/resources/loyalty/loyalty.d.ts +3 -3
- package/resources/loyalty/loyalty.d.ts.map +1 -1
- package/resources/loyalty/loyalty.js +2 -2
- package/resources/loyalty/loyalty.js.map +1 -1
- package/resources/loyalty/loyalty.mjs +2 -2
- package/resources/loyalty/loyalty.mjs.map +1 -1
- package/resources/loyalty/transactions/index.d.ts +3 -0
- package/resources/loyalty/transactions/index.d.ts.map +1 -0
- package/resources/loyalty/transactions/index.js +9 -0
- package/resources/loyalty/transactions/index.js.map +1 -0
- package/resources/loyalty/transactions/index.mjs +4 -0
- package/resources/loyalty/transactions/index.mjs.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts +104 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.js +22 -0
- package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.mjs +18 -0
- package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
- package/resources/loyalty/transactions/transactions.d.ts +288 -0
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
- package/resources/loyalty/transactions/transactions.js +58 -0
- package/resources/loyalty/transactions/transactions.js.map +1 -0
- package/resources/loyalty/transactions/transactions.mjs +31 -0
- package/resources/loyalty/transactions/transactions.mjs.map +1 -0
- package/resources/loyalty/transactions.d.ts +1 -257
- package/resources/loyalty/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions.js +15 -18
- package/resources/loyalty/transactions.js.map +1 -1
- package/resources/loyalty/transactions.mjs +1 -16
- package/resources/loyalty/transactions.mjs.map +1 -1
- package/resources/users/index.d.ts +1 -1
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/users.d.ts +60 -1
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js +9 -0
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs +9 -0
- package/resources/users/users.mjs.map +1 -1
- package/src/index.ts +17 -1
- package/src/resources/assets.ts +8 -1
- package/src/resources/auctions/auctions.ts +417 -0
- package/src/resources/auctions/index.ts +18 -0
- package/src/resources/auctions/website-user-attributes/index.ts +18 -0
- package/src/resources/auctions/website-user-attributes/values.ts +137 -0
- package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +183 -0
- package/src/resources/auctions/website-user-attributes.ts +3 -0
- package/src/resources/auctions.ts +1 -207
- package/src/resources/index.ts +11 -1
- package/src/resources/loyalty/index.ts +3 -1
- package/src/resources/loyalty/loyalty.ts +6 -2
- package/src/resources/loyalty/transactions/index.ts +18 -0
- package/src/resources/loyalty/transactions/rule-statuses.ts +160 -0
- package/src/resources/loyalty/transactions/transactions.ts +515 -0
- package/src/resources/loyalty/transactions.ts +1 -453
- package/src/resources/users/index.ts +4 -0
- package/src/resources/users/users.ts +88 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../src/resources/loyalty/transactions.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../src/resources/loyalty/transactions.ts"],"names":[],"mappings":"AAEA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Create a loyalty transaction to update account balances.
|
|
10
|
-
*/
|
|
11
|
-
createTransaction(body, options) {
|
|
12
|
-
return this._client.post('/api/loyalty/transactions', { body, ...options });
|
|
13
|
-
}
|
|
14
|
-
getTransactionEntries(query = {}, options) {
|
|
15
|
-
if ((0, core_1.isRequestOptions)(query)) {
|
|
16
|
-
return this.getTransactionEntries({}, query);
|
|
17
|
-
}
|
|
18
|
-
return this._client.get('/api/loyalty/transaction_entries', { query, ...options });
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19
8
|
}
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./transactions/index.js"), exports);
|
|
22
19
|
//# sourceMappingURL=transactions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../src/resources/loyalty/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../src/resources/loyalty/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,0DAAqC"}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { isRequestOptions } from "../../core.mjs";
|
|
4
|
-
export class Transactions extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Create a loyalty transaction to update account balances.
|
|
7
|
-
*/
|
|
8
|
-
createTransaction(body, options) {
|
|
9
|
-
return this._client.post('/api/loyalty/transactions', { body, ...options });
|
|
10
|
-
}
|
|
11
|
-
getTransactionEntries(query = {}, options) {
|
|
12
|
-
if (isRequestOptions(query)) {
|
|
13
|
-
return this.getTransactionEntries({}, query);
|
|
14
|
-
}
|
|
15
|
-
return this._client.get('/api/loyalty/transaction_entries', { query, ...options });
|
|
16
|
-
}
|
|
17
|
-
}
|
|
2
|
+
export * from "./transactions/index.mjs";
|
|
18
3
|
//# sourceMappingURL=transactions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../../src/resources/loyalty/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../../src/resources/loyalty/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Metadatas, type MetadataCreateResponse, type MetadataListResponse, type MetadataCreateParams, type MetadataListParams, } from "./metadatas.js";
|
|
2
|
-
export { Users, type UserListResponse, type UserConnectResponse, type UserCountResponse, type UserDisconnectResponse, type UserListParams, type UserConnectParams, type UserCountParams, type UserDisconnectParams, } from "./users.js";
|
|
2
|
+
export { Users, type UserListResponse, type UserConnectResponse, type UserCountResponse, type UserCreateDeviceResponse, type UserDisconnectResponse, type UserVerifyResponse, type UserListParams, type UserConnectParams, type UserCountParams, type UserCreateDeviceParams, type UserDisconnectParams, type UserVerifyParams, } from "./users.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,oCAciB;AAbf,8FAAA,KAAK,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAKV;OACM,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAaN"}
|
|
@@ -17,10 +17,15 @@ export declare class Users extends APIResource {
|
|
|
17
17
|
* This endpoint returns the total user count
|
|
18
18
|
*/
|
|
19
19
|
count(query: UserCountParams, options?: Core.RequestOptions): Core.APIPromise<UserCountResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* This endpoint is used to create user devices for fraud tracking
|
|
22
|
+
*/
|
|
23
|
+
createDevice(body: UserCreateDeviceParams, options?: Core.RequestOptions): Core.APIPromise<UserCreateDeviceResponse>;
|
|
20
24
|
/**
|
|
21
25
|
* This endpoint allows you to disconnect a user from another user
|
|
22
26
|
*/
|
|
23
27
|
disconnect(body: UserDisconnectParams, options?: Core.RequestOptions): Core.APIPromise<unknown>;
|
|
28
|
+
verify(body: UserVerifyParams, options?: Core.RequestOptions): Core.APIPromise<UserVerifyResponse>;
|
|
24
29
|
}
|
|
25
30
|
export interface UserListResponse {
|
|
26
31
|
/**
|
|
@@ -141,7 +146,43 @@ export interface UserCountResponse {
|
|
|
141
146
|
*/
|
|
142
147
|
totalCount: number;
|
|
143
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Schema for a user device
|
|
151
|
+
*/
|
|
152
|
+
export interface UserCreateDeviceResponse {
|
|
153
|
+
/**
|
|
154
|
+
* Unique identifier for the user device
|
|
155
|
+
*/
|
|
156
|
+
id: string;
|
|
157
|
+
/**
|
|
158
|
+
* Timestamp when the wallet was created
|
|
159
|
+
*/
|
|
160
|
+
createdAt: string;
|
|
161
|
+
/**
|
|
162
|
+
* IP address of the user device
|
|
163
|
+
*/
|
|
164
|
+
ipAddress: string;
|
|
165
|
+
/**
|
|
166
|
+
* Unique identifier for the organization
|
|
167
|
+
*/
|
|
168
|
+
organizationId: string;
|
|
169
|
+
/**
|
|
170
|
+
* Source of the user device
|
|
171
|
+
*/
|
|
172
|
+
source: string;
|
|
173
|
+
/**
|
|
174
|
+
* Unique identifier for the website
|
|
175
|
+
*/
|
|
176
|
+
websiteId: string;
|
|
177
|
+
/**
|
|
178
|
+
* Device identifier of the user device
|
|
179
|
+
*/
|
|
180
|
+
deviceIdentifier?: string;
|
|
181
|
+
}
|
|
144
182
|
export type UserDisconnectResponse = unknown;
|
|
183
|
+
export interface UserVerifyResponse {
|
|
184
|
+
message: string;
|
|
185
|
+
}
|
|
145
186
|
export interface UserListParams {
|
|
146
187
|
/**
|
|
147
188
|
* The address of the user
|
|
@@ -292,13 +333,31 @@ export interface UserCountParams {
|
|
|
292
333
|
*/
|
|
293
334
|
websiteId: string;
|
|
294
335
|
}
|
|
336
|
+
export interface UserCreateDeviceParams {
|
|
337
|
+
/**
|
|
338
|
+
* IP address of the user device
|
|
339
|
+
*/
|
|
340
|
+
ipAddress: string;
|
|
341
|
+
/**
|
|
342
|
+
* Device identifier of the user device
|
|
343
|
+
*/
|
|
344
|
+
deviceIdentifier?: string;
|
|
345
|
+
userId?: string;
|
|
346
|
+
walletAddress?: string;
|
|
347
|
+
}
|
|
295
348
|
export interface UserDisconnectParams {
|
|
296
349
|
organizationId: string;
|
|
297
350
|
userId: string;
|
|
298
351
|
websiteId: string;
|
|
299
352
|
}
|
|
353
|
+
export interface UserVerifyParams {
|
|
354
|
+
accountLinkData: string;
|
|
355
|
+
organizationId?: string;
|
|
356
|
+
userId?: string;
|
|
357
|
+
websiteId?: string;
|
|
358
|
+
}
|
|
300
359
|
export declare namespace Users {
|
|
301
|
-
export { type UserListResponse as UserListResponse, type UserConnectResponse as UserConnectResponse, type UserCountResponse as UserCountResponse, type UserDisconnectResponse as UserDisconnectResponse, type UserListParams as UserListParams, type UserConnectParams as UserConnectParams, type UserCountParams as UserCountParams, type UserDisconnectParams as UserDisconnectParams, };
|
|
360
|
+
export { type UserListResponse as UserListResponse, type UserConnectResponse as UserConnectResponse, type UserCountResponse as UserCountResponse, type UserCreateDeviceResponse as UserCreateDeviceResponse, type UserDisconnectResponse as UserDisconnectResponse, type UserVerifyResponse as UserVerifyResponse, type UserListParams as UserListParams, type UserConnectParams as UserConnectParams, type UserCountParams as UserCountParams, type UserCreateDeviceParams as UserCreateDeviceParams, type UserDisconnectParams as UserDisconnectParams, type UserVerifyParams as UserVerifyParams, };
|
|
302
361
|
export { Metadatas as Metadatas, type MetadataCreateResponse as MetadataCreateResponse, type MetadataListResponse as MetadataListResponse, type MetadataCreateParams as MetadataCreateParams, type MetadataListParams as MetadataListParams, };
|
|
303
362
|
}
|
|
304
363
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,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BAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
package/resources/users/users.js
CHANGED
|
@@ -52,12 +52,21 @@ class Users extends resource_1.APIResource {
|
|
|
52
52
|
count(query, options) {
|
|
53
53
|
return this._client.get('/api/users/count', { query, ...options });
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* This endpoint is used to create user devices for fraud tracking
|
|
57
|
+
*/
|
|
58
|
+
createDevice(body, options) {
|
|
59
|
+
return this._client.post('/api/users/devices', { body, ...options });
|
|
60
|
+
}
|
|
55
61
|
/**
|
|
56
62
|
* This endpoint allows you to disconnect a user from another user
|
|
57
63
|
*/
|
|
58
64
|
disconnect(body, options) {
|
|
59
65
|
return this._client.post('/api/users/disconnect', { body, ...options });
|
|
60
66
|
}
|
|
67
|
+
verify(body, options) {
|
|
68
|
+
return this._client.post('/api/users/verify', { body, ...options });
|
|
69
|
+
}
|
|
61
70
|
}
|
|
62
71
|
exports.Users = Users;
|
|
63
72
|
Users.Metadatas = metadatas_1.Metadatas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,6DAA4C;AAC5C,8CAMqB;AA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IACvE,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,IAA0B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AApDD,sBAoDC;AA2bD,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -26,12 +26,21 @@ export class Users extends APIResource {
|
|
|
26
26
|
count(query, options) {
|
|
27
27
|
return this._client.get('/api/users/count', { query, ...options });
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* This endpoint is used to create user devices for fraud tracking
|
|
31
|
+
*/
|
|
32
|
+
createDevice(body, options) {
|
|
33
|
+
return this._client.post('/api/users/devices', { body, ...options });
|
|
34
|
+
}
|
|
29
35
|
/**
|
|
30
36
|
* This endpoint allows you to disconnect a user from another user
|
|
31
37
|
*/
|
|
32
38
|
disconnect(body, options) {
|
|
33
39
|
return this._client.post('/api/users/disconnect', { body, ...options });
|
|
34
40
|
}
|
|
41
|
+
verify(body, options) {
|
|
42
|
+
return this._client.post('/api/users/verify', { body, ...options });
|
|
43
|
+
}
|
|
35
44
|
}
|
|
36
45
|
Users.Metadatas = Metadatas;
|
|
37
46
|
//# sourceMappingURL=users.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,YAAY;OACjB,EAKL,SAAS,GACV;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC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AAC,IAA0B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AA2bD,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
package/src/index.ts
CHANGED
|
@@ -7,9 +7,15 @@ import * as Errors from './error';
|
|
|
7
7
|
import * as Uploads from './uploads';
|
|
8
8
|
import * as API from './resources/index';
|
|
9
9
|
import { AssetCreateAssetParams, AssetCreateAssetResponse, Assets } from './resources/assets';
|
|
10
|
-
import { AuctionListAuctionBidsParams, AuctionListAuctionsResponse, Auctions } from './resources/auctions';
|
|
11
10
|
import { Auth, AuthConnectAuthParams, AuthConnectAuthResponse } from './resources/auth';
|
|
12
11
|
import { Minting, MintingGetAssetsParams, MintingGetAssetsResponse } from './resources/minting';
|
|
12
|
+
import {
|
|
13
|
+
AuctionGetPageSectionsParams,
|
|
14
|
+
AuctionGetPageSectionsResponse,
|
|
15
|
+
AuctionListAuctionBidsParams,
|
|
16
|
+
AuctionListAuctionsResponse,
|
|
17
|
+
Auctions,
|
|
18
|
+
} from './resources/auctions/auctions';
|
|
13
19
|
import { Loyalty } from './resources/loyalty/loyalty';
|
|
14
20
|
import {
|
|
15
21
|
Referral,
|
|
@@ -21,10 +27,14 @@ import {
|
|
|
21
27
|
UserConnectResponse,
|
|
22
28
|
UserCountParams,
|
|
23
29
|
UserCountResponse,
|
|
30
|
+
UserCreateDeviceParams,
|
|
31
|
+
UserCreateDeviceResponse,
|
|
24
32
|
UserDisconnectParams,
|
|
25
33
|
UserDisconnectResponse,
|
|
26
34
|
UserListParams,
|
|
27
35
|
UserListResponse,
|
|
36
|
+
UserVerifyParams,
|
|
37
|
+
UserVerifyResponse,
|
|
28
38
|
Users,
|
|
29
39
|
} from './resources/users/users';
|
|
30
40
|
import {
|
|
@@ -222,7 +232,9 @@ export declare namespace SnagSolutions {
|
|
|
222
232
|
|
|
223
233
|
export {
|
|
224
234
|
Auctions as Auctions,
|
|
235
|
+
type AuctionGetPageSectionsResponse as AuctionGetPageSectionsResponse,
|
|
225
236
|
type AuctionListAuctionsResponse as AuctionListAuctionsResponse,
|
|
237
|
+
type AuctionGetPageSectionsParams as AuctionGetPageSectionsParams,
|
|
226
238
|
type AuctionListAuctionBidsParams as AuctionListAuctionBidsParams,
|
|
227
239
|
};
|
|
228
240
|
|
|
@@ -231,11 +243,15 @@ export declare namespace SnagSolutions {
|
|
|
231
243
|
type UserListResponse as UserListResponse,
|
|
232
244
|
type UserConnectResponse as UserConnectResponse,
|
|
233
245
|
type UserCountResponse as UserCountResponse,
|
|
246
|
+
type UserCreateDeviceResponse as UserCreateDeviceResponse,
|
|
234
247
|
type UserDisconnectResponse as UserDisconnectResponse,
|
|
248
|
+
type UserVerifyResponse as UserVerifyResponse,
|
|
235
249
|
type UserListParams as UserListParams,
|
|
236
250
|
type UserConnectParams as UserConnectParams,
|
|
237
251
|
type UserCountParams as UserCountParams,
|
|
252
|
+
type UserCreateDeviceParams as UserCreateDeviceParams,
|
|
238
253
|
type UserDisconnectParams as UserDisconnectParams,
|
|
254
|
+
type UserVerifyParams as UserVerifyParams,
|
|
239
255
|
};
|
|
240
256
|
|
|
241
257
|
export { Loyalty as Loyalty };
|
package/src/resources/assets.ts
CHANGED
|
@@ -35,10 +35,17 @@ export interface AssetCreateAssetResponse {
|
|
|
35
35
|
|
|
36
36
|
export interface AssetCreateAssetParams {
|
|
37
37
|
/**
|
|
38
|
-
* The name of the file, must match the regex pattern (converted to lowercase)
|
|
38
|
+
* The name of the file, must match the regex pattern (converted to lowercase) and
|
|
39
|
+
* have a valid extension.
|
|
39
40
|
*/
|
|
40
41
|
fileName: string;
|
|
41
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Size of the file in bytes. Uploaded file must match this file size. 1mb for
|
|
45
|
+
* images and 10mb for videos.
|
|
46
|
+
*/
|
|
47
|
+
fileSize: number;
|
|
48
|
+
|
|
42
49
|
/**
|
|
43
50
|
* The file path, must be a valid enum value.
|
|
44
51
|
*/
|