@deliverart/sdk-js-api-token 2.3.1 → 2.3.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/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -11465,7 +11465,7 @@ var createApiTokenPointOfSaleInputSchema = apiTokenPointOfSaleSchema.pick({
|
|
|
11465
11465
|
name: true,
|
|
11466
11466
|
mode: true,
|
|
11467
11467
|
roles: true,
|
|
11468
|
-
|
|
11468
|
+
pointOfSale: true
|
|
11469
11469
|
}).extend({
|
|
11470
11470
|
expiresIn: external_exports.string().nullable()
|
|
11471
11471
|
}).required();
|
|
@@ -11580,7 +11580,7 @@ var GetApiTokenPointOfSaleListFromPointOfSale = class extends import_sdk_js_core
|
|
|
11580
11580
|
this.pointOfSaleId = pointOfSaleId;
|
|
11581
11581
|
}
|
|
11582
11582
|
getPath() {
|
|
11583
|
-
return `/
|
|
11583
|
+
return `/point_of_sales/${this.pointOfSaleId}/api_tokens`;
|
|
11584
11584
|
}
|
|
11585
11585
|
parseResponse(data, rawResponse) {
|
|
11586
11586
|
const apiTokens = external_exports.array(apiTokenSchema).parse(data);
|
package/dist/index.d.cts
CHANGED
|
@@ -1542,6 +1542,7 @@ declare const createApiTokenPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1542
1542
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1543
1543
|
ROLE_USER: "ROLE_USER";
|
|
1544
1544
|
}>>>;
|
|
1545
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1545
1546
|
expiresIn: z.ZodNonOptional<z.ZodNullable<z.ZodString>>;
|
|
1546
1547
|
}, z.core.$strip>;
|
|
1547
1548
|
type CreateApiTokenPointOfSaleInput = z.input<typeof createApiTokenPointOfSaleInputSchema>;
|
|
@@ -1641,6 +1642,7 @@ declare class CreateApiTokenPointOfSale extends AbstractApiRequest<typeof create
|
|
|
1641
1642
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1642
1643
|
ROLE_USER: "ROLE_USER";
|
|
1643
1644
|
}>>>;
|
|
1645
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1644
1646
|
expiresIn: z.ZodNonOptional<z.ZodNullable<z.ZodString>>;
|
|
1645
1647
|
}, z.core.$strip>;
|
|
1646
1648
|
readonly outputSchema: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1542,6 +1542,7 @@ declare const createApiTokenPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1542
1542
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1543
1543
|
ROLE_USER: "ROLE_USER";
|
|
1544
1544
|
}>>>;
|
|
1545
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1545
1546
|
expiresIn: z.ZodNonOptional<z.ZodNullable<z.ZodString>>;
|
|
1546
1547
|
}, z.core.$strip>;
|
|
1547
1548
|
type CreateApiTokenPointOfSaleInput = z.input<typeof createApiTokenPointOfSaleInputSchema>;
|
|
@@ -1641,6 +1642,7 @@ declare class CreateApiTokenPointOfSale extends AbstractApiRequest<typeof create
|
|
|
1641
1642
|
ROLE_KITCHEN: "ROLE_KITCHEN";
|
|
1642
1643
|
ROLE_USER: "ROLE_USER";
|
|
1643
1644
|
}>>>;
|
|
1645
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1644
1646
|
expiresIn: z.ZodNonOptional<z.ZodNullable<z.ZodString>>;
|
|
1645
1647
|
}, z.core.$strip>;
|
|
1646
1648
|
readonly outputSchema: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -11395,7 +11395,7 @@ var createApiTokenPointOfSaleInputSchema = apiTokenPointOfSaleSchema.pick({
|
|
|
11395
11395
|
name: true,
|
|
11396
11396
|
mode: true,
|
|
11397
11397
|
roles: true,
|
|
11398
|
-
|
|
11398
|
+
pointOfSale: true
|
|
11399
11399
|
}).extend({
|
|
11400
11400
|
expiresIn: external_exports.string().nullable()
|
|
11401
11401
|
}).required();
|
|
@@ -11516,7 +11516,7 @@ var GetApiTokenPointOfSaleListFromPointOfSale = class extends AbstractApiRequest
|
|
|
11516
11516
|
this.pointOfSaleId = pointOfSaleId;
|
|
11517
11517
|
}
|
|
11518
11518
|
getPath() {
|
|
11519
|
-
return `/
|
|
11519
|
+
return `/point_of_sales/${this.pointOfSaleId}/api_tokens`;
|
|
11520
11520
|
}
|
|
11521
11521
|
parseResponse(data, rawResponse) {
|
|
11522
11522
|
const apiTokens = external_exports.array(apiTokenSchema).parse(data);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-api-token",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for API Token Management",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.3.
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.3.
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.3.3",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.3.3",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.3.3",
|
|
24
|
+
"@deliverart/sdk-js-user": "2.3.3"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|