@deliverart/sdk-js-integration 2.9.1 → 2.9.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 +5 -9
- package/dist/index.d.cts +60 -0
- package/dist/index.d.ts +60 -0
- package/dist/index.js +5 -9
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -14878,9 +14878,9 @@ var integrationGlovoSchema = integrationBaseSchema.omit({ service: true, errors:
|
|
|
14878
14878
|
pendingMenuChanges: external_exports.boolean(),
|
|
14879
14879
|
service: integrationServiceSchema.extract(["glovo"])
|
|
14880
14880
|
});
|
|
14881
|
-
var integrationGlovoDetailsSchema = integrationGlovoSchema.extend(
|
|
14882
|
-
|
|
14883
|
-
);
|
|
14881
|
+
var integrationGlovoDetailsSchema = integrationGlovoSchema.extend({
|
|
14882
|
+
dailyMenuUpdatesLeft: external_exports.number()
|
|
14883
|
+
}).extend(integrationDetailsFieldsSchema.shape);
|
|
14884
14884
|
var integrationGlovoEditableFieldsSchema = integrationGlovoSchema.pick({
|
|
14885
14885
|
name: true,
|
|
14886
14886
|
storeId: true,
|
|
@@ -16296,9 +16296,7 @@ var GetIntegrationDeliverooSyncMenuProcessDetails = class extends import_sdk_js_
|
|
|
16296
16296
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts
|
|
16297
16297
|
var import_sdk_js_core46 = require("@deliverart/sdk-js-core");
|
|
16298
16298
|
var import_sdk_js_global_types28 = require("@deliverart/sdk-js-global-types");
|
|
16299
|
-
var getIntegrationDeliverooSyncMenuProcessesQuerySchema =
|
|
16300
|
-
page: external_exports.coerce.number().optional()
|
|
16301
|
-
});
|
|
16299
|
+
var getIntegrationDeliverooSyncMenuProcessesQuerySchema = integrationDeliverooSyncMenuProcessesQuerySchema;
|
|
16302
16300
|
var getIntegrationDeliverooSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
16303
16301
|
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types28.createPaginatedSchema)(
|
|
16304
16302
|
integrationDeliverooSyncMenuProcessSchema
|
|
@@ -17082,9 +17080,7 @@ var GetIntegrationJustEatSyncMenuProcessDetails = class extends import_sdk_js_co
|
|
|
17082
17080
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts
|
|
17083
17081
|
var import_sdk_js_core79 = require("@deliverart/sdk-js-core");
|
|
17084
17082
|
var import_sdk_js_global_types41 = require("@deliverart/sdk-js-global-types");
|
|
17085
|
-
var getIntegrationJustEatSyncMenuProcessesQuerySchema =
|
|
17086
|
-
page: external_exports.coerce.number().optional()
|
|
17087
|
-
});
|
|
17083
|
+
var getIntegrationJustEatSyncMenuProcessesQuerySchema = integrationJustEatSyncMenuProcessesQuerySchema;
|
|
17088
17084
|
var getIntegrationJustEatSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
17089
17085
|
var getIntegrationJustEatSyncMenuProcessesResponseSchema = (0, import_sdk_js_global_types41.createPaginatedSchema)(
|
|
17090
17086
|
integrationJustEatSyncMenuProcessSchema
|
package/dist/index.d.cts
CHANGED
|
@@ -1137,6 +1137,7 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1137
1137
|
service: z.ZodEnum<{
|
|
1138
1138
|
glovo: "glovo";
|
|
1139
1139
|
}>;
|
|
1140
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
1140
1141
|
pointOfSale: 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>>;
|
|
1141
1142
|
}, z.core.$strip>, z.ZodObject<{
|
|
1142
1143
|
status: z.ZodEnum<{
|
|
@@ -6716,6 +6717,7 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6716
6717
|
service: z.ZodEnum<{
|
|
6717
6718
|
glovo: "glovo";
|
|
6718
6719
|
}>;
|
|
6720
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
6719
6721
|
pointOfSale: 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>>;
|
|
6720
6722
|
}, z.core.$strip>, z.ZodObject<{
|
|
6721
6723
|
status: z.ZodEnum<{
|
|
@@ -6916,6 +6918,7 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
|
|
|
6916
6918
|
service: z.ZodEnum<{
|
|
6917
6919
|
glovo: "glovo";
|
|
6918
6920
|
}>;
|
|
6921
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
6919
6922
|
pointOfSale: 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>>;
|
|
6920
6923
|
}, z.core.$strip>, z.ZodObject<{
|
|
6921
6924
|
status: z.ZodEnum<{
|
|
@@ -8975,6 +8978,7 @@ declare const integrationGlovoDetailsSchema: z.ZodObject<{
|
|
|
8975
8978
|
service: z.ZodEnum<{
|
|
8976
8979
|
glovo: "glovo";
|
|
8977
8980
|
}>;
|
|
8981
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
8978
8982
|
pointOfSale: 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>>;
|
|
8979
8983
|
}, z.core.$strip>;
|
|
8980
8984
|
type IntegrationGlovoDetails = z.infer<typeof integrationGlovoDetailsSchema>;
|
|
@@ -11938,6 +11942,25 @@ declare class GetIntegrationDeliverooSyncMenuProcessDetails extends AbstractApiR
|
|
|
11938
11942
|
}
|
|
11939
11943
|
|
|
11940
11944
|
declare const getIntegrationDeliverooSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
11945
|
+
'order[endAt]': z.ZodOptional<z.ZodEnum<{
|
|
11946
|
+
asc: "asc";
|
|
11947
|
+
desc: "desc";
|
|
11948
|
+
}>>;
|
|
11949
|
+
mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11950
|
+
menu: "menu";
|
|
11951
|
+
item_availabilities: "item_availabilities";
|
|
11952
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11953
|
+
menu: "menu";
|
|
11954
|
+
item_availabilities: "item_availabilities";
|
|
11955
|
+
}>>]>>;
|
|
11956
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
11957
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11958
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
11959
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11960
|
+
'endAt[before]': z.ZodOptional<z.ZodString>;
|
|
11961
|
+
'endAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11962
|
+
'endAt[after]': z.ZodOptional<z.ZodString>;
|
|
11963
|
+
'endAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11941
11964
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11942
11965
|
}, z.core.$strip>;
|
|
11943
11966
|
type GetIntegrationDeliverooSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesQuerySchema>;
|
|
@@ -11992,6 +12015,25 @@ declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiReques
|
|
|
11992
12015
|
}, z.core.$strip>;
|
|
11993
12016
|
}, z.core.$strip>;
|
|
11994
12017
|
readonly querySchema: z.ZodObject<{
|
|
12018
|
+
'order[endAt]': z.ZodOptional<z.ZodEnum<{
|
|
12019
|
+
asc: "asc";
|
|
12020
|
+
desc: "desc";
|
|
12021
|
+
}>>;
|
|
12022
|
+
mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
12023
|
+
menu: "menu";
|
|
12024
|
+
item_availabilities: "item_availabilities";
|
|
12025
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
12026
|
+
menu: "menu";
|
|
12027
|
+
item_availabilities: "item_availabilities";
|
|
12028
|
+
}>>]>>;
|
|
12029
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
12030
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
12031
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
12032
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
12033
|
+
'endAt[before]': z.ZodOptional<z.ZodString>;
|
|
12034
|
+
'endAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
12035
|
+
'endAt[after]': z.ZodOptional<z.ZodString>;
|
|
12036
|
+
'endAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11995
12037
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11996
12038
|
}, z.core.$strip>;
|
|
11997
12039
|
readonly headersSchema: undefined;
|
|
@@ -12499,6 +12541,7 @@ declare const createIntegrationGlovoResponseSchema: z.ZodObject<{
|
|
|
12499
12541
|
service: z.ZodEnum<{
|
|
12500
12542
|
glovo: "glovo";
|
|
12501
12543
|
}>;
|
|
12544
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12502
12545
|
pointOfSale: 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>>;
|
|
12503
12546
|
}, z.core.$strip>;
|
|
12504
12547
|
type CreateIntegrationGlovoResponse = z.infer<typeof createIntegrationGlovoResponseSchema>;
|
|
@@ -12558,6 +12601,7 @@ declare class CreateIntegrationGlovo extends AbstractApiRequest<typeof createInt
|
|
|
12558
12601
|
service: z.ZodEnum<{
|
|
12559
12602
|
glovo: "glovo";
|
|
12560
12603
|
}>;
|
|
12604
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12561
12605
|
pointOfSale: 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>>;
|
|
12562
12606
|
}, z.core.$strip>;
|
|
12563
12607
|
readonly querySchema: undefined;
|
|
@@ -12806,6 +12850,7 @@ declare const getIntegrationGlovoDetailsResponseSchema: z.ZodObject<{
|
|
|
12806
12850
|
service: z.ZodEnum<{
|
|
12807
12851
|
glovo: "glovo";
|
|
12808
12852
|
}>;
|
|
12853
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12809
12854
|
pointOfSale: 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>>;
|
|
12810
12855
|
}, z.core.$strip>;
|
|
12811
12856
|
type GetIntegrationGlovoDetailsResponse = IntegrationGlovoDetails;
|
|
@@ -12850,6 +12895,7 @@ declare class GetIntegrationGlovoDetails extends AbstractApiRequest<typeof getIn
|
|
|
12850
12895
|
service: z.ZodEnum<{
|
|
12851
12896
|
glovo: "glovo";
|
|
12852
12897
|
}>;
|
|
12898
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12853
12899
|
pointOfSale: 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>>;
|
|
12854
12900
|
}, z.core.$strip>;
|
|
12855
12901
|
readonly querySchema: undefined;
|
|
@@ -13568,6 +13614,7 @@ declare const updateIntegrationGlovoResponseSchema: z.ZodObject<{
|
|
|
13568
13614
|
service: z.ZodEnum<{
|
|
13569
13615
|
glovo: "glovo";
|
|
13570
13616
|
}>;
|
|
13617
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13571
13618
|
pointOfSale: 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>>;
|
|
13572
13619
|
}, z.core.$strip>;
|
|
13573
13620
|
type UpdateIntegrationGlovoResponse = IntegrationGlovoDetails;
|
|
@@ -13626,6 +13673,7 @@ declare class UpdateIntegrationGlovo extends AbstractApiRequest<typeof updateInt
|
|
|
13626
13673
|
service: z.ZodEnum<{
|
|
13627
13674
|
glovo: "glovo";
|
|
13628
13675
|
}>;
|
|
13676
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13629
13677
|
pointOfSale: 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>>;
|
|
13630
13678
|
}, z.core.$strip>;
|
|
13631
13679
|
readonly querySchema: undefined;
|
|
@@ -13678,6 +13726,7 @@ declare const updateIntegrationGlovoStoreStatusResponseSchema: z.ZodObject<{
|
|
|
13678
13726
|
service: z.ZodEnum<{
|
|
13679
13727
|
glovo: "glovo";
|
|
13680
13728
|
}>;
|
|
13729
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13681
13730
|
pointOfSale: 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>>;
|
|
13682
13731
|
}, z.core.$strip>;
|
|
13683
13732
|
type UpdateIntegrationGlovoStoreStatusResponse = IntegrationGlovoDetails;
|
|
@@ -13727,6 +13776,7 @@ declare class UpdateIntegrationGlovoStoreStatus extends AbstractApiRequest<typeo
|
|
|
13727
13776
|
service: z.ZodEnum<{
|
|
13728
13777
|
glovo: "glovo";
|
|
13729
13778
|
}>;
|
|
13779
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13730
13780
|
pointOfSale: 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>>;
|
|
13731
13781
|
}, z.core.$strip>;
|
|
13732
13782
|
readonly querySchema: undefined;
|
|
@@ -14798,6 +14848,10 @@ declare class GetIntegrationJustEatSyncMenuProcessDetails extends AbstractApiReq
|
|
|
14798
14848
|
}
|
|
14799
14849
|
|
|
14800
14850
|
declare const getIntegrationJustEatSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
14851
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
14852
|
+
asc: "asc";
|
|
14853
|
+
desc: "desc";
|
|
14854
|
+
}>>;
|
|
14801
14855
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14802
14856
|
}, z.core.$strip>;
|
|
14803
14857
|
type GetIntegrationJustEatSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationJustEatSyncMenuProcessesQuerySchema>;
|
|
@@ -14842,6 +14896,10 @@ declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<
|
|
|
14842
14896
|
}, z.core.$strip>;
|
|
14843
14897
|
}, z.core.$strip>;
|
|
14844
14898
|
readonly querySchema: z.ZodObject<{
|
|
14899
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
14900
|
+
asc: "asc";
|
|
14901
|
+
desc: "desc";
|
|
14902
|
+
}>>;
|
|
14845
14903
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14846
14904
|
}, z.core.$strip>;
|
|
14847
14905
|
readonly headersSchema: undefined;
|
|
@@ -15836,6 +15894,7 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
15836
15894
|
service: z.ZodEnum<{
|
|
15837
15895
|
glovo: "glovo";
|
|
15838
15896
|
}>;
|
|
15897
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
15839
15898
|
pointOfSale: 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>>;
|
|
15840
15899
|
}, z.core.$strip>, z.ZodObject<{
|
|
15841
15900
|
status: z.ZodEnum<{
|
|
@@ -16046,6 +16105,7 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
|
|
|
16046
16105
|
service: z.ZodEnum<{
|
|
16047
16106
|
glovo: "glovo";
|
|
16048
16107
|
}>;
|
|
16108
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
16049
16109
|
pointOfSale: 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>>;
|
|
16050
16110
|
}, z.core.$strip>, z.ZodObject<{
|
|
16051
16111
|
status: z.ZodEnum<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1137,6 +1137,7 @@ declare const integrationDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1137
1137
|
service: z.ZodEnum<{
|
|
1138
1138
|
glovo: "glovo";
|
|
1139
1139
|
}>;
|
|
1140
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
1140
1141
|
pointOfSale: 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>>;
|
|
1141
1142
|
}, z.core.$strip>, z.ZodObject<{
|
|
1142
1143
|
status: z.ZodEnum<{
|
|
@@ -6716,6 +6717,7 @@ declare const getIntegrationDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
6716
6717
|
service: z.ZodEnum<{
|
|
6717
6718
|
glovo: "glovo";
|
|
6718
6719
|
}>;
|
|
6720
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
6719
6721
|
pointOfSale: 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>>;
|
|
6720
6722
|
}, z.core.$strip>, z.ZodObject<{
|
|
6721
6723
|
status: z.ZodEnum<{
|
|
@@ -6916,6 +6918,7 @@ declare class GetIntegrationDetails extends AbstractApiRequest<typeof getIntegra
|
|
|
6916
6918
|
service: z.ZodEnum<{
|
|
6917
6919
|
glovo: "glovo";
|
|
6918
6920
|
}>;
|
|
6921
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
6919
6922
|
pointOfSale: 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>>;
|
|
6920
6923
|
}, z.core.$strip>, z.ZodObject<{
|
|
6921
6924
|
status: z.ZodEnum<{
|
|
@@ -8975,6 +8978,7 @@ declare const integrationGlovoDetailsSchema: z.ZodObject<{
|
|
|
8975
8978
|
service: z.ZodEnum<{
|
|
8976
8979
|
glovo: "glovo";
|
|
8977
8980
|
}>;
|
|
8981
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
8978
8982
|
pointOfSale: 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>>;
|
|
8979
8983
|
}, z.core.$strip>;
|
|
8980
8984
|
type IntegrationGlovoDetails = z.infer<typeof integrationGlovoDetailsSchema>;
|
|
@@ -11938,6 +11942,25 @@ declare class GetIntegrationDeliverooSyncMenuProcessDetails extends AbstractApiR
|
|
|
11938
11942
|
}
|
|
11939
11943
|
|
|
11940
11944
|
declare const getIntegrationDeliverooSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
11945
|
+
'order[endAt]': z.ZodOptional<z.ZodEnum<{
|
|
11946
|
+
asc: "asc";
|
|
11947
|
+
desc: "desc";
|
|
11948
|
+
}>>;
|
|
11949
|
+
mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11950
|
+
menu: "menu";
|
|
11951
|
+
item_availabilities: "item_availabilities";
|
|
11952
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
11953
|
+
menu: "menu";
|
|
11954
|
+
item_availabilities: "item_availabilities";
|
|
11955
|
+
}>>]>>;
|
|
11956
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
11957
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11958
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
11959
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11960
|
+
'endAt[before]': z.ZodOptional<z.ZodString>;
|
|
11961
|
+
'endAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
11962
|
+
'endAt[after]': z.ZodOptional<z.ZodString>;
|
|
11963
|
+
'endAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11941
11964
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11942
11965
|
}, z.core.$strip>;
|
|
11943
11966
|
type GetIntegrationDeliverooSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationDeliverooSyncMenuProcessesQuerySchema>;
|
|
@@ -11992,6 +12015,25 @@ declare class GetIntegrationDeliverooSyncMenuProcesses extends AbstractApiReques
|
|
|
11992
12015
|
}, z.core.$strip>;
|
|
11993
12016
|
}, z.core.$strip>;
|
|
11994
12017
|
readonly querySchema: z.ZodObject<{
|
|
12018
|
+
'order[endAt]': z.ZodOptional<z.ZodEnum<{
|
|
12019
|
+
asc: "asc";
|
|
12020
|
+
desc: "desc";
|
|
12021
|
+
}>>;
|
|
12022
|
+
mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
12023
|
+
menu: "menu";
|
|
12024
|
+
item_availabilities: "item_availabilities";
|
|
12025
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
12026
|
+
menu: "menu";
|
|
12027
|
+
item_availabilities: "item_availabilities";
|
|
12028
|
+
}>>]>>;
|
|
12029
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
12030
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
12031
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
12032
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
12033
|
+
'endAt[before]': z.ZodOptional<z.ZodString>;
|
|
12034
|
+
'endAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
12035
|
+
'endAt[after]': z.ZodOptional<z.ZodString>;
|
|
12036
|
+
'endAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
11995
12037
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
11996
12038
|
}, z.core.$strip>;
|
|
11997
12039
|
readonly headersSchema: undefined;
|
|
@@ -12499,6 +12541,7 @@ declare const createIntegrationGlovoResponseSchema: z.ZodObject<{
|
|
|
12499
12541
|
service: z.ZodEnum<{
|
|
12500
12542
|
glovo: "glovo";
|
|
12501
12543
|
}>;
|
|
12544
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12502
12545
|
pointOfSale: 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>>;
|
|
12503
12546
|
}, z.core.$strip>;
|
|
12504
12547
|
type CreateIntegrationGlovoResponse = z.infer<typeof createIntegrationGlovoResponseSchema>;
|
|
@@ -12558,6 +12601,7 @@ declare class CreateIntegrationGlovo extends AbstractApiRequest<typeof createInt
|
|
|
12558
12601
|
service: z.ZodEnum<{
|
|
12559
12602
|
glovo: "glovo";
|
|
12560
12603
|
}>;
|
|
12604
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12561
12605
|
pointOfSale: 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>>;
|
|
12562
12606
|
}, z.core.$strip>;
|
|
12563
12607
|
readonly querySchema: undefined;
|
|
@@ -12806,6 +12850,7 @@ declare const getIntegrationGlovoDetailsResponseSchema: z.ZodObject<{
|
|
|
12806
12850
|
service: z.ZodEnum<{
|
|
12807
12851
|
glovo: "glovo";
|
|
12808
12852
|
}>;
|
|
12853
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12809
12854
|
pointOfSale: 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>>;
|
|
12810
12855
|
}, z.core.$strip>;
|
|
12811
12856
|
type GetIntegrationGlovoDetailsResponse = IntegrationGlovoDetails;
|
|
@@ -12850,6 +12895,7 @@ declare class GetIntegrationGlovoDetails extends AbstractApiRequest<typeof getIn
|
|
|
12850
12895
|
service: z.ZodEnum<{
|
|
12851
12896
|
glovo: "glovo";
|
|
12852
12897
|
}>;
|
|
12898
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
12853
12899
|
pointOfSale: 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>>;
|
|
12854
12900
|
}, z.core.$strip>;
|
|
12855
12901
|
readonly querySchema: undefined;
|
|
@@ -13568,6 +13614,7 @@ declare const updateIntegrationGlovoResponseSchema: z.ZodObject<{
|
|
|
13568
13614
|
service: z.ZodEnum<{
|
|
13569
13615
|
glovo: "glovo";
|
|
13570
13616
|
}>;
|
|
13617
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13571
13618
|
pointOfSale: 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>>;
|
|
13572
13619
|
}, z.core.$strip>;
|
|
13573
13620
|
type UpdateIntegrationGlovoResponse = IntegrationGlovoDetails;
|
|
@@ -13626,6 +13673,7 @@ declare class UpdateIntegrationGlovo extends AbstractApiRequest<typeof updateInt
|
|
|
13626
13673
|
service: z.ZodEnum<{
|
|
13627
13674
|
glovo: "glovo";
|
|
13628
13675
|
}>;
|
|
13676
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13629
13677
|
pointOfSale: 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>>;
|
|
13630
13678
|
}, z.core.$strip>;
|
|
13631
13679
|
readonly querySchema: undefined;
|
|
@@ -13678,6 +13726,7 @@ declare const updateIntegrationGlovoStoreStatusResponseSchema: z.ZodObject<{
|
|
|
13678
13726
|
service: z.ZodEnum<{
|
|
13679
13727
|
glovo: "glovo";
|
|
13680
13728
|
}>;
|
|
13729
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13681
13730
|
pointOfSale: 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>>;
|
|
13682
13731
|
}, z.core.$strip>;
|
|
13683
13732
|
type UpdateIntegrationGlovoStoreStatusResponse = IntegrationGlovoDetails;
|
|
@@ -13727,6 +13776,7 @@ declare class UpdateIntegrationGlovoStoreStatus extends AbstractApiRequest<typeo
|
|
|
13727
13776
|
service: z.ZodEnum<{
|
|
13728
13777
|
glovo: "glovo";
|
|
13729
13778
|
}>;
|
|
13779
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
13730
13780
|
pointOfSale: 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>>;
|
|
13731
13781
|
}, z.core.$strip>;
|
|
13732
13782
|
readonly querySchema: undefined;
|
|
@@ -14798,6 +14848,10 @@ declare class GetIntegrationJustEatSyncMenuProcessDetails extends AbstractApiReq
|
|
|
14798
14848
|
}
|
|
14799
14849
|
|
|
14800
14850
|
declare const getIntegrationJustEatSyncMenuProcessesQuerySchema: z.ZodObject<{
|
|
14851
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
14852
|
+
asc: "asc";
|
|
14853
|
+
desc: "desc";
|
|
14854
|
+
}>>;
|
|
14801
14855
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14802
14856
|
}, z.core.$strip>;
|
|
14803
14857
|
type GetIntegrationJustEatSyncMenuProcessesQueryParams = z.infer<typeof getIntegrationJustEatSyncMenuProcessesQuerySchema>;
|
|
@@ -14842,6 +14896,10 @@ declare class GetIntegrationJustEatSyncMenuProcesses extends AbstractApiRequest<
|
|
|
14842
14896
|
}, z.core.$strip>;
|
|
14843
14897
|
}, z.core.$strip>;
|
|
14844
14898
|
readonly querySchema: z.ZodObject<{
|
|
14899
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
14900
|
+
asc: "asc";
|
|
14901
|
+
desc: "desc";
|
|
14902
|
+
}>>;
|
|
14845
14903
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14846
14904
|
}, z.core.$strip>;
|
|
14847
14905
|
readonly headersSchema: undefined;
|
|
@@ -15836,6 +15894,7 @@ declare const updateIntegrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
15836
15894
|
service: z.ZodEnum<{
|
|
15837
15895
|
glovo: "glovo";
|
|
15838
15896
|
}>;
|
|
15897
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
15839
15898
|
pointOfSale: 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>>;
|
|
15840
15899
|
}, z.core.$strip>, z.ZodObject<{
|
|
15841
15900
|
status: z.ZodEnum<{
|
|
@@ -16046,6 +16105,7 @@ declare class UpdateIntegration extends AbstractApiRequest<typeof updateIntegrat
|
|
|
16046
16105
|
service: z.ZodEnum<{
|
|
16047
16106
|
glovo: "glovo";
|
|
16048
16107
|
}>;
|
|
16108
|
+
dailyMenuUpdatesLeft: z.ZodNumber;
|
|
16049
16109
|
pointOfSale: 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>>;
|
|
16050
16110
|
}, z.core.$strip>, z.ZodObject<{
|
|
16051
16111
|
status: z.ZodEnum<{
|
package/dist/index.js
CHANGED
|
@@ -14426,9 +14426,9 @@ var integrationGlovoSchema = integrationBaseSchema.omit({ service: true, errors:
|
|
|
14426
14426
|
pendingMenuChanges: external_exports.boolean(),
|
|
14427
14427
|
service: integrationServiceSchema.extract(["glovo"])
|
|
14428
14428
|
});
|
|
14429
|
-
var integrationGlovoDetailsSchema = integrationGlovoSchema.extend(
|
|
14430
|
-
|
|
14431
|
-
);
|
|
14429
|
+
var integrationGlovoDetailsSchema = integrationGlovoSchema.extend({
|
|
14430
|
+
dailyMenuUpdatesLeft: external_exports.number()
|
|
14431
|
+
}).extend(integrationDetailsFieldsSchema.shape);
|
|
14432
14432
|
var integrationGlovoEditableFieldsSchema = integrationGlovoSchema.pick({
|
|
14433
14433
|
name: true,
|
|
14434
14434
|
storeId: true,
|
|
@@ -15867,9 +15867,7 @@ var GetIntegrationDeliverooSyncMenuProcessDetails = class extends AbstractApiReq
|
|
|
15867
15867
|
// src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts
|
|
15868
15868
|
import { AbstractApiRequest as AbstractApiRequest46 } from "@deliverart/sdk-js-core";
|
|
15869
15869
|
import { createPaginatedSchema as createPaginatedSchema11 } from "@deliverart/sdk-js-global-types";
|
|
15870
|
-
var getIntegrationDeliverooSyncMenuProcessesQuerySchema =
|
|
15871
|
-
page: external_exports.coerce.number().optional()
|
|
15872
|
-
});
|
|
15870
|
+
var getIntegrationDeliverooSyncMenuProcessesQuerySchema = integrationDeliverooSyncMenuProcessesQuerySchema;
|
|
15873
15871
|
var getIntegrationDeliverooSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
15874
15872
|
var getIntegrationDeliverooSyncMenuProcessesResponseSchema = createPaginatedSchema11(
|
|
15875
15873
|
integrationDeliverooSyncMenuProcessSchema
|
|
@@ -16653,9 +16651,7 @@ var GetIntegrationJustEatSyncMenuProcessDetails = class extends AbstractApiReque
|
|
|
16653
16651
|
// src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts
|
|
16654
16652
|
import { AbstractApiRequest as AbstractApiRequest79 } from "@deliverart/sdk-js-core";
|
|
16655
16653
|
import { createPaginatedSchema as createPaginatedSchema22 } from "@deliverart/sdk-js-global-types";
|
|
16656
|
-
var getIntegrationJustEatSyncMenuProcessesQuerySchema =
|
|
16657
|
-
page: external_exports.coerce.number().optional()
|
|
16658
|
-
});
|
|
16654
|
+
var getIntegrationJustEatSyncMenuProcessesQuerySchema = integrationJustEatSyncMenuProcessesQuerySchema;
|
|
16659
16655
|
var getIntegrationJustEatSyncMenuProcessesInputSchema = external_exports.undefined();
|
|
16660
16656
|
var getIntegrationJustEatSyncMenuProcessesResponseSchema = createPaginatedSchema22(
|
|
16661
16657
|
integrationJustEatSyncMenuProcessSchema
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Integration Management",
|
|
4
|
-
"version": "2.9.
|
|
4
|
+
"version": "2.9.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
26
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-order": "2.9.3",
|
|
22
|
+
"@deliverart/sdk-js-image": "2.9.3",
|
|
23
|
+
"@deliverart/sdk-js-core": "2.9.3",
|
|
24
|
+
"@deliverart/sdk-js-global-types": "2.9.3",
|
|
25
|
+
"@deliverart/sdk-js-sales-mode": "2.9.3",
|
|
26
|
+
"@deliverart/sdk-js-point-of-sale": "2.9.3"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|