@compassdigital/sdk.typescript 4.7.0 → 4.8.0
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/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/interface/frictionless.d.ts +1 -1
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +4 -4
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +8 -8
- package/src/interface/frictionless.ts +1 -1
- package/src/interface/menu.ts +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compassdigital/sdk.typescript",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Compass Digital Labs TypeScript SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@compassdigital/review": "^7.3.0",
|
|
49
|
-
"@compassdigital/sdk.typescript.cli": "^4.
|
|
49
|
+
"@compassdigital/sdk.typescript.cli": "^4.7.0",
|
|
50
50
|
"@types/jest": "^29.2.4",
|
|
51
51
|
"@types/node": "^20.1.0",
|
|
52
52
|
"esbuild": "^0.19.1",
|
package/src/index.ts
CHANGED
|
@@ -584,8 +584,8 @@ import {
|
|
|
584
584
|
GetMenuV3DraftBrandDiffsResponse,
|
|
585
585
|
PostMenuV3DraftBrandGlobalDiffsApplyQuery,
|
|
586
586
|
PostMenuV3DraftBrandGlobalDiffsApplyResponse,
|
|
587
|
-
|
|
588
|
-
|
|
587
|
+
PostMenuV3DraftBrandAttachmentQuery,
|
|
588
|
+
PostMenuV3DraftBrandAttachmentResponse,
|
|
589
589
|
PostMenuV3BrandQuery,
|
|
590
590
|
PostMenuV3BrandBody,
|
|
591
591
|
PostMenuV3BrandResponse,
|
|
@@ -6135,24 +6135,24 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6135
6135
|
}
|
|
6136
6136
|
|
|
6137
6137
|
/**
|
|
6138
|
-
* POST /menu/v3/brand/{id}/attachment/{name}
|
|
6138
|
+
* POST /menu/v3/draft/brand/{id}/attachment/{name}
|
|
6139
6139
|
*
|
|
6140
6140
|
* @param id
|
|
6141
6141
|
* @param name
|
|
6142
6142
|
* @param options - additional request options
|
|
6143
6143
|
*/
|
|
6144
|
-
|
|
6144
|
+
post_menu_v3_draft_brand_attachment(
|
|
6145
6145
|
id: string,
|
|
6146
6146
|
name: "thumbnail",
|
|
6147
6147
|
options?: {
|
|
6148
|
-
query?:
|
|
6148
|
+
query?: PostMenuV3DraftBrandAttachmentQuery;
|
|
6149
6149
|
} & RequestOptions
|
|
6150
|
-
): ResponsePromise<
|
|
6150
|
+
): ResponsePromise<PostMenuV3DraftBrandAttachmentResponse> {
|
|
6151
6151
|
return this.request(
|
|
6152
6152
|
"menu",
|
|
6153
|
-
"
|
|
6153
|
+
"post_menu_v3_draft_brand_attachment",
|
|
6154
6154
|
"post",
|
|
6155
|
-
`/menu/v3/brand/${id}/attachment/${name}`,
|
|
6155
|
+
`/menu/v3/draft/brand/${id}/attachment/${name}`,
|
|
6156
6156
|
null,
|
|
6157
6157
|
options
|
|
6158
6158
|
);
|
|
@@ -221,7 +221,7 @@ export interface GetFrictionlessBrandFrictionlessStatusRequest
|
|
|
221
221
|
|
|
222
222
|
export type PostFrictionlessQrCodeBody = CreateFrictionlessQRCodeCommand;
|
|
223
223
|
|
|
224
|
-
export type PostFrictionlessQrCodeResponse =
|
|
224
|
+
export type PostFrictionlessQrCodeResponse = QRCodeCreationResponse;
|
|
225
225
|
|
|
226
226
|
export interface PostFrictionlessQrCodeRequest extends BaseRequest {
|
|
227
227
|
body: PostFrictionlessQrCodeBody;
|
package/src/interface/menu.ts
CHANGED
|
@@ -3103,25 +3103,25 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest
|
|
|
3103
3103
|
RequestQuery<PostMenuV3DraftBrandGlobalDiffsApplyQuery>,
|
|
3104
3104
|
PostMenuV3DraftBrandGlobalDiffsApplyPath {}
|
|
3105
3105
|
|
|
3106
|
-
// POST /menu/v3/brand/{id}/attachment/{name}
|
|
3106
|
+
// POST /menu/v3/draft/brand/{id}/attachment/{name}
|
|
3107
3107
|
|
|
3108
|
-
export interface
|
|
3108
|
+
export interface PostMenuV3DraftBrandAttachmentPath {
|
|
3109
3109
|
id: string;
|
|
3110
3110
|
name: "thumbnail";
|
|
3111
3111
|
}
|
|
3112
3112
|
|
|
3113
|
-
export interface
|
|
3113
|
+
export interface PostMenuV3DraftBrandAttachmentQuery {
|
|
3114
3114
|
"body.data"?: string;
|
|
3115
3115
|
}
|
|
3116
3116
|
|
|
3117
|
-
export interface
|
|
3117
|
+
export interface PostMenuV3DraftBrandAttachmentResponse {
|
|
3118
3118
|
status?: string;
|
|
3119
3119
|
}
|
|
3120
3120
|
|
|
3121
|
-
export interface
|
|
3121
|
+
export interface PostMenuV3DraftBrandAttachmentRequest
|
|
3122
3122
|
extends BaseRequest,
|
|
3123
|
-
RequestQuery<
|
|
3124
|
-
|
|
3123
|
+
RequestQuery<PostMenuV3DraftBrandAttachmentQuery>,
|
|
3124
|
+
PostMenuV3DraftBrandAttachmentPath {}
|
|
3125
3125
|
|
|
3126
3126
|
// POST /menu/v3/brand
|
|
3127
3127
|
|