@deliverart/sdk-js-integration 0.0.5 → 1.1.6
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 +5367 -1540
- package/dist/index.d.cts +3759 -3714
- package/dist/index.d.ts +3759 -3714
- package/dist/index.js +5218 -1385
- package/package.json +12 -27
- package/.changeset/config.json +0 -11
- package/.github/workflows/workflow.yml +0 -47
- package/.prettierrc +0 -7
- package/CHANGELOG.md +0 -25
- package/README.md +0 -3
- package/eslint.config.js +0 -37
- package/src/activatable-integration-data-schemas.ts +0 -50
- package/src/activatable-integration-types.ts +0 -17
- package/src/activatable-integration.ts +0 -86
- package/src/activation-request.ts +0 -53
- package/src/cancellation-request-types.ts +0 -42
- package/src/cancellation-request.ts +0 -21
- package/src/index.ts +0 -9
- package/src/integration-schemas.ts +0 -31
- package/src/requests/DeleteIntegration.ts +0 -27
- package/src/requests/GetIntegrationDetails.ts +0 -30
- package/src/requests/GetIntegrations.ts +0 -63
- package/src/requests/UpdateIntegration.ts +0 -36
- package/src/requests/activation-requests/ActivateIntegrationActivationRequest.ts +0 -38
- package/src/requests/activation-requests/AnnotateIntegrationActivationRequest.ts +0 -46
- package/src/requests/activation-requests/CreateIntegrationActivationRequest.ts +0 -80
- package/src/requests/activation-requests/DeleteIntegrationActivationRequest.ts +0 -27
- package/src/requests/activation-requests/GetIntegrationActivationRequestDetails.ts +0 -37
- package/src/requests/activation-requests/GetIntegrationActivationRequests.ts +0 -86
- package/src/requests/activation-requests/RespondIntegrationActivationRequest.ts +0 -58
- package/src/requests/activation-requests/SendIntegrationActivationRequestToPartner.ts +0 -38
- package/src/requests/activation-requests/UpdateIntegrationActivationRequest.ts +0 -91
- package/src/requests/activation-requests/index.ts +0 -9
- package/src/requests/cancellation-requests/CancelIntegrationCancellationRequest.ts +0 -38
- package/src/requests/cancellation-requests/CreateIntegrationCancellationRequest.ts +0 -41
- package/src/requests/cancellation-requests/DeleteIntegrationCancellationRequest.ts +0 -27
- package/src/requests/cancellation-requests/GetIntegrationCancellationRequestDetails.ts +0 -37
- package/src/requests/cancellation-requests/GetIntegrationCancellationRequests.ts +0 -72
- package/src/requests/cancellation-requests/index.ts +0 -5
- package/src/requests/index.ts +0 -7
- package/src/requests/services/cassa_in_cloud/CreateIntegrationCassaInCloud.ts +0 -42
- package/src/requests/services/cassa_in_cloud/DeleteIntegrationCassaInCloud.ts +0 -27
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequestDetails.ts +0 -40
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequests.ts +0 -64
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudDetails.ts +0 -36
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudList.ts +0 -61
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts +0 -40
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcesses.ts +0 -69
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts +0 -40
- package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEvents.ts +0 -69
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncCustomers.ts +0 -27
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncOrganizations.ts +0 -27
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncProducts.ts +0 -27
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncSalesModes.ts +0 -27
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncStock.ts +0 -27
- package/src/requests/services/cassa_in_cloud/IntegrationCassaInCloudSyncTimetables.ts +0 -27
- package/src/requests/services/cassa_in_cloud/UpdateIntegrationCassaInCloud.ts +0 -39
- package/src/requests/services/cassa_in_cloud/index.ts +0 -17
- package/src/requests/services/deliveroo/CreateIntegrationDeliveroo.ts +0 -40
- package/src/requests/services/deliveroo/DeleteIntegrationDeliveroo.ts +0 -27
- package/src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequestDetails.ts +0 -40
- package/src/requests/services/deliveroo/GetIntegrationDeliverooClientLogRequests.ts +0 -64
- package/src/requests/services/deliveroo/GetIntegrationDeliverooDetails.ts +0 -36
- package/src/requests/services/deliveroo/GetIntegrationDeliverooList.ts +0 -61
- package/src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersionDetails.ts +0 -35
- package/src/requests/services/deliveroo/GetIntegrationDeliverooMenuVersions.ts +0 -62
- package/src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcessDetails.ts +0 -40
- package/src/requests/services/deliveroo/GetIntegrationDeliverooSyncMenuProcesses.ts +0 -69
- package/src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEventDetails.ts +0 -40
- package/src/requests/services/deliveroo/GetIntegrationDeliverooWebhookEvents.ts +0 -69
- package/src/requests/services/deliveroo/IntegrationDeliverooSyncMenu.ts +0 -27
- package/src/requests/services/deliveroo/IntegrationDeliverooSyncOpeningHours.ts +0 -27
- package/src/requests/services/deliveroo/UpdateIntegrationDeliveroo.ts +0 -39
- package/src/requests/services/deliveroo/UpdateIntegrationDeliverooSiteStatus.ts +0 -43
- package/src/requests/services/deliveroo/index.ts +0 -16
- package/src/requests/services/glovo/CreateIntegrationGlovo.ts +0 -39
- package/src/requests/services/glovo/DeleteIntegrationGlovo.ts +0 -27
- package/src/requests/services/glovo/GetIntegrationGlovoClientLogRequestDetails.ts +0 -39
- package/src/requests/services/glovo/GetIntegrationGlovoClientLogRequests.ts +0 -64
- package/src/requests/services/glovo/GetIntegrationGlovoDetails.ts +0 -36
- package/src/requests/services/glovo/GetIntegrationGlovoList.ts +0 -55
- package/src/requests/services/glovo/GetIntegrationGlovoMenuUpdateDetails.ts +0 -39
- package/src/requests/services/glovo/GetIntegrationGlovoMenuUpdates.ts +0 -66
- package/src/requests/services/glovo/GetIntegrationGlovoMenuVersionDetails.ts +0 -35
- package/src/requests/services/glovo/GetIntegrationGlovoMenuVersions.ts +0 -62
- package/src/requests/services/glovo/GetIntegrationGlovoWebhookEventDetails.ts +0 -39
- package/src/requests/services/glovo/GetIntegrationGlovoWebhookEvents.ts +0 -68
- package/src/requests/services/glovo/IntegrationGlovoSyncMenu.ts +0 -27
- package/src/requests/services/glovo/UpdateIntegrationGlovo.ts +0 -39
- package/src/requests/services/glovo/UpdateIntegrationGlovoStoreStatus.ts +0 -43
- package/src/requests/services/glovo/index.ts +0 -15
- package/src/requests/services/index.ts +0 -4
- package/src/requests/services/justeat/CreateIntegrationJustEat.ts +0 -39
- package/src/requests/services/justeat/DeleteIntegrationJustEat.ts +0 -27
- package/src/requests/services/justeat/GetIntegrationJustEatClientLogRequestDetails.ts +0 -40
- package/src/requests/services/justeat/GetIntegrationJustEatClientLogRequests.ts +0 -64
- package/src/requests/services/justeat/GetIntegrationJustEatDetails.ts +0 -36
- package/src/requests/services/justeat/GetIntegrationJustEatList.ts +0 -60
- package/src/requests/services/justeat/GetIntegrationJustEatMenuVersionDetails.ts +0 -35
- package/src/requests/services/justeat/GetIntegrationJustEatMenuVersions.ts +0 -62
- package/src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcessDetails.ts +0 -40
- package/src/requests/services/justeat/GetIntegrationJustEatSyncMenuProcesses.ts +0 -69
- package/src/requests/services/justeat/IntegrationJustEatSyncMenu.ts +0 -27
- package/src/requests/services/justeat/IntegrationJustEatSyncOpeningTimes.ts +0 -27
- package/src/requests/services/justeat/UpdateIntegrationJustEat.ts +0 -39
- package/src/requests/services/justeat/UpdateIntegrationJustEatRestaurantStatus.ts +0 -44
- package/src/requests/services/justeat/index.ts +0 -14
- package/src/schemas.ts +0 -104
- package/src/service-schemas/cassa_in_cloud.ts +0 -154
- package/src/service-schemas/deliveroo.ts +0 -159
- package/src/service-schemas/glovo.ts +0 -153
- package/src/service-schemas/justeat.ts +0 -121
- package/src/types.ts +0 -296
- package/tsconfig.json +0 -15
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import {
|
|
3
|
-
createPaginatedSchema,
|
|
4
|
-
Paginated,
|
|
5
|
-
responseToPagination,
|
|
6
|
-
sortDirSchema,
|
|
7
|
-
timestampsFilterSchema,
|
|
8
|
-
} from '@deliverart/sdk-js-global-types'
|
|
9
|
-
import { AxiosResponse } from 'axios'
|
|
10
|
-
import { z } from 'zod'
|
|
11
|
-
|
|
12
|
-
import {
|
|
13
|
-
IntegrationCancellationRequest,
|
|
14
|
-
integrationCancellationRequestSchema,
|
|
15
|
-
} from '../../cancellation-request'
|
|
16
|
-
import { integrationCancellationRequestStatusSchema } from '../../cancellation-request-types'
|
|
17
|
-
|
|
18
|
-
export const getIntegrationCancellationRequestsQuerySchema = z
|
|
19
|
-
.object({
|
|
20
|
-
'order[createdAt]': sortDirSchema.optional(),
|
|
21
|
-
'order[updatedAt]': sortDirSchema.optional(),
|
|
22
|
-
status: integrationCancellationRequestStatusSchema.optional(),
|
|
23
|
-
'status[]': z.array(integrationCancellationRequestStatusSchema).optional(),
|
|
24
|
-
page: z.coerce.number().optional(),
|
|
25
|
-
})
|
|
26
|
-
.merge(timestampsFilterSchema)
|
|
27
|
-
export type GetIntegrationCancellationRequestsQueryParams = z.infer<
|
|
28
|
-
typeof getIntegrationCancellationRequestsQuerySchema
|
|
29
|
-
>
|
|
30
|
-
|
|
31
|
-
export const getIntegrationCancellationRequestsResponseSchema = createPaginatedSchema(
|
|
32
|
-
integrationCancellationRequestSchema,
|
|
33
|
-
)
|
|
34
|
-
export type GetIntegrationCancellationRequestsResponse = z.infer<
|
|
35
|
-
typeof getIntegrationCancellationRequestsResponseSchema
|
|
36
|
-
>
|
|
37
|
-
|
|
38
|
-
export const getIntegrationCancellationRequestsInputSchema = z.undefined()
|
|
39
|
-
|
|
40
|
-
export class GetIntegrationCancellationRequests extends AbstractApiRequest<
|
|
41
|
-
void,
|
|
42
|
-
GetIntegrationCancellationRequestsResponse,
|
|
43
|
-
GetIntegrationCancellationRequestsQueryParams
|
|
44
|
-
> {
|
|
45
|
-
readonly method = 'GET'
|
|
46
|
-
readonly contentType = 'application/json'
|
|
47
|
-
readonly accept = 'application/json'
|
|
48
|
-
|
|
49
|
-
readonly inputSchema = getIntegrationCancellationRequestsInputSchema
|
|
50
|
-
readonly outputSchema = getIntegrationCancellationRequestsResponseSchema
|
|
51
|
-
readonly querySchema = getIntegrationCancellationRequestsQuerySchema
|
|
52
|
-
readonly headersSchema = undefined
|
|
53
|
-
|
|
54
|
-
constructor(options?: { query?: GetIntegrationCancellationRequestsQueryParams }) {
|
|
55
|
-
super(undefined, options)
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
getPath(): string {
|
|
59
|
-
return '/integrations/cancellation_requests'
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
parseResponse(
|
|
63
|
-
data: unknown,
|
|
64
|
-
rawResponse: AxiosResponse,
|
|
65
|
-
): Paginated<IntegrationCancellationRequest> {
|
|
66
|
-
const integrations = z.array(integrationCancellationRequestSchema).parse(data)
|
|
67
|
-
return this.validateOutput({
|
|
68
|
-
data: integrations,
|
|
69
|
-
pagination: responseToPagination(rawResponse),
|
|
70
|
-
})
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './CancelIntegrationCancellationRequest'
|
|
2
|
-
export * from './CreateIntegrationCancellationRequest'
|
|
3
|
-
export * from './DeleteIntegrationCancellationRequest'
|
|
4
|
-
export * from './GetIntegrationCancellationRequestDetails'
|
|
5
|
-
export * from './GetIntegrationCancellationRequests'
|
package/src/requests/index.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { pointOfSalePathSchema } from '@deliverart/sdk-js-point-of-sale'
|
|
3
|
-
import { z } from 'zod'
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
IntegrationCassaInCloudDetails,
|
|
7
|
-
integrationCassaInCloudDetailsSchema,
|
|
8
|
-
integrationCassaInCloudEditableFieldsSchema,
|
|
9
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
10
|
-
|
|
11
|
-
export const createIntegrationCassaInCloudInputSchema =
|
|
12
|
-
integrationCassaInCloudEditableFieldsSchema.extend({
|
|
13
|
-
pointOfSale: pointOfSalePathSchema,
|
|
14
|
-
})
|
|
15
|
-
export type CreateIntegrationCassaInCloudInput = z.infer<
|
|
16
|
-
typeof createIntegrationCassaInCloudInputSchema
|
|
17
|
-
>
|
|
18
|
-
|
|
19
|
-
export const createIntegrationCassaInCloudResponseSchema = integrationCassaInCloudDetailsSchema
|
|
20
|
-
export type CreateIntegrationCassaInCloudResponse = IntegrationCassaInCloudDetails
|
|
21
|
-
|
|
22
|
-
export class CreateIntegrationCassaInCloud extends AbstractApiRequest<
|
|
23
|
-
CreateIntegrationCassaInCloudInput,
|
|
24
|
-
CreateIntegrationCassaInCloudResponse
|
|
25
|
-
> {
|
|
26
|
-
readonly method = 'POST'
|
|
27
|
-
readonly contentType = 'application/json'
|
|
28
|
-
readonly accept = 'application/json'
|
|
29
|
-
|
|
30
|
-
readonly inputSchema = createIntegrationCassaInCloudInputSchema
|
|
31
|
-
readonly outputSchema = createIntegrationCassaInCloudResponseSchema
|
|
32
|
-
readonly querySchema = undefined
|
|
33
|
-
readonly headersSchema = undefined
|
|
34
|
-
|
|
35
|
-
constructor(input: CreateIntegrationCassaInCloudInput) {
|
|
36
|
-
super(input)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
getPath(): string {
|
|
40
|
-
return '/integrations/cassa_in_cloud'
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
export const deleteIntegrationCassaInCloudInputSchema = z.undefined()
|
|
5
|
-
export const deleteIntegrationCassaInCloudResponseSchema = z.undefined()
|
|
6
|
-
|
|
7
|
-
export class DeleteIntegrationCassaInCloud extends AbstractApiRequest<void, void> {
|
|
8
|
-
readonly method = 'DELETE'
|
|
9
|
-
readonly contentType = 'application/json'
|
|
10
|
-
readonly accept = 'application/json'
|
|
11
|
-
|
|
12
|
-
readonly inputSchema = deleteIntegrationCassaInCloudInputSchema
|
|
13
|
-
readonly outputSchema = deleteIntegrationCassaInCloudResponseSchema
|
|
14
|
-
readonly querySchema = undefined
|
|
15
|
-
readonly headersSchema = undefined
|
|
16
|
-
|
|
17
|
-
private readonly integrationCassaInCloudId: string
|
|
18
|
-
|
|
19
|
-
constructor(integrationCassaInCloudId: string) {
|
|
20
|
-
super()
|
|
21
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
getPath(): string {
|
|
25
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}`
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudClientLogRequestDetails.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
IntegrationClientLogRequestDetails,
|
|
6
|
-
integrationClientLogRequestDetailsSchema,
|
|
7
|
-
} from '../../../schemas'
|
|
8
|
-
|
|
9
|
-
export const getIntegrationCassaInCloudClientLogRequestDetailsInputSchema = z.undefined()
|
|
10
|
-
|
|
11
|
-
export const getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema =
|
|
12
|
-
integrationClientLogRequestDetailsSchema
|
|
13
|
-
export type GetIntegrationCassaInCloudClientLogRequestDetailsResponse =
|
|
14
|
-
IntegrationClientLogRequestDetails
|
|
15
|
-
|
|
16
|
-
export class GetIntegrationCassaInCloudClientLogRequestDetails extends AbstractApiRequest<
|
|
17
|
-
void,
|
|
18
|
-
GetIntegrationCassaInCloudClientLogRequestDetailsResponse
|
|
19
|
-
> {
|
|
20
|
-
readonly method = 'GET'
|
|
21
|
-
readonly contentType = 'application/json'
|
|
22
|
-
readonly accept = 'application/json'
|
|
23
|
-
readonly inputSchema = getIntegrationCassaInCloudClientLogRequestDetailsInputSchema
|
|
24
|
-
readonly outputSchema = getIntegrationCassaInCloudClientLogRequestDetailsResponseSchema
|
|
25
|
-
readonly querySchema = undefined
|
|
26
|
-
readonly headersSchema = undefined
|
|
27
|
-
|
|
28
|
-
private readonly integrationCassaInCloudId: string
|
|
29
|
-
private readonly requestId: string
|
|
30
|
-
|
|
31
|
-
constructor(integrationCassaInCloudId: string, requestId: string) {
|
|
32
|
-
super()
|
|
33
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
34
|
-
this.requestId = requestId
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
getPath(): string {
|
|
38
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests/${this.requestId}`
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import {
|
|
3
|
-
createPaginatedSchema,
|
|
4
|
-
Paginated,
|
|
5
|
-
responseToPagination,
|
|
6
|
-
} from '@deliverart/sdk-js-global-types'
|
|
7
|
-
import { AxiosResponse } from 'axios'
|
|
8
|
-
import { z } from 'zod'
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
ClientLogRequestQuery,
|
|
12
|
-
clientLogRequestQuerySchema,
|
|
13
|
-
IntegrationClientLogRequest,
|
|
14
|
-
integrationClientLogRequestSchema,
|
|
15
|
-
} from '../../../schemas'
|
|
16
|
-
|
|
17
|
-
export const getIntegrationCassaInCloudClientLogRequestsQuerySchema = clientLogRequestQuerySchema
|
|
18
|
-
export type GetIntegrationCassaInCloudClientLogRequestsQueryParams = ClientLogRequestQuery
|
|
19
|
-
|
|
20
|
-
export const getIntegrationCassaInCloudClientLogRequestsResponseSchema = createPaginatedSchema(
|
|
21
|
-
integrationClientLogRequestSchema,
|
|
22
|
-
)
|
|
23
|
-
export type GetIntegrationCassaInCloudClientLogRequestsResponse = z.infer<
|
|
24
|
-
typeof getIntegrationCassaInCloudClientLogRequestsResponseSchema
|
|
25
|
-
>
|
|
26
|
-
|
|
27
|
-
export const getIntegrationCassaInCloudClientLogRequestsInputSchema = z.undefined()
|
|
28
|
-
|
|
29
|
-
export class GetIntegrationCassaInCloudClientLogRequests extends AbstractApiRequest<
|
|
30
|
-
void,
|
|
31
|
-
GetIntegrationCassaInCloudClientLogRequestsResponse,
|
|
32
|
-
GetIntegrationCassaInCloudClientLogRequestsQueryParams
|
|
33
|
-
> {
|
|
34
|
-
readonly method = 'GET'
|
|
35
|
-
readonly contentType = 'application/json'
|
|
36
|
-
readonly accept = 'application/json'
|
|
37
|
-
|
|
38
|
-
readonly inputSchema = getIntegrationCassaInCloudClientLogRequestsInputSchema
|
|
39
|
-
readonly outputSchema = getIntegrationCassaInCloudClientLogRequestsResponseSchema
|
|
40
|
-
readonly querySchema = getIntegrationCassaInCloudClientLogRequestsQuerySchema
|
|
41
|
-
readonly headersSchema = undefined
|
|
42
|
-
|
|
43
|
-
private readonly integrationCassaInCloudId: string
|
|
44
|
-
|
|
45
|
-
constructor(
|
|
46
|
-
integrationCassaInCloudId: string,
|
|
47
|
-
options?: { query?: GetIntegrationCassaInCloudClientLogRequestsQueryParams },
|
|
48
|
-
) {
|
|
49
|
-
super(undefined, options)
|
|
50
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
getPath(): string {
|
|
54
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/client_log_requests`
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<IntegrationClientLogRequest> {
|
|
58
|
-
const integrations = z.array(integrationClientLogRequestSchema).parse(data)
|
|
59
|
-
return this.validateOutput({
|
|
60
|
-
data: integrations,
|
|
61
|
-
pagination: responseToPagination(rawResponse),
|
|
62
|
-
})
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
IntegrationCassaInCloudDetails,
|
|
6
|
-
integrationCassaInCloudDetailsSchema,
|
|
7
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
8
|
-
|
|
9
|
-
export const getIntegrationCassaInCloudDetailsInputSchema = z.undefined()
|
|
10
|
-
|
|
11
|
-
export const getIntegrationCassaInCloudDetailsResponseSchema = integrationCassaInCloudDetailsSchema
|
|
12
|
-
export type GetIntegrationCassaInCloudDetailsResponse = IntegrationCassaInCloudDetails
|
|
13
|
-
|
|
14
|
-
export class GetIntegrationCassaInCloudDetails extends AbstractApiRequest<
|
|
15
|
-
void,
|
|
16
|
-
GetIntegrationCassaInCloudDetailsResponse
|
|
17
|
-
> {
|
|
18
|
-
readonly method = 'GET'
|
|
19
|
-
readonly contentType = 'application/json'
|
|
20
|
-
readonly accept = 'application/json'
|
|
21
|
-
readonly inputSchema = getIntegrationCassaInCloudDetailsInputSchema
|
|
22
|
-
readonly outputSchema = getIntegrationCassaInCloudDetailsResponseSchema
|
|
23
|
-
readonly querySchema = undefined
|
|
24
|
-
readonly headersSchema = undefined
|
|
25
|
-
|
|
26
|
-
private readonly integrationCassaInCloudId: string
|
|
27
|
-
|
|
28
|
-
constructor(integrationCassaInCloudId: string) {
|
|
29
|
-
super()
|
|
30
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
getPath(): string {
|
|
34
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}`
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import {
|
|
3
|
-
createPaginatedSchema,
|
|
4
|
-
Paginated,
|
|
5
|
-
responseToPagination,
|
|
6
|
-
} from '@deliverart/sdk-js-global-types'
|
|
7
|
-
import { AxiosResponse } from 'axios'
|
|
8
|
-
import { z } from 'zod'
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
IntegrationCassaInCloud,
|
|
12
|
-
integrationCassaInCloudSchema,
|
|
13
|
-
integrationsCassaInCloudQuerySchema,
|
|
14
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
15
|
-
|
|
16
|
-
export const getIntegrationCassaInCloudListQuerySchema = integrationsCassaInCloudQuerySchema.omit({
|
|
17
|
-
service: true,
|
|
18
|
-
})
|
|
19
|
-
export type GetIntegrationCassaInCloudListQueryParams = z.infer<
|
|
20
|
-
typeof getIntegrationCassaInCloudListQuerySchema
|
|
21
|
-
>
|
|
22
|
-
|
|
23
|
-
export const getIntegrationCassaInCloudListResponseSchema = createPaginatedSchema(
|
|
24
|
-
integrationCassaInCloudSchema,
|
|
25
|
-
)
|
|
26
|
-
export type GetIntegrationCassaInCloudListResponse = z.infer<
|
|
27
|
-
typeof getIntegrationCassaInCloudListResponseSchema
|
|
28
|
-
>
|
|
29
|
-
|
|
30
|
-
export const getIntegrationCassaInCloudListInputSchema = z.undefined()
|
|
31
|
-
|
|
32
|
-
export class GetIntegrationCassaInCloudList extends AbstractApiRequest<
|
|
33
|
-
void,
|
|
34
|
-
GetIntegrationCassaInCloudListResponse,
|
|
35
|
-
GetIntegrationCassaInCloudListQueryParams
|
|
36
|
-
> {
|
|
37
|
-
readonly method = 'GET'
|
|
38
|
-
readonly contentType = 'application/json'
|
|
39
|
-
readonly accept = 'application/json'
|
|
40
|
-
|
|
41
|
-
readonly inputSchema = getIntegrationCassaInCloudListInputSchema
|
|
42
|
-
readonly outputSchema = getIntegrationCassaInCloudListResponseSchema
|
|
43
|
-
readonly querySchema = getIntegrationCassaInCloudListQuerySchema
|
|
44
|
-
readonly headersSchema = undefined
|
|
45
|
-
|
|
46
|
-
constructor(options?: { query?: GetIntegrationCassaInCloudListQueryParams }) {
|
|
47
|
-
super(undefined, options)
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
getPath(): string {
|
|
51
|
-
return '/integrations/cassa_in_cloud'
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<IntegrationCassaInCloud> {
|
|
55
|
-
const integrations = z.array(integrationCassaInCloudSchema).parse(data)
|
|
56
|
-
return this.validateOutput({
|
|
57
|
-
data: integrations,
|
|
58
|
-
pagination: responseToPagination(rawResponse),
|
|
59
|
-
})
|
|
60
|
-
}
|
|
61
|
-
}
|
package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudSyncMenuProcessDetails.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
IntegrationCassaInCloudSyncMenuProcessDetails,
|
|
6
|
-
integrationCassaInCloudSyncMenuProcessDetailsSchema,
|
|
7
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
8
|
-
|
|
9
|
-
export const getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema = z.undefined()
|
|
10
|
-
|
|
11
|
-
export const getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema =
|
|
12
|
-
integrationCassaInCloudSyncMenuProcessDetailsSchema
|
|
13
|
-
export type GetIntegrationCassaInCloudSyncMenuProcessDetailsResponse =
|
|
14
|
-
IntegrationCassaInCloudSyncMenuProcessDetails
|
|
15
|
-
|
|
16
|
-
export class GetIntegrationCassaInCloudSyncMenuProcessDetails extends AbstractApiRequest<
|
|
17
|
-
void,
|
|
18
|
-
GetIntegrationCassaInCloudSyncMenuProcessDetailsResponse
|
|
19
|
-
> {
|
|
20
|
-
readonly method = 'GET'
|
|
21
|
-
readonly contentType = 'application/json'
|
|
22
|
-
readonly accept = 'application/json'
|
|
23
|
-
readonly inputSchema = getIntegrationCassaInCloudSyncMenuProcessDetailsInputSchema
|
|
24
|
-
readonly outputSchema = getIntegrationCassaInCloudSyncMenuProcessDetailsResponseSchema
|
|
25
|
-
readonly querySchema = undefined
|
|
26
|
-
readonly headersSchema = undefined
|
|
27
|
-
|
|
28
|
-
private readonly integrationCassaInCloudId: string
|
|
29
|
-
private readonly processId: string
|
|
30
|
-
|
|
31
|
-
constructor(integrationCassaInCloudId: string, processId: string) {
|
|
32
|
-
super()
|
|
33
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
34
|
-
this.processId = processId
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
getPath(): string {
|
|
38
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes/${this.processId}`
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import {
|
|
3
|
-
createPaginatedSchema,
|
|
4
|
-
Paginated,
|
|
5
|
-
responseToPagination,
|
|
6
|
-
} from '@deliverart/sdk-js-global-types'
|
|
7
|
-
import { AxiosResponse } from 'axios'
|
|
8
|
-
import { z } from 'zod'
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
IntegrationCassaInCloudSyncMenuProcess,
|
|
12
|
-
integrationCassaInCloudSyncMenuProcessSchema,
|
|
13
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
14
|
-
|
|
15
|
-
export const getIntegrationCassaInCloudSyncMenuProcessesQuerySchema = z.object({
|
|
16
|
-
page: z.number().optional(),
|
|
17
|
-
})
|
|
18
|
-
export type GetIntegrationCassaInCloudSyncMenuProcessesQueryParams = z.infer<
|
|
19
|
-
typeof getIntegrationCassaInCloudSyncMenuProcessesQuerySchema
|
|
20
|
-
>
|
|
21
|
-
|
|
22
|
-
export const getIntegrationCassaInCloudSyncMenuProcessesResponseSchema = createPaginatedSchema(
|
|
23
|
-
integrationCassaInCloudSyncMenuProcessSchema,
|
|
24
|
-
)
|
|
25
|
-
export type GetIntegrationCassaInCloudSyncMenuProcessesResponse = z.infer<
|
|
26
|
-
typeof getIntegrationCassaInCloudSyncMenuProcessesResponseSchema
|
|
27
|
-
>
|
|
28
|
-
|
|
29
|
-
export const getIntegrationCassaInCloudSyncMenuProcessesInputSchema = z.undefined()
|
|
30
|
-
|
|
31
|
-
export class GetIntegrationCassaInCloudSyncMenuProcesses extends AbstractApiRequest<
|
|
32
|
-
void,
|
|
33
|
-
GetIntegrationCassaInCloudSyncMenuProcessesResponse,
|
|
34
|
-
GetIntegrationCassaInCloudSyncMenuProcessesQueryParams
|
|
35
|
-
> {
|
|
36
|
-
readonly method = 'GET'
|
|
37
|
-
readonly contentType = 'application/json'
|
|
38
|
-
readonly accept = 'application/json'
|
|
39
|
-
|
|
40
|
-
readonly inputSchema = getIntegrationCassaInCloudSyncMenuProcessesInputSchema
|
|
41
|
-
readonly outputSchema = getIntegrationCassaInCloudSyncMenuProcessesResponseSchema
|
|
42
|
-
readonly querySchema = getIntegrationCassaInCloudSyncMenuProcessesQuerySchema
|
|
43
|
-
readonly headersSchema = undefined
|
|
44
|
-
|
|
45
|
-
private readonly integrationCassaInCloudId: string
|
|
46
|
-
|
|
47
|
-
constructor(
|
|
48
|
-
integrationCassaInCloudId: string,
|
|
49
|
-
options?: { query?: GetIntegrationCassaInCloudSyncMenuProcessesQueryParams },
|
|
50
|
-
) {
|
|
51
|
-
super(undefined, options)
|
|
52
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
getPath(): string {
|
|
56
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync_menu_processes`
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
parseResponse(
|
|
60
|
-
data: unknown,
|
|
61
|
-
rawResponse: AxiosResponse,
|
|
62
|
-
): Paginated<IntegrationCassaInCloudSyncMenuProcess> {
|
|
63
|
-
const integrations = z.array(integrationCassaInCloudSyncMenuProcessSchema).parse(data)
|
|
64
|
-
return this.validateOutput({
|
|
65
|
-
data: integrations,
|
|
66
|
-
pagination: responseToPagination(rawResponse),
|
|
67
|
-
})
|
|
68
|
-
}
|
|
69
|
-
}
|
package/src/requests/services/cassa_in_cloud/GetIntegrationCassaInCloudWebHookEventDetails.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
IntegrationCassaInCloudWebHookEventDetails,
|
|
6
|
-
integrationCassaInCloudWebHookEventDetailsSchema,
|
|
7
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
8
|
-
|
|
9
|
-
export const getIntegrationCassaInCloudWebHookEventDetailsInputSchema = z.undefined()
|
|
10
|
-
|
|
11
|
-
export const getIntegrationCassaInCloudWebHookEventDetailsResponseSchema =
|
|
12
|
-
integrationCassaInCloudWebHookEventDetailsSchema
|
|
13
|
-
export type GetIntegrationCassaInCloudWebHookEventDetailsResponse =
|
|
14
|
-
IntegrationCassaInCloudWebHookEventDetails
|
|
15
|
-
|
|
16
|
-
export class GetIntegrationCassaInCloudWebHookEventDetails extends AbstractApiRequest<
|
|
17
|
-
void,
|
|
18
|
-
GetIntegrationCassaInCloudWebHookEventDetailsResponse
|
|
19
|
-
> {
|
|
20
|
-
readonly method = 'GET'
|
|
21
|
-
readonly contentType = 'application/json'
|
|
22
|
-
readonly accept = 'application/json'
|
|
23
|
-
readonly inputSchema = getIntegrationCassaInCloudWebHookEventDetailsInputSchema
|
|
24
|
-
readonly outputSchema = getIntegrationCassaInCloudWebHookEventDetailsResponseSchema
|
|
25
|
-
readonly querySchema = undefined
|
|
26
|
-
readonly headersSchema = undefined
|
|
27
|
-
|
|
28
|
-
private readonly integrationCassaInCloudId: string
|
|
29
|
-
private readonly eventId: string
|
|
30
|
-
|
|
31
|
-
constructor(integrationCassaInCloudId: string, eventId: string) {
|
|
32
|
-
super()
|
|
33
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
34
|
-
this.eventId = eventId
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
getPath(): string {
|
|
38
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events/${this.eventId}`
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import {
|
|
3
|
-
createPaginatedSchema,
|
|
4
|
-
Paginated,
|
|
5
|
-
responseToPagination,
|
|
6
|
-
} from '@deliverart/sdk-js-global-types'
|
|
7
|
-
import { AxiosResponse } from 'axios'
|
|
8
|
-
import { z } from 'zod'
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
IntegrationCassaInCloudWebHookEvent,
|
|
12
|
-
integrationCassaInCloudWebHookEventSchema,
|
|
13
|
-
IntegrationCassaInCloudWebHookEventsQueryParams,
|
|
14
|
-
integrationCassaInCloudWebHookEventsQuerySchema,
|
|
15
|
-
} from '../../../service-schemas/cassa_in_cloud'
|
|
16
|
-
|
|
17
|
-
export const getIntegrationCassaInCloudWebHookEventsQuerySchema =
|
|
18
|
-
integrationCassaInCloudWebHookEventsQuerySchema
|
|
19
|
-
export type GetIntegrationCassaInCloudWebHookEventsQueryParams =
|
|
20
|
-
IntegrationCassaInCloudWebHookEventsQueryParams
|
|
21
|
-
|
|
22
|
-
export const getIntegrationCassaInCloudWebHookEventsResponseSchema = createPaginatedSchema(
|
|
23
|
-
integrationCassaInCloudWebHookEventSchema,
|
|
24
|
-
)
|
|
25
|
-
export type GetIntegrationCassaInCloudWebHookEventsResponse = z.infer<
|
|
26
|
-
typeof getIntegrationCassaInCloudWebHookEventsResponseSchema
|
|
27
|
-
>
|
|
28
|
-
|
|
29
|
-
export const getIntegrationCassaInCloudWebHookEventsInputSchema = z.undefined()
|
|
30
|
-
|
|
31
|
-
export class GetIntegrationCassaInCloudWebHookEvents extends AbstractApiRequest<
|
|
32
|
-
void,
|
|
33
|
-
GetIntegrationCassaInCloudWebHookEventsResponse,
|
|
34
|
-
GetIntegrationCassaInCloudWebHookEventsQueryParams
|
|
35
|
-
> {
|
|
36
|
-
readonly method = 'GET'
|
|
37
|
-
readonly contentType = 'application/json'
|
|
38
|
-
readonly accept = 'application/json'
|
|
39
|
-
|
|
40
|
-
readonly inputSchema = getIntegrationCassaInCloudWebHookEventsInputSchema
|
|
41
|
-
readonly outputSchema = getIntegrationCassaInCloudWebHookEventsResponseSchema
|
|
42
|
-
readonly querySchema = getIntegrationCassaInCloudWebHookEventsQuerySchema
|
|
43
|
-
readonly headersSchema = undefined
|
|
44
|
-
|
|
45
|
-
private readonly integrationCassaInCloudId: string
|
|
46
|
-
|
|
47
|
-
constructor(
|
|
48
|
-
integrationCassaInCloudId: string,
|
|
49
|
-
options?: { query?: GetIntegrationCassaInCloudWebHookEventsQueryParams },
|
|
50
|
-
) {
|
|
51
|
-
super(undefined, options)
|
|
52
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
getPath(): string {
|
|
56
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/webhook_events`
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
parseResponse(
|
|
60
|
-
data: unknown,
|
|
61
|
-
rawResponse: AxiosResponse,
|
|
62
|
-
): Paginated<IntegrationCassaInCloudWebHookEvent> {
|
|
63
|
-
const integrations = z.array(integrationCassaInCloudWebHookEventSchema).parse(data)
|
|
64
|
-
return this.validateOutput({
|
|
65
|
-
data: integrations,
|
|
66
|
-
pagination: responseToPagination(rawResponse),
|
|
67
|
-
})
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
export const integrationCassaInCloudSyncCustomersInputSchema = z.undefined()
|
|
5
|
-
export const integrationCassaInCloudSyncCustomersResponseSchema = z.undefined()
|
|
6
|
-
|
|
7
|
-
export class IntegrationCassaInCloudSyncCustomers extends AbstractApiRequest<void, void> {
|
|
8
|
-
readonly method = 'POST'
|
|
9
|
-
readonly contentType = 'application/json'
|
|
10
|
-
readonly accept = 'application/json'
|
|
11
|
-
|
|
12
|
-
readonly inputSchema = integrationCassaInCloudSyncCustomersInputSchema
|
|
13
|
-
readonly outputSchema = integrationCassaInCloudSyncCustomersResponseSchema
|
|
14
|
-
readonly querySchema = undefined
|
|
15
|
-
readonly headersSchema = undefined
|
|
16
|
-
|
|
17
|
-
private readonly integrationCassaInCloudId: string
|
|
18
|
-
|
|
19
|
-
constructor(integrationCassaInCloudId: string) {
|
|
20
|
-
super()
|
|
21
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
getPath(): string {
|
|
25
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/customers`
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
export const integrationCassaInCloudSyncOrganizationsInputSchema = z.undefined()
|
|
5
|
-
export const integrationCassaInCloudSyncOrganizationsResponseSchema = z.undefined()
|
|
6
|
-
|
|
7
|
-
export class IntegrationCassaInCloudSyncOrganizations extends AbstractApiRequest<void, void> {
|
|
8
|
-
readonly method = 'POST'
|
|
9
|
-
readonly contentType = 'application/json'
|
|
10
|
-
readonly accept = 'application/json'
|
|
11
|
-
|
|
12
|
-
readonly inputSchema = integrationCassaInCloudSyncOrganizationsInputSchema
|
|
13
|
-
readonly outputSchema = integrationCassaInCloudSyncOrganizationsResponseSchema
|
|
14
|
-
readonly querySchema = undefined
|
|
15
|
-
readonly headersSchema = undefined
|
|
16
|
-
|
|
17
|
-
private readonly integrationCassaInCloudId: string
|
|
18
|
-
|
|
19
|
-
constructor(integrationCassaInCloudId: string) {
|
|
20
|
-
super()
|
|
21
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
getPath(): string {
|
|
25
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/organizations`
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AbstractApiRequest } from '@deliverart/sdk-js-core'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
export const integrationCassaInCloudSyncProductsInputSchema = z.undefined()
|
|
5
|
-
export const integrationCassaInCloudSyncProductsResponseSchema = z.undefined()
|
|
6
|
-
|
|
7
|
-
export class IntegrationCassaInCloudSyncProducts extends AbstractApiRequest<void, void> {
|
|
8
|
-
readonly method = 'POST'
|
|
9
|
-
readonly contentType = 'application/json'
|
|
10
|
-
readonly accept = 'application/json'
|
|
11
|
-
|
|
12
|
-
readonly inputSchema = integrationCassaInCloudSyncProductsInputSchema
|
|
13
|
-
readonly outputSchema = integrationCassaInCloudSyncProductsResponseSchema
|
|
14
|
-
readonly querySchema = undefined
|
|
15
|
-
readonly headersSchema = undefined
|
|
16
|
-
|
|
17
|
-
private readonly integrationCassaInCloudId: string
|
|
18
|
-
|
|
19
|
-
constructor(integrationCassaInCloudId: string) {
|
|
20
|
-
super()
|
|
21
|
-
this.integrationCassaInCloudId = integrationCassaInCloudId
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
getPath(): string {
|
|
25
|
-
return `/integrations/cassa_in_cloud/${this.integrationCassaInCloudId}/sync/products`
|
|
26
|
-
}
|
|
27
|
-
}
|