@compassdigital/sdk.typescript 4.407.0 → 4.409.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/interface/ai.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface GenerateImageRequest {
|
|
|
32
32
|
prompt: string;
|
|
33
33
|
number_of_images?: number;
|
|
34
34
|
negative_prompt?: string;
|
|
35
|
-
options?:
|
|
35
|
+
options?: ImageOptionsDTO;
|
|
36
36
|
}
|
|
37
37
|
export interface ImageDTO {
|
|
38
38
|
data: string;
|
|
@@ -52,6 +52,11 @@ export interface TranslateResponse {
|
|
|
52
52
|
targetLanguage: string;
|
|
53
53
|
translations: Record<string, string>;
|
|
54
54
|
}
|
|
55
|
+
export interface ImageOptionsDTO {
|
|
56
|
+
aspect_ratio: '16:9' | '1:1';
|
|
57
|
+
background_color: 'white' | 'beige' | 'warm grey';
|
|
58
|
+
presentation?: 'item only' | 'plated';
|
|
59
|
+
}
|
|
55
60
|
export type PostAiLanguageGenerateBody = GenerateTextRequest;
|
|
56
61
|
export type PostAiLanguageGenerateResponse = GenerateTextResponse;
|
|
57
62
|
export type PostAiImageGenerateBody = GenerateImageRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../src/interface/ai.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,UAAU;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IACnC,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACpC,QAAQ,EAAE,UAAU,EAAE,CAAC;CACvB;AAED,MAAM,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,CAAC"}
|
package/lib/interface/menu.d.ts
CHANGED
|
@@ -616,6 +616,7 @@ export interface DraftMenuDTO {
|
|
|
616
616
|
brand?: DraftBrandDTO;
|
|
617
617
|
changes?: MenuChangeDTO[];
|
|
618
618
|
vendor_metadata?: VendorMetadataDTO[];
|
|
619
|
+
attachments?: Record<string, any>;
|
|
619
620
|
permissions?: Record<string, any>;
|
|
620
621
|
[index: string]: any;
|
|
621
622
|
}
|
|
@@ -3478,6 +3479,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3478
3479
|
brand?: DraftBrandDTO;
|
|
3479
3480
|
changes?: MenuChangeDTO[];
|
|
3480
3481
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3482
|
+
attachments?: FileAttachmentsDTO;
|
|
3481
3483
|
permissions?: Record<string, any>;
|
|
3482
3484
|
[index: string]: any;
|
|
3483
3485
|
}
|
|
@@ -3516,6 +3518,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3516
3518
|
brand?: DraftBrandDTO;
|
|
3517
3519
|
changes?: MenuChangeDTO[];
|
|
3518
3520
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3521
|
+
attachments?: FileAttachmentsDTO;
|
|
3519
3522
|
permissions?: Record<string, any>;
|
|
3520
3523
|
[index: string]: any;
|
|
3521
3524
|
}
|
|
@@ -3565,6 +3568,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3565
3568
|
brand?: DraftBrandDTO;
|
|
3566
3569
|
changes?: MenuChangeDTO[];
|
|
3567
3570
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3571
|
+
attachments?: FileAttachmentsDTO;
|
|
3568
3572
|
permissions?: Record<string, any>;
|
|
3569
3573
|
[index: string]: any;
|
|
3570
3574
|
}[];
|
|
@@ -3658,6 +3662,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
3658
3662
|
brand?: DraftBrandDTO;
|
|
3659
3663
|
changes?: MenuChangeDTO[];
|
|
3660
3664
|
vendor_metadata?: VendorMetadataDTO[];
|
|
3665
|
+
attachments?: FileAttachmentsDTO;
|
|
3661
3666
|
permissions?: Record<string, any>;
|
|
3662
3667
|
[index: string]: any;
|
|
3663
3668
|
}
|
|
@@ -5960,6 +5965,7 @@ export interface PostMenuV4BrandMenuBody {
|
|
|
5960
5965
|
brand?: DraftBrandDTO;
|
|
5961
5966
|
changes?: MenuChangeDTO[];
|
|
5962
5967
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5968
|
+
attachments?: FileAttachmentsDTO;
|
|
5963
5969
|
permissions?: Record<string, any>;
|
|
5964
5970
|
[index: string]: any;
|
|
5965
5971
|
}
|
|
@@ -5983,6 +5989,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
5983
5989
|
brand?: DraftBrandDTO;
|
|
5984
5990
|
changes?: MenuChangeDTO[];
|
|
5985
5991
|
vendor_metadata?: VendorMetadataDTO[];
|
|
5992
|
+
attachments?: FileAttachmentsDTO;
|
|
5986
5993
|
permissions?: Record<string, any>;
|
|
5987
5994
|
[index: string]: any;
|
|
5988
5995
|
}
|
|
@@ -6010,6 +6017,7 @@ export interface PatchMenuV4BrandMenuBody {
|
|
|
6010
6017
|
brand?: DraftBrandDTO;
|
|
6011
6018
|
changes?: MenuChangeDTO[];
|
|
6012
6019
|
vendor_metadata?: VendorMetadataDTO[];
|
|
6020
|
+
attachments?: FileAttachmentsDTO;
|
|
6013
6021
|
permissions?: Record<string, any>;
|
|
6014
6022
|
[index: string]: any;
|
|
6015
6023
|
}
|
|
@@ -6033,6 +6041,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
6033
6041
|
brand?: DraftBrandDTO;
|
|
6034
6042
|
changes?: MenuChangeDTO[];
|
|
6035
6043
|
vendor_metadata?: VendorMetadataDTO[];
|
|
6044
|
+
attachments?: FileAttachmentsDTO;
|
|
6036
6045
|
permissions?: Record<string, any>;
|
|
6037
6046
|
[index: string]: any;
|
|
6038
6047
|
}
|
|
@@ -6063,6 +6072,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
6063
6072
|
brand?: DraftBrandDTO;
|
|
6064
6073
|
changes?: MenuChangeDTO[];
|
|
6065
6074
|
vendor_metadata?: VendorMetadataDTO[];
|
|
6075
|
+
attachments?: FileAttachmentsDTO;
|
|
6066
6076
|
permissions?: Record<string, any>;
|
|
6067
6077
|
[index: string]: any;
|
|
6068
6078
|
}
|
|
@@ -6416,6 +6426,7 @@ export interface PostMenuV4BrandMenuDuplicateBody {
|
|
|
6416
6426
|
brand?: DraftBrandDTO;
|
|
6417
6427
|
changes?: MenuChangeDTO[];
|
|
6418
6428
|
vendor_metadata?: VendorMetadataDTO[];
|
|
6429
|
+
attachments?: FileAttachmentsDTO;
|
|
6419
6430
|
permissions?: Record<string, any>;
|
|
6420
6431
|
[index: string]: any;
|
|
6421
6432
|
}
|
|
@@ -6439,6 +6450,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
6439
6450
|
brand?: DraftBrandDTO;
|
|
6440
6451
|
changes?: MenuChangeDTO[];
|
|
6441
6452
|
vendor_metadata?: VendorMetadataDTO[];
|
|
6453
|
+
attachments?: FileAttachmentsDTO;
|
|
6442
6454
|
permissions?: Record<string, any>;
|
|
6443
6455
|
[index: string]: any;
|
|
6444
6456
|
}
|
|
@@ -7984,6 +7996,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
7984
7996
|
brand?: DraftBrandDTO;
|
|
7985
7997
|
changes?: MenuChangeDTO[];
|
|
7986
7998
|
vendor_metadata?: VendorMetadataDTO[];
|
|
7999
|
+
attachments?: FileAttachmentsDTO;
|
|
7987
8000
|
permissions?: Record<string, any>;
|
|
7988
8001
|
[index: string]: any;
|
|
7989
8002
|
}
|
|
@@ -8015,6 +8028,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
8015
8028
|
brand?: DraftBrandDTO;
|
|
8016
8029
|
changes?: MenuChangeDTO[];
|
|
8017
8030
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8031
|
+
attachments?: FileAttachmentsDTO;
|
|
8018
8032
|
permissions?: Record<string, any>;
|
|
8019
8033
|
[index: string]: any;
|
|
8020
8034
|
}
|
|
@@ -8048,6 +8062,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
8048
8062
|
brand?: DraftBrandDTO;
|
|
8049
8063
|
changes?: MenuChangeDTO[];
|
|
8050
8064
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8065
|
+
attachments?: FileAttachmentsDTO;
|
|
8051
8066
|
permissions?: Record<string, any>;
|
|
8052
8067
|
[index: string]: any;
|
|
8053
8068
|
}
|