@wix/auto_sdk_seatings_seating-plan 1.0.2 → 1.0.4
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/build/cjs/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.d.ts +7 -7
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.meta.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.d.ts +9 -9
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.public.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts +9 -111
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts +33 -134
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +3 -1
- package/build/cjs/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.meta.d.ts +7 -7
- package/build/es/src/seating-v1-seating-plan-seating-plan.meta.js.map +1 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.public.d.ts +9 -9
- package/build/es/src/seating-v1-seating-plan-seating-plan.public.js.map +1 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.types.d.ts +9 -111
- package/build/es/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.universal.d.ts +33 -134
- package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js +3 -1
- package/build/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.d.ts +7 -7
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.meta.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.d.ts +9 -9
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.public.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.d.ts +9 -111
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.d.ts +33 -134
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js +3 -1
- package/build/internal/cjs/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.context.d.ts +1 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.d.ts +7 -7
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.meta.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.d.ts +9 -9
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.public.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.d.ts +9 -111
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.types.js.map +1 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.d.ts +33 -134
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js +3 -1
- package/build/internal/es/src/seating-v1-seating-plan-seating-plan.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -20,4 +20,4 @@ export declare const onSeatingPlanDeleted: ReturnType<typeof createEventModule<t
|
|
|
20
20
|
/** */
|
|
21
21
|
export declare const onSeatingPlanUpdated: ReturnType<typeof createEventModule<typeof publicOnSeatingPlanUpdated>>;
|
|
22
22
|
export { Type, PlaceTypeEnumType, ShapeTypeEnumType, Position, Icon, Numbering, SortOrder, Fieldset, WebhookIdentityType, } from './seating-v1-seating-plan-seating-plan.universal.js';
|
|
23
|
-
export { SeatingPlan, Section, Element, Sequencing, Place, ReservationOptions, ElementUiProperties, Image, MultiRowProperties, RowElement, RowElementUiProperties, VerticalSequencing, Category, ExtendedFields, SeatingPlanUiProperties, ElementGroup, ElementGroupUiProperties, CreateSeatingPlanRequest, CreateSeatingPlanResponse, CapacityExceededViolation, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse, CopySeatingPlanRequest, CopySeatingPlanResponse, QuerySeatingPlanRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QuerySeatingPlanResponse, GetSeatingPlanRequest, SeatingPlanMask, GetSeatingPlanResponse, FindSeatingPlanRequest, FindSeatingPlanResponse, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, SaveSeatingPlanVersionRequest, SaveSeatingPlanVersionResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, PagingMetadataV2, Cursors, DiscardSeatingPlanVersionsRequest, DiscardSeatingPlanVersionsResponse, RestoreSeatingPlanRequest, RestoreSeatingPlanResponse, UpdateSeatingPlanThumbnailRequest, SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse,
|
|
23
|
+
export { SeatingPlan, Section, Element, Sequencing, Place, ReservationOptions, ElementUiProperties, Image, MultiRowProperties, RowElement, RowElementUiProperties, VerticalSequencing, Category, ExtendedFields, SeatingPlanUiProperties, ElementGroup, ElementGroupUiProperties, CreateSeatingPlanRequest, CreateSeatingPlanResponse, CapacityExceededViolation, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse, CopySeatingPlanRequest, CopySeatingPlanResponse, QuerySeatingPlanRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QuerySeatingPlanResponse, GetSeatingPlanRequest, SeatingPlanMask, GetSeatingPlanResponse, FindSeatingPlanRequest, FindSeatingPlanResponse, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, SaveSeatingPlanVersionRequest, SaveSeatingPlanVersionResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, PagingMetadataV2, Cursors, DiscardSeatingPlanVersionsRequest, DiscardSeatingPlanVersionsResponse, RestoreSeatingPlanRequest, RestoreSeatingPlanResponse, UpdateSeatingPlanThumbnailRequest, SeatingPlanThumbnail, UpdateSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse, BaseEventMetadata, EventMetadata, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanUpdatedEnvelope, UpdateSeatingPlanOptions, CopySeatingPlanOptions, QuerySeatingPlanOptions, PlansQueryResult, PlansQueryBuilder, GetSeatingPlanOptions, FindSeatingPlanOptions, } from './seating-v1-seating-plan-seating-plan.universal.js';
|
|
@@ -10,16 +10,16 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function createSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CreateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.CreateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CreateSeatingPlanResponse
|
|
14
|
-
export declare function updateSeatingPlan(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.UpdateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.UpdateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.UpdateSeatingPlanResponse
|
|
15
|
-
export declare function copySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CopySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.CopySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CopySeatingPlanResponse
|
|
16
|
-
export declare function querySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.QuerySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.QuerySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.QuerySeatingPlanResponse
|
|
13
|
+
export declare function createSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CreateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.CreateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CreateSeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.CreateSeatingPlanResponse>;
|
|
14
|
+
export declare function updateSeatingPlan(): __PublicMethodMetaInfo<'PUT', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.UpdateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.UpdateSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.UpdateSeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.UpdateSeatingPlanResponse>;
|
|
15
|
+
export declare function copySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CopySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.CopySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.CopySeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.CopySeatingPlanResponse>;
|
|
16
|
+
export declare function querySeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.QuerySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.QuerySeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.QuerySeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.QuerySeatingPlanResponse>;
|
|
17
17
|
export declare function getSeatingPlan(): __PublicMethodMetaInfo<'GET', {
|
|
18
18
|
id: string;
|
|
19
|
-
}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.GetSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.GetSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.GetSeatingPlanResponse
|
|
20
|
-
export declare function findSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.FindSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.FindSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.FindSeatingPlanResponse
|
|
19
|
+
}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.GetSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.GetSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.GetSeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.GetSeatingPlanResponse>;
|
|
20
|
+
export declare function findSeatingPlan(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.FindSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.FindSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.FindSeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.FindSeatingPlanResponse>;
|
|
21
21
|
export declare function deleteSeatingPlan(): __PublicMethodMetaInfo<'DELETE', {
|
|
22
22
|
id: string;
|
|
23
|
-
}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.DeleteSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.DeleteSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.DeleteSeatingPlanResponse
|
|
23
|
+
}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.DeleteSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanTypes.DeleteSeatingPlanRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.DeleteSeatingPlanResponse, ambassadorWixSeatingV1SeatingPlanTypes.DeleteSeatingPlanResponse>;
|
|
24
24
|
export declare function updateSeatingPlanThumbnail(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.UpdateSeatingPlanThumbnailRequest, ambassadorWixSeatingV1SeatingPlanTypes.UpdateSeatingPlanThumbnailRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.UpdateSeatingPlanThumbnailResponse, ambassadorWixSeatingV1SeatingPlanTypes.UpdateSeatingPlanThumbnailResponse>;
|
|
25
25
|
export declare function getSeatingPlanThumbnail(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixSeatingV1SeatingPlanUniversalTypes.GetSeatingPlanThumbnailRequest, ambassadorWixSeatingV1SeatingPlanTypes.GetSeatingPlanThumbnailRequest, ambassadorWixSeatingV1SeatingPlanUniversalTypes.GetSeatingPlanThumbnailResponse, ambassadorWixSeatingV1SeatingPlanTypes.GetSeatingPlanThumbnailResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seating-v1-seating-plan-seating-plan.meta.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-plan-seating-plan.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kHAAoG;AAsBpG,SAAgB,iBAAiB;
|
|
1
|
+
{"version":3,"file":"seating-v1-seating-plan-seating-plan.meta.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-plan-seating-plan.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kHAAoG;AAsBpG,SAAgB,iBAAiB;IAQ/B,MAAM,OAAO,GAAG,EAA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ponse,
|
|
2
|
+
import { CopySeatingPlanOptions, CopySeatingPlanResponse, DeleteSeatingPlanResponse, FindSeatingPlanOptions, FindSeatingPlanResponse, GetSeatingPlanOptions, GetSeatingPlanThumbnailResponse, PlansQueryBuilder, QuerySeatingPlanOptions, SeatingPlan, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanThumbnail, SeatingPlanUpdatedEnvelope, UpdateSeatingPlanOptions, UpdateSeatingPlanThumbnailResponse } from './seating-v1-seating-plan-seating-plan.universal.js';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
@@ -10,7 +10,7 @@ interface CreateSeatingPlanSignature {
|
|
|
10
10
|
* @param - A plan to be created
|
|
11
11
|
* @returns The created plan
|
|
12
12
|
*/
|
|
13
|
-
(plan: SeatingPlan): Promise<SeatingPlan
|
|
13
|
+
(plan: SeatingPlan): Promise<SeatingPlan>;
|
|
14
14
|
}
|
|
15
15
|
export declare function updateSeatingPlan(httpClient: HttpClient): UpdateSeatingPlanSignature;
|
|
16
16
|
interface UpdateSeatingPlanSignature {
|
|
@@ -18,7 +18,7 @@ interface UpdateSeatingPlanSignature {
|
|
|
18
18
|
* Updates the seating plan
|
|
19
19
|
* @returns The updated plan
|
|
20
20
|
*/
|
|
21
|
-
(options?: UpdateSeatingPlanOptions | undefined): Promise<SeatingPlan
|
|
21
|
+
(options?: UpdateSeatingPlanOptions | undefined): Promise<SeatingPlan>;
|
|
22
22
|
}
|
|
23
23
|
export declare function copySeatingPlan(httpClient: HttpClient): CopySeatingPlanSignature;
|
|
24
24
|
interface CopySeatingPlanSignature {
|
|
@@ -26,7 +26,7 @@ interface CopySeatingPlanSignature {
|
|
|
26
26
|
* Copies the seating plan
|
|
27
27
|
* @param - The id of the plan to be copied
|
|
28
28
|
*/
|
|
29
|
-
(_id: string
|
|
29
|
+
(_id: string, options: CopySeatingPlanOptions): Promise<CopySeatingPlanResponse>;
|
|
30
30
|
}
|
|
31
31
|
export declare function querySeatingPlan(httpClient: HttpClient): QuerySeatingPlanSignature;
|
|
32
32
|
interface QuerySeatingPlanSignature {
|
|
@@ -42,7 +42,7 @@ interface GetSeatingPlanSignature {
|
|
|
42
42
|
* @param - The id of the plan
|
|
43
43
|
* @returns The plan
|
|
44
44
|
*/
|
|
45
|
-
(_id: string
|
|
45
|
+
(_id: string, options?: GetSeatingPlanOptions | undefined): Promise<SeatingPlan>;
|
|
46
46
|
}
|
|
47
47
|
export declare function findSeatingPlan(httpClient: HttpClient): FindSeatingPlanSignature;
|
|
48
48
|
interface FindSeatingPlanSignature {
|
|
@@ -50,7 +50,7 @@ interface FindSeatingPlanSignature {
|
|
|
50
50
|
* Returns the first seating plan found by filter request.
|
|
51
51
|
* @param - The filter of the plan
|
|
52
52
|
*/
|
|
53
|
-
(filter: Record<string, any
|
|
53
|
+
(filter: Record<string, any>, options?: FindSeatingPlanOptions | undefined): Promise<FindSeatingPlanResponse>;
|
|
54
54
|
}
|
|
55
55
|
export declare function deleteSeatingPlan(httpClient: HttpClient): DeleteSeatingPlanSignature;
|
|
56
56
|
interface DeleteSeatingPlanSignature {
|
|
@@ -58,7 +58,7 @@ interface DeleteSeatingPlanSignature {
|
|
|
58
58
|
* Deletes the seating plan.
|
|
59
59
|
* @param - The id of the plan
|
|
60
60
|
*/
|
|
61
|
-
(_id: string
|
|
61
|
+
(_id: string): Promise<DeleteSeatingPlanResponse>;
|
|
62
62
|
}
|
|
63
63
|
export declare function updateSeatingPlanThumbnail(httpClient: HttpClient): UpdateSeatingPlanThumbnailSignature;
|
|
64
64
|
interface UpdateSeatingPlanThumbnailSignature {
|
|
@@ -72,9 +72,9 @@ interface GetSeatingPlanThumbnailSignature {
|
|
|
72
72
|
/**
|
|
73
73
|
* Get seating plan thumbnail.
|
|
74
74
|
*/
|
|
75
|
-
(_id: string
|
|
75
|
+
(_id: string): Promise<GetSeatingPlanThumbnailResponse>;
|
|
76
76
|
}
|
|
77
77
|
export declare const onSeatingPlanCreated: EventDefinition<SeatingPlanCreatedEnvelope, "wix.seating.v1.seating_plan_created">;
|
|
78
78
|
export declare const onSeatingPlanDeleted: EventDefinition<SeatingPlanDeletedEnvelope, "wix.seating.v1.seating_plan_deleted">;
|
|
79
79
|
export declare const onSeatingPlanUpdated: EventDefinition<SeatingPlanUpdatedEnvelope, "wix.seating.v1.seating_plan_updated">;
|
|
80
|
-
export { ActionEvent, BaseEventMetadata, CapacityExceededViolation, Category, CopySeatingPlanOptions, CopySeatingPlanRequest, CopySeatingPlanResponse,
|
|
80
|
+
export { ActionEvent, BaseEventMetadata, CapacityExceededViolation, Category, CopySeatingPlanOptions, CopySeatingPlanRequest, CopySeatingPlanResponse, CreateSeatingPlanRequest, CreateSeatingPlanResponse, CursorPaging, Cursors, DeleteSeatingPlanRequest, DeleteSeatingPlanResponse, DiscardSeatingPlanVersionsRequest, DiscardSeatingPlanVersionsResponse, DomainEvent, DomainEventBodyOneOf, Element, ElementGroup, ElementGroupUiProperties, ElementUiProperties, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Fieldset, FindSeatingPlanOptions, FindSeatingPlanRequest, FindSeatingPlanResponse, GetSeatingPlanOptions, GetSeatingPlanRequest, GetSeatingPlanResponse, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailResponse, Icon, IdentificationData, IdentificationDataIdOneOf, Image, MessageEnvelope, MultiRowProperties, Numbering, Paging, PagingMetadataV2, Place, PlaceTypeEnumType, PlansQueryBuilder, PlansQueryResult, Position, QuerySeatingPlanOptions, QuerySeatingPlanRequest, QuerySeatingPlanResponse, QuerySeatingPlanVersionsRequest, QuerySeatingPlanVersionsResponse, QueryV2, QueryV2PagingMethodOneOf, ReservationOptions, RestoreInfo, RestoreSeatingPlanRequest, RestoreSeatingPlanResponse, RowElement, RowElementUiProperties, SaveSeatingPlanVersionRequest, SaveSeatingPlanVersionResponse, SeatingPlan, SeatingPlanCreatedEnvelope, SeatingPlanDeletedEnvelope, SeatingPlanMask, SeatingPlanThumbnail, SeatingPlanUiProperties, SeatingPlanUpdatedEnvelope, Section, Sequencing, ShapeTypeEnumType, SortOrder, Sorting, Type, UpdateSeatingPlanOptions, UpdateSeatingPlanRequest, UpdateSeatingPlanResponse, UpdateSeatingPlanThumbnailRequest, UpdateSeatingPlanThumbnailResponse, VerticalSequencing, WebhookIdentityType, } from './seating-v1-seating-plan-seating-plan.universal.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seating-v1-seating-plan-seating-plan.public.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-plan-seating-plan.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,
|
|
1
|
+
{"version":3,"file":"seating-v1-seating-plan-seating-plan.public.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-plan-seating-plan.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,kEAAsF;AACtF,0EAAkG;AAClG,sFAAkF;AAClF,8CAA+E;AAC/E,2HA0B6D;AAEhD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,iBAAiB,CAC/B,UAAsB;IAEtB,OAAO,CACL,IAGC,EACD,EAAE,CACF,IAAA,qEAA0B,EACxB,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAdD,8CAcC;AAWD,SAAgB,iBAAiB,CAC/B,UAAsB;IAEtB,OAAO,CACL,OAGC,EACD,EAAE,CACF,IAAA,qEAA0B,EACxB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAdD,8CAcC;AAUD,SAAgB,eAAe,CAC7B,UAAsB;IAEtB,OAAO,CACL,GAAW,EACX,OAAyE,EACzE,EAAE,CACF,IAAA,mEAAwB,EACtB,GAAG,EACH,OAAO;IACP,aAAa;IAC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AAE,6CAA6C,EAAE;YACvD,EAAE,IAAI,EAAE,8CAA8C,EAAE;YACxD,EAAE,IAAI,EAAE,qDAAqD,EAAE;YAC/D;gBACE,IAAI,EAAE,0DAA0D;aACjE;YACD;gBACE,IAAI,EAAE,4DAA4D;aACnE;YACD;gBACE,IAAI,EAAE,yEAAyE;aAChF;YACD;gBACE,IAAI,EAAE,qEAAqE;aAC5E;YACD;gBACE,IAAI,EAAE,8EAA8E;aACrF;YACD;gBACE,IAAI,EAAE,4EAA4E;aACnF;YACD,EAAE,IAAI,EAAE,qCAAqC,EAAE;YAC/C,EAAE,IAAI,EAAE,qCAAqC,EAAE;YAC/C,EAAE,IAAI,EAAE,yCAAyC,EAAE;YACnD,EAAE,IAAI,EAAE,0CAA0C,EAAE;YACpD,EAAE,IAAI,EAAE,iDAAiD,EAAE;SAC5D;KACF;CACF,CAAC,CACH,CACJ,EAA8B,CAAC;AAEhC,yHAqF6D;AA1D3D,6IAAA,QAAQ,OAAA;AASR,yIAAA,IAAI,OAAA;AAMJ,8IAAA,SAAS,OAAA;AAIT,sJAAA,iBAAiB,OAAA;AAGjB,6IAAA,QAAQ,OAAA;AAyBR,sJAAA,iBAAiB,OAAA;AACjB,8IAAA,SAAS,OAAA;AAET,yIAAA,IAAI,OAAA;AAOJ,wJAAA,mBAAmB,OAAA"}
|
|
@@ -726,25 +726,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
726
726
|
updatedEvent?: EntityUpdatedEvent;
|
|
727
727
|
deletedEvent?: EntityDeletedEvent;
|
|
728
728
|
actionEvent?: ActionEvent;
|
|
729
|
-
/**
|
|
730
|
-
* Unique event ID.
|
|
731
|
-
* Allows clients to ignore duplicate webhooks.
|
|
732
|
-
*/
|
|
729
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
733
730
|
id?: string;
|
|
734
731
|
/**
|
|
735
|
-
*
|
|
736
|
-
*
|
|
732
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
733
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
737
734
|
*/
|
|
738
735
|
entityFqdn?: string;
|
|
739
736
|
/**
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
737
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
738
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
743
739
|
*/
|
|
744
740
|
slug?: string;
|
|
745
741
|
/** ID of the entity associated with the event. */
|
|
746
742
|
entityId?: string;
|
|
747
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
743
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
748
744
|
eventTime?: Date | null;
|
|
749
745
|
/**
|
|
750
746
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -754,12 +750,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
754
750
|
/** If present, indicates the action that triggered the event. */
|
|
755
751
|
originatedFrom?: string | null;
|
|
756
752
|
/**
|
|
757
|
-
* A sequence number
|
|
758
|
-
*
|
|
759
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
760
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
761
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
762
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
753
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
754
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
763
755
|
*/
|
|
764
756
|
entityEventSequence?: string | null;
|
|
765
757
|
}
|
|
@@ -787,7 +779,7 @@ export interface EntityUpdatedEvent {
|
|
|
787
779
|
currentEntityAsJson?: string;
|
|
788
780
|
}
|
|
789
781
|
export interface EntityDeletedEvent {
|
|
790
|
-
/** Entity that was deleted */
|
|
782
|
+
/** Entity that was deleted. */
|
|
791
783
|
deletedEntityAsJson?: string | null;
|
|
792
784
|
}
|
|
793
785
|
export interface ActionEvent {
|
|
@@ -966,97 +958,3 @@ export interface GetSeatingPlanThumbnailRequest {
|
|
|
966
958
|
export interface GetSeatingPlanThumbnailResponse {
|
|
967
959
|
thumbnail?: SeatingPlanThumbnail;
|
|
968
960
|
}
|
|
969
|
-
interface SequencingNonNullableFields {
|
|
970
|
-
startAt: string;
|
|
971
|
-
labels: string[];
|
|
972
|
-
}
|
|
973
|
-
interface PlaceNonNullableFields {
|
|
974
|
-
index: number;
|
|
975
|
-
label: string;
|
|
976
|
-
elementType: Type;
|
|
977
|
-
type: PlaceTypeEnumType;
|
|
978
|
-
}
|
|
979
|
-
interface ReservationOptionsNonNullableFields {
|
|
980
|
-
reserveWholeElement: boolean;
|
|
981
|
-
}
|
|
982
|
-
interface ImageNonNullableFields {
|
|
983
|
-
id: string;
|
|
984
|
-
height: number;
|
|
985
|
-
width: number;
|
|
986
|
-
}
|
|
987
|
-
interface ElementUiPropertiesNonNullableFields {
|
|
988
|
-
shapeType: ShapeTypeEnumType;
|
|
989
|
-
labelPosition: Position;
|
|
990
|
-
seatLayout: number[];
|
|
991
|
-
icon: Icon;
|
|
992
|
-
image?: ImageNonNullableFields;
|
|
993
|
-
seatNumbering: Numbering;
|
|
994
|
-
}
|
|
995
|
-
interface RowElementUiPropertiesNonNullableFields {
|
|
996
|
-
labelPosition: Position;
|
|
997
|
-
seatNumbering: Numbering;
|
|
998
|
-
}
|
|
999
|
-
interface RowElementNonNullableFields {
|
|
1000
|
-
id: number;
|
|
1001
|
-
sequencing?: SequencingNonNullableFields;
|
|
1002
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields;
|
|
1003
|
-
}
|
|
1004
|
-
interface VerticalSequencingNonNullableFields {
|
|
1005
|
-
startAt: string;
|
|
1006
|
-
rowNumbering: Numbering;
|
|
1007
|
-
}
|
|
1008
|
-
interface MultiRowPropertiesNonNullableFields {
|
|
1009
|
-
rows: RowElementNonNullableFields[];
|
|
1010
|
-
verticalSequencing?: VerticalSequencingNonNullableFields;
|
|
1011
|
-
}
|
|
1012
|
-
interface ElementNonNullableFields {
|
|
1013
|
-
id: number;
|
|
1014
|
-
type: Type;
|
|
1015
|
-
sequencing?: SequencingNonNullableFields;
|
|
1016
|
-
overrides: PlaceNonNullableFields[];
|
|
1017
|
-
places: PlaceNonNullableFields[];
|
|
1018
|
-
reservationOptions?: ReservationOptionsNonNullableFields;
|
|
1019
|
-
uiProperties?: ElementUiPropertiesNonNullableFields;
|
|
1020
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields;
|
|
1021
|
-
}
|
|
1022
|
-
interface SectionNonNullableFields {
|
|
1023
|
-
id: number;
|
|
1024
|
-
elements: ElementNonNullableFields[];
|
|
1025
|
-
default: boolean;
|
|
1026
|
-
}
|
|
1027
|
-
interface CategoryNonNullableFields {
|
|
1028
|
-
id: number;
|
|
1029
|
-
title: string;
|
|
1030
|
-
places: PlaceNonNullableFields[];
|
|
1031
|
-
}
|
|
1032
|
-
interface ElementGroupNonNullableFields {
|
|
1033
|
-
id: number;
|
|
1034
|
-
}
|
|
1035
|
-
interface SeatingPlanNonNullableFields {
|
|
1036
|
-
sections: SectionNonNullableFields[];
|
|
1037
|
-
categories: CategoryNonNullableFields[];
|
|
1038
|
-
uncategorizedPlaces: PlaceNonNullableFields[];
|
|
1039
|
-
elementGroups: ElementGroupNonNullableFields[];
|
|
1040
|
-
}
|
|
1041
|
-
export interface CreateSeatingPlanResponseNonNullableFields {
|
|
1042
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1043
|
-
}
|
|
1044
|
-
export interface UpdateSeatingPlanResponseNonNullableFields {
|
|
1045
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1046
|
-
}
|
|
1047
|
-
export interface CopySeatingPlanResponseNonNullableFields {
|
|
1048
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1049
|
-
}
|
|
1050
|
-
export interface QuerySeatingPlanResponseNonNullableFields {
|
|
1051
|
-
plans: SeatingPlanNonNullableFields[];
|
|
1052
|
-
}
|
|
1053
|
-
export interface GetSeatingPlanResponseNonNullableFields {
|
|
1054
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1055
|
-
}
|
|
1056
|
-
export interface FindSeatingPlanResponseNonNullableFields {
|
|
1057
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1058
|
-
}
|
|
1059
|
-
export interface DeleteSeatingPlanResponseNonNullableFields {
|
|
1060
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1061
|
-
}
|
|
1062
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seating-v1-seating-plan-seating-plan.types.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-plan-seating-plan.types.ts"],"names":[],"mappings":";;;AAqJA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,+BAAuB,CAAA;IACvB,uBAAe,CAAA;IACf,mCAA2B,CAAA;IAC3B,uBAAe,CAAA;AACjB,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAmDD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,8CAAyB,CAAA;IACzB,4CAAuB,CAAA;IACvB,8CAAyB,CAAA;IACzB,0CAAqB,CAAA;AACvB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAoFD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,kCAAa,CAAA;IACb,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,oCAAe,CAAA;AACjB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAED,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,yBAAa,CAAA;AACf,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB;AAED,IAAY,IAcX;AAdD,WAAY,IAAI;IACd,qCAA6B,CAAA;IAC7B,uBAAe,CAAA;IACf,qBAAa,CAAA;IACb,yBAAiB,CAAA;IACjB,iBAAS,CAAA;IACT,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,qBAAa,CAAA;IACb,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,2BAAmB,CAAA;IACnB,+BAAuB,CAAA;IACvB,uBAAe,CAAA;AACjB,CAAC,EAdW,IAAI,oBAAJ,IAAI,QAcf;AAsBD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;AAC/B,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA6SD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAyBD,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,6CAAiC,CAAA;AACnC,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB;
|
|
1
|
+
{"version":3,"file":"seating-v1-seating-plan-seating-plan.types.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-plan-seating-plan.types.ts"],"names":[],"mappings":";;;AAqJA,IAAY,IAOX;AAPD,WAAY,IA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rB,0CAA6B,CAAA;AAC/B,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA6SD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAyBD,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,6CAAiC,CAAA;AACnC,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB;AAqND,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface SeatingPlan {
|
|
2
3
|
/**
|
|
3
4
|
* Auto generated unique plan id
|
|
@@ -726,25 +727,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
726
727
|
updatedEvent?: EntityUpdatedEvent;
|
|
727
728
|
deletedEvent?: EntityDeletedEvent;
|
|
728
729
|
actionEvent?: ActionEvent;
|
|
729
|
-
/**
|
|
730
|
-
* Unique event ID.
|
|
731
|
-
* Allows clients to ignore duplicate webhooks.
|
|
732
|
-
*/
|
|
730
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
733
731
|
_id?: string;
|
|
734
732
|
/**
|
|
735
|
-
*
|
|
736
|
-
*
|
|
733
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
734
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
737
735
|
*/
|
|
738
736
|
entityFqdn?: string;
|
|
739
737
|
/**
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
738
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
739
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
743
740
|
*/
|
|
744
741
|
slug?: string;
|
|
745
742
|
/** ID of the entity associated with the event. */
|
|
746
743
|
entityId?: string;
|
|
747
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
744
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
748
745
|
eventTime?: Date | null;
|
|
749
746
|
/**
|
|
750
747
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -754,12 +751,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
754
751
|
/** If present, indicates the action that triggered the event. */
|
|
755
752
|
originatedFrom?: string | null;
|
|
756
753
|
/**
|
|
757
|
-
* A sequence number
|
|
758
|
-
*
|
|
759
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
760
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
761
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
762
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
754
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
755
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
763
756
|
*/
|
|
764
757
|
entityEventSequence?: string | null;
|
|
765
758
|
}
|
|
@@ -785,7 +778,7 @@ export interface EntityUpdatedEvent {
|
|
|
785
778
|
currentEntity?: string;
|
|
786
779
|
}
|
|
787
780
|
export interface EntityDeletedEvent {
|
|
788
|
-
/** Entity that was deleted */
|
|
781
|
+
/** Entity that was deleted. */
|
|
789
782
|
deletedEntity?: string | null;
|
|
790
783
|
}
|
|
791
784
|
export interface ActionEvent {
|
|
@@ -964,99 +957,6 @@ export interface GetSeatingPlanThumbnailRequest {
|
|
|
964
957
|
export interface GetSeatingPlanThumbnailResponse {
|
|
965
958
|
thumbnail?: SeatingPlanThumbnail;
|
|
966
959
|
}
|
|
967
|
-
interface SequencingNonNullableFields {
|
|
968
|
-
startAt: string;
|
|
969
|
-
labels: string[];
|
|
970
|
-
}
|
|
971
|
-
interface PlaceNonNullableFields {
|
|
972
|
-
index: number;
|
|
973
|
-
label: string;
|
|
974
|
-
elementType: Type;
|
|
975
|
-
type: PlaceTypeEnumType;
|
|
976
|
-
}
|
|
977
|
-
interface ReservationOptionsNonNullableFields {
|
|
978
|
-
reserveWholeElement: boolean;
|
|
979
|
-
}
|
|
980
|
-
interface ImageNonNullableFields {
|
|
981
|
-
_id: string;
|
|
982
|
-
height: number;
|
|
983
|
-
width: number;
|
|
984
|
-
}
|
|
985
|
-
interface ElementUiPropertiesNonNullableFields {
|
|
986
|
-
shapeType: ShapeTypeEnumType;
|
|
987
|
-
labelPosition: Position;
|
|
988
|
-
seatLayout: number[];
|
|
989
|
-
icon: Icon;
|
|
990
|
-
image?: ImageNonNullableFields;
|
|
991
|
-
seatNumbering: Numbering;
|
|
992
|
-
}
|
|
993
|
-
interface RowElementUiPropertiesNonNullableFields {
|
|
994
|
-
labelPosition: Position;
|
|
995
|
-
seatNumbering: Numbering;
|
|
996
|
-
}
|
|
997
|
-
interface RowElementNonNullableFields {
|
|
998
|
-
_id: number;
|
|
999
|
-
sequencing?: SequencingNonNullableFields;
|
|
1000
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields;
|
|
1001
|
-
}
|
|
1002
|
-
interface VerticalSequencingNonNullableFields {
|
|
1003
|
-
startAt: string;
|
|
1004
|
-
rowNumbering: Numbering;
|
|
1005
|
-
}
|
|
1006
|
-
interface MultiRowPropertiesNonNullableFields {
|
|
1007
|
-
rows: RowElementNonNullableFields[];
|
|
1008
|
-
verticalSequencing?: VerticalSequencingNonNullableFields;
|
|
1009
|
-
}
|
|
1010
|
-
interface ElementNonNullableFields {
|
|
1011
|
-
_id: number;
|
|
1012
|
-
type: Type;
|
|
1013
|
-
sequencing?: SequencingNonNullableFields;
|
|
1014
|
-
overrides: PlaceNonNullableFields[];
|
|
1015
|
-
places: PlaceNonNullableFields[];
|
|
1016
|
-
reservationOptions?: ReservationOptionsNonNullableFields;
|
|
1017
|
-
uiProperties?: ElementUiPropertiesNonNullableFields;
|
|
1018
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields;
|
|
1019
|
-
}
|
|
1020
|
-
interface SectionNonNullableFields {
|
|
1021
|
-
_id: number;
|
|
1022
|
-
elements: ElementNonNullableFields[];
|
|
1023
|
-
default: boolean;
|
|
1024
|
-
}
|
|
1025
|
-
interface CategoryNonNullableFields {
|
|
1026
|
-
_id: number;
|
|
1027
|
-
title: string;
|
|
1028
|
-
places: PlaceNonNullableFields[];
|
|
1029
|
-
}
|
|
1030
|
-
interface ElementGroupNonNullableFields {
|
|
1031
|
-
_id: number;
|
|
1032
|
-
}
|
|
1033
|
-
export interface SeatingPlanNonNullableFields {
|
|
1034
|
-
sections: SectionNonNullableFields[];
|
|
1035
|
-
categories: CategoryNonNullableFields[];
|
|
1036
|
-
uncategorizedPlaces: PlaceNonNullableFields[];
|
|
1037
|
-
elementGroups: ElementGroupNonNullableFields[];
|
|
1038
|
-
}
|
|
1039
|
-
export interface CreateSeatingPlanResponseNonNullableFields {
|
|
1040
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1041
|
-
}
|
|
1042
|
-
export interface UpdateSeatingPlanResponseNonNullableFields {
|
|
1043
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1044
|
-
}
|
|
1045
|
-
export interface CopySeatingPlanResponseNonNullableFields {
|
|
1046
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1047
|
-
}
|
|
1048
|
-
export interface QuerySeatingPlanResponseNonNullableFields {
|
|
1049
|
-
plans: SeatingPlanNonNullableFields[];
|
|
1050
|
-
}
|
|
1051
|
-
export interface GetSeatingPlanResponseNonNullableFields {
|
|
1052
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1053
|
-
}
|
|
1054
|
-
export interface FindSeatingPlanResponseNonNullableFields {
|
|
1055
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1056
|
-
}
|
|
1057
|
-
export interface DeleteSeatingPlanResponseNonNullableFields {
|
|
1058
|
-
plan?: SeatingPlanNonNullableFields;
|
|
1059
|
-
}
|
|
1060
960
|
export interface BaseEventMetadata {
|
|
1061
961
|
/**
|
|
1062
962
|
* App instance ID.
|
|
@@ -1072,25 +972,21 @@ export interface BaseEventMetadata {
|
|
|
1072
972
|
identity?: IdentificationData;
|
|
1073
973
|
}
|
|
1074
974
|
export interface EventMetadata extends BaseEventMetadata {
|
|
1075
|
-
/**
|
|
1076
|
-
* Unique event ID.
|
|
1077
|
-
* Allows clients to ignore duplicate webhooks.
|
|
1078
|
-
*/
|
|
975
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
1079
976
|
_id?: string;
|
|
1080
977
|
/**
|
|
1081
|
-
*
|
|
1082
|
-
*
|
|
978
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
979
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1083
980
|
*/
|
|
1084
981
|
entityFqdn?: string;
|
|
1085
982
|
/**
|
|
1086
|
-
*
|
|
1087
|
-
*
|
|
1088
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
983
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
984
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1089
985
|
*/
|
|
1090
986
|
slug?: string;
|
|
1091
987
|
/** ID of the entity associated with the event. */
|
|
1092
988
|
entityId?: string;
|
|
1093
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
989
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
1094
990
|
eventTime?: Date | null;
|
|
1095
991
|
/**
|
|
1096
992
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1100,12 +996,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
1100
996
|
/** If present, indicates the action that triggered the event. */
|
|
1101
997
|
originatedFrom?: string | null;
|
|
1102
998
|
/**
|
|
1103
|
-
* A sequence number
|
|
1104
|
-
*
|
|
1105
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1106
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1107
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1108
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
999
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
1000
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1109
1001
|
*/
|
|
1110
1002
|
entityEventSequence?: string | null;
|
|
1111
1003
|
}
|
|
@@ -1148,6 +1040,7 @@ export interface SeatingPlanUpdatedEnvelope {
|
|
|
1148
1040
|
* @documentationMaturity preview
|
|
1149
1041
|
*/
|
|
1150
1042
|
export declare function onSeatingPlanUpdated(handler: (event: SeatingPlanUpdatedEnvelope) => void | Promise<void>): void;
|
|
1043
|
+
type SeatingPlanNonNullablePaths = `sections` | `sections.${number}._id` | `sections.${number}.default` | `categories` | `categories.${number}._id` | `categories.${number}.title` | `uncategorizedPlaces` | `uncategorizedPlaces.${number}.index` | `uncategorizedPlaces.${number}.label` | `uncategorizedPlaces.${number}.elementType` | `uncategorizedPlaces.${number}.type` | `elementGroups` | `elementGroups.${number}._id`;
|
|
1151
1044
|
/**
|
|
1152
1045
|
* Crates a seating plan
|
|
1153
1046
|
* @param plan - A plan to be created
|
|
@@ -1163,7 +1056,7 @@ export declare function onSeatingPlanUpdated(handler: (event: SeatingPlanUpdated
|
|
|
1163
1056
|
* @returns The created plan
|
|
1164
1057
|
* @fqn com.wixpress.seating.SeatingPlanManagement.CreateSeatingPlan
|
|
1165
1058
|
*/
|
|
1166
|
-
export declare function createSeatingPlan(plan: SeatingPlan): Promise<SeatingPlan
|
|
1059
|
+
export declare function createSeatingPlan(plan: NonNullablePaths<SeatingPlan, `sections.${number}.elements.${number}.title` | `title`>): Promise<NonNullablePaths<SeatingPlan, SeatingPlanNonNullablePaths>>;
|
|
1167
1060
|
/**
|
|
1168
1061
|
* Updates the seating plan
|
|
1169
1062
|
* @public
|
|
@@ -1177,7 +1070,7 @@ export declare function createSeatingPlan(plan: SeatingPlan): Promise<SeatingPla
|
|
|
1177
1070
|
* @returns The updated plan
|
|
1178
1071
|
* @fqn com.wixpress.seating.SeatingPlanManagement.UpdateSeatingPlan
|
|
1179
1072
|
*/
|
|
1180
|
-
export declare function updateSeatingPlan(options?: UpdateSeatingPlanOptions): Promise<SeatingPlan
|
|
1073
|
+
export declare function updateSeatingPlan(options?: NonNullablePaths<UpdateSeatingPlanOptions, `plan._id` | `plan.sections.${number}.elements.${number}.title`>): Promise<NonNullablePaths<SeatingPlan, SeatingPlanNonNullablePaths>>;
|
|
1181
1074
|
export interface UpdateSeatingPlanOptions {
|
|
1182
1075
|
/** The plan updates */
|
|
1183
1076
|
plan?: SeatingPlan;
|
|
@@ -1199,7 +1092,9 @@ export interface UpdateSeatingPlanOptions {
|
|
|
1199
1092
|
* @applicableIdentity APP
|
|
1200
1093
|
* @fqn com.wixpress.seating.SeatingPlanManagement.CopySeatingPlan
|
|
1201
1094
|
*/
|
|
1202
|
-
export declare function copySeatingPlan(_id: string
|
|
1095
|
+
export declare function copySeatingPlan(_id: string, options: NonNullablePaths<CopySeatingPlanOptions, `externalId` | `title`>): Promise<NonNullablePaths<CopySeatingPlanResponse, {
|
|
1096
|
+
[P in SeatingPlanNonNullablePaths]: `plan.${P}`;
|
|
1097
|
+
}[SeatingPlanNonNullablePaths]>>;
|
|
1203
1098
|
export interface CopySeatingPlanOptions {
|
|
1204
1099
|
/**
|
|
1205
1100
|
* New plan title
|
|
@@ -1269,7 +1164,7 @@ export interface PlansQueryBuilder {
|
|
|
1269
1164
|
* @returns The plan
|
|
1270
1165
|
* @fqn com.wixpress.seating.SeatingPlanManagement.GetSeatingPlan
|
|
1271
1166
|
*/
|
|
1272
|
-
export declare function getSeatingPlan(_id: string
|
|
1167
|
+
export declare function getSeatingPlan(_id: string, options?: GetSeatingPlanOptions): Promise<NonNullablePaths<SeatingPlan, SeatingPlanNonNullablePaths>>;
|
|
1273
1168
|
export interface GetSeatingPlanOptions {
|
|
1274
1169
|
/**
|
|
1275
1170
|
* A fieldset for the response
|
|
@@ -1297,7 +1192,9 @@ export interface GetSeatingPlanOptions {
|
|
|
1297
1192
|
* @applicableIdentity VISITOR
|
|
1298
1193
|
* @fqn com.wixpress.seating.SeatingPlanManagement.FindSeatingPlan
|
|
1299
1194
|
*/
|
|
1300
|
-
export declare function findSeatingPlan(filter: Record<string, any
|
|
1195
|
+
export declare function findSeatingPlan(filter: Record<string, any>, options?: FindSeatingPlanOptions): Promise<NonNullablePaths<FindSeatingPlanResponse, {
|
|
1196
|
+
[P in SeatingPlanNonNullablePaths]: `plan.${P}`;
|
|
1197
|
+
}[SeatingPlanNonNullablePaths]>>;
|
|
1301
1198
|
export interface FindSeatingPlanOptions {
|
|
1302
1199
|
/**
|
|
1303
1200
|
* A fieldset for the response
|
|
@@ -1324,7 +1221,9 @@ export interface FindSeatingPlanOptions {
|
|
|
1324
1221
|
* @applicableIdentity APP
|
|
1325
1222
|
* @fqn com.wixpress.seating.SeatingPlanManagement.DeleteSeatingPlan
|
|
1326
1223
|
*/
|
|
1327
|
-
export declare function deleteSeatingPlan(_id: string
|
|
1224
|
+
export declare function deleteSeatingPlan(_id: string): Promise<NonNullablePaths<DeleteSeatingPlanResponse, {
|
|
1225
|
+
[P in SeatingPlanNonNullablePaths]: `plan.${P}`;
|
|
1226
|
+
}[SeatingPlanNonNullablePaths]>>;
|
|
1328
1227
|
/**
|
|
1329
1228
|
* Updates seating plan thumbnail.
|
|
1330
1229
|
* @public
|
|
@@ -1338,7 +1237,7 @@ export declare function deleteSeatingPlan(_id: string | null): Promise<DeleteSea
|
|
|
1338
1237
|
* @applicableIdentity APP
|
|
1339
1238
|
* @fqn com.wixpress.seating.SeatingPlanThumbnailService.UpdateSeatingPlanThumbnail
|
|
1340
1239
|
*/
|
|
1341
|
-
export declare function updateSeatingPlanThumbnail(thumbnail: SeatingPlanThumbnail): Promise<UpdateSeatingPlanThumbnailResponse>;
|
|
1240
|
+
export declare function updateSeatingPlanThumbnail(thumbnail: NonNullablePaths<SeatingPlanThumbnail, `_id` | `img`>): Promise<UpdateSeatingPlanThumbnailResponse>;
|
|
1342
1241
|
/**
|
|
1343
1242
|
* Get seating plan thumbnail.
|
|
1344
1243
|
* @public
|
|
@@ -1350,5 +1249,5 @@ export declare function updateSeatingPlanThumbnail(thumbnail: SeatingPlanThumbna
|
|
|
1350
1249
|
* @applicableIdentity APP
|
|
1351
1250
|
* @fqn com.wixpress.seating.SeatingPlanThumbnailService.GetSeatingPlanThumbnail
|
|
1352
1251
|
*/
|
|
1353
|
-
export declare function getSeatingPlanThumbnail(_id: string
|
|
1252
|
+
export declare function getSeatingPlanThumbnail(_id: string): Promise<GetSeatingPlanThumbnailResponse>;
|
|
1354
1253
|
export {};
|