@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/package.json
CHANGED
package/src/interface/ai.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface GenerateImageRequest {
|
|
|
52
52
|
prompt: string;
|
|
53
53
|
number_of_images?: number;
|
|
54
54
|
negative_prompt?: string;
|
|
55
|
-
options?:
|
|
55
|
+
options?: ImageOptionsDTO;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export interface ImageDTO {
|
|
@@ -78,6 +78,12 @@ export interface TranslateResponse {
|
|
|
78
78
|
translations: Record<string, string>;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
export interface ImageOptionsDTO {
|
|
82
|
+
aspect_ratio: '16:9' | '1:1';
|
|
83
|
+
background_color: 'white' | 'beige' | 'warm grey';
|
|
84
|
+
presentation?: 'item only' | 'plated';
|
|
85
|
+
}
|
|
86
|
+
|
|
81
87
|
// POST /ai/language/generate - Generate text from a given prompt
|
|
82
88
|
|
|
83
89
|
export type PostAiLanguageGenerateBody = GenerateTextRequest;
|
package/src/interface/menu.ts
CHANGED
|
@@ -735,6 +735,7 @@ export interface DraftMenuDTO {
|
|
|
735
735
|
brand?: DraftBrandDTO;
|
|
736
736
|
changes?: MenuChangeDTO[];
|
|
737
737
|
vendor_metadata?: VendorMetadataDTO[];
|
|
738
|
+
attachments?: Record<string, any>;
|
|
738
739
|
permissions?: Record<string, any>;
|
|
739
740
|
[index: string]: any;
|
|
740
741
|
}
|
|
@@ -4609,6 +4610,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
4609
4610
|
brand?: DraftBrandDTO;
|
|
4610
4611
|
changes?: MenuChangeDTO[];
|
|
4611
4612
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4613
|
+
attachments?: FileAttachmentsDTO;
|
|
4612
4614
|
permissions?: Record<string, any>;
|
|
4613
4615
|
[index: string]: any;
|
|
4614
4616
|
}
|
|
@@ -4664,6 +4666,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
4664
4666
|
brand?: DraftBrandDTO;
|
|
4665
4667
|
changes?: MenuChangeDTO[];
|
|
4666
4668
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4669
|
+
attachments?: FileAttachmentsDTO;
|
|
4667
4670
|
permissions?: Record<string, any>;
|
|
4668
4671
|
[index: string]: any;
|
|
4669
4672
|
}
|
|
@@ -4739,6 +4742,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
4739
4742
|
brand?: DraftBrandDTO;
|
|
4740
4743
|
changes?: MenuChangeDTO[];
|
|
4741
4744
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4745
|
+
attachments?: FileAttachmentsDTO;
|
|
4742
4746
|
permissions?: Record<string, any>;
|
|
4743
4747
|
[index: string]: any;
|
|
4744
4748
|
}[];
|
|
@@ -4881,6 +4885,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
4881
4885
|
brand?: DraftBrandDTO;
|
|
4882
4886
|
changes?: MenuChangeDTO[];
|
|
4883
4887
|
vendor_metadata?: VendorMetadataDTO[];
|
|
4888
|
+
attachments?: FileAttachmentsDTO;
|
|
4884
4889
|
permissions?: Record<string, any>;
|
|
4885
4890
|
[index: string]: any;
|
|
4886
4891
|
}
|
|
@@ -8190,6 +8195,7 @@ export interface PostMenuV4BrandMenuBody {
|
|
|
8190
8195
|
brand?: DraftBrandDTO;
|
|
8191
8196
|
changes?: MenuChangeDTO[];
|
|
8192
8197
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8198
|
+
attachments?: FileAttachmentsDTO;
|
|
8193
8199
|
permissions?: Record<string, any>;
|
|
8194
8200
|
[index: string]: any;
|
|
8195
8201
|
}
|
|
@@ -8214,6 +8220,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
8214
8220
|
brand?: DraftBrandDTO;
|
|
8215
8221
|
changes?: MenuChangeDTO[];
|
|
8216
8222
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8223
|
+
attachments?: FileAttachmentsDTO;
|
|
8217
8224
|
permissions?: Record<string, any>;
|
|
8218
8225
|
[index: string]: any;
|
|
8219
8226
|
}
|
|
@@ -8246,6 +8253,7 @@ export interface PatchMenuV4BrandMenuBody {
|
|
|
8246
8253
|
brand?: DraftBrandDTO;
|
|
8247
8254
|
changes?: MenuChangeDTO[];
|
|
8248
8255
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8256
|
+
attachments?: FileAttachmentsDTO;
|
|
8249
8257
|
permissions?: Record<string, any>;
|
|
8250
8258
|
[index: string]: any;
|
|
8251
8259
|
}
|
|
@@ -8270,6 +8278,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
8270
8278
|
brand?: DraftBrandDTO;
|
|
8271
8279
|
changes?: MenuChangeDTO[];
|
|
8272
8280
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8281
|
+
attachments?: FileAttachmentsDTO;
|
|
8273
8282
|
permissions?: Record<string, any>;
|
|
8274
8283
|
[index: string]: any;
|
|
8275
8284
|
}
|
|
@@ -8305,6 +8314,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
8305
8314
|
brand?: DraftBrandDTO;
|
|
8306
8315
|
changes?: MenuChangeDTO[];
|
|
8307
8316
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8317
|
+
attachments?: FileAttachmentsDTO;
|
|
8308
8318
|
permissions?: Record<string, any>;
|
|
8309
8319
|
[index: string]: any;
|
|
8310
8320
|
}
|
|
@@ -8764,6 +8774,7 @@ export interface PostMenuV4BrandMenuDuplicateBody {
|
|
|
8764
8774
|
brand?: DraftBrandDTO;
|
|
8765
8775
|
changes?: MenuChangeDTO[];
|
|
8766
8776
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8777
|
+
attachments?: FileAttachmentsDTO;
|
|
8767
8778
|
permissions?: Record<string, any>;
|
|
8768
8779
|
[index: string]: any;
|
|
8769
8780
|
}
|
|
@@ -8788,6 +8799,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
8788
8799
|
brand?: DraftBrandDTO;
|
|
8789
8800
|
changes?: MenuChangeDTO[];
|
|
8790
8801
|
vendor_metadata?: VendorMetadataDTO[];
|
|
8802
|
+
attachments?: FileAttachmentsDTO;
|
|
8791
8803
|
permissions?: Record<string, any>;
|
|
8792
8804
|
[index: string]: any;
|
|
8793
8805
|
}
|
|
@@ -10593,6 +10605,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
10593
10605
|
brand?: DraftBrandDTO;
|
|
10594
10606
|
changes?: MenuChangeDTO[];
|
|
10595
10607
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10608
|
+
attachments?: FileAttachmentsDTO;
|
|
10596
10609
|
permissions?: Record<string, any>;
|
|
10597
10610
|
[index: string]: any;
|
|
10598
10611
|
}
|
|
@@ -10629,6 +10642,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
10629
10642
|
brand?: DraftBrandDTO;
|
|
10630
10643
|
changes?: MenuChangeDTO[];
|
|
10631
10644
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10645
|
+
attachments?: FileAttachmentsDTO;
|
|
10632
10646
|
permissions?: Record<string, any>;
|
|
10633
10647
|
[index: string]: any;
|
|
10634
10648
|
}
|
|
@@ -10669,6 +10683,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
10669
10683
|
brand?: DraftBrandDTO;
|
|
10670
10684
|
changes?: MenuChangeDTO[];
|
|
10671
10685
|
vendor_metadata?: VendorMetadataDTO[];
|
|
10686
|
+
attachments?: FileAttachmentsDTO;
|
|
10672
10687
|
permissions?: Record<string, any>;
|
|
10673
10688
|
[index: string]: any;
|
|
10674
10689
|
}
|