@wix/auto_sdk_calendar_participations 1.0.42 → 1.0.43
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/index.d.ts +2 -2
- package/build/cjs/index.js +0 -110
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1377 -5
- package/build/cjs/index.typings.js +0 -102
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -4
- package/build/cjs/meta.js +0 -93
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +0 -109
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1377 -5
- package/build/es/index.typings.mjs +0 -101
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -4
- package/build/es/meta.mjs +0 -92
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -14
- package/build/internal/cjs/index.js +0 -110
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1374 -14
- package/build/internal/cjs/index.typings.js +0 -102
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +3 -4
- package/build/internal/cjs/meta.js +0 -93
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -14
- package/build/internal/es/index.mjs +0 -109
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1374 -14
- package/build/internal/es/index.typings.mjs +0 -101
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +3 -4
- package/build/internal/es/meta.mjs +0 -92
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
- package/build/cjs/calendar-v3-participation-participations.universal-CRcW0LBD.d.ts +0 -1599
- package/build/es/calendar-v3-participation-participations.universal-CRcW0LBD.d.mts +0 -1599
- package/build/internal/cjs/calendar-v3-participation-participations.universal-jvGI_cFu.d.ts +0 -1599
- package/build/internal/es/calendar-v3-participation-participations.universal-jvGI_cFu.d.mts +0 -1599
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { Participation, CreateParticipationOptions, UpdateParticipation, ParticipationCreatedEnvelope, ParticipationDeletedEnvelope, ParticipationUpdatedEnvelope, ParticipationsQueryBuilder, ParticipationQuery, typedQueryParticipations } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, Aggregation, AggregationData, AggregationKindOneOf, AggregationResults, AggregationResultsResultOneOf, AggregationResultsScalarDateResult, AggregationResultsScalarResult, AggregationType, AggregationTypeWithLiterals, BaseEventMetadata, CommonCursorPaging, CommonCursorPagingMetadata, CommonCursors, CommonQueryWithEntityContext, CreateParticipationRequest, CreateParticipationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, CursorSearch, CursorSearchPagingMethodOneOf, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, DeleteParticipationRequest, DeleteParticipationResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetParticipationRequest, GetParticipationResponse, GroupByAggregation, GroupByAggregationKindOneOf, GroupByValueResults, IdentificationData, IdentificationDataIdOneOf, IncludeMissingValuesOptions, Interval, IntervalWithLiterals, MessageEnvelope, MissingValues, MissingValuesWithLiterals, Mode, ModeWithLiterals, NestedAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregationResults, NestedAggregationResultsResultOneOf, NestedAggregationType, NestedAggregationTypeWithLiterals, NestedResultValue, NestedResultValueResultOneOf, NestedResults, NestedValueAggregationResult, Participant, ParticipationParticipatedItemOneOf, ParticipationQuerySpec, ParticipationsQueryResult, PartySizeSumByScheduleId, QueryParticipationsRequest, QueryParticipationsResponse, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResult, RangeResults, RestoreInfo, Results, ScalarAggregation, ScalarDateResult, ScalarResult, ScalarType, ScalarTypeWithLiterals, SearchDetails, SearchParticipationsRequest, SearchParticipationsResponse, SortDirection, SortDirectionWithLiterals, SortOrder, SortOrderWithLiterals, SortType, SortTypeWithLiterals, Sorting, Status, StatusWithLiterals, SumParticipationsPartySizeByScheduleIdRequest, SumParticipationsPartySizeByScheduleIdResponse, UpdateParticipationRequest, UpdateParticipationResponse, ValueAggregation, ValueAggregationOptionsOneOf, ValueAggregationResult, ValueResult, ValueResults, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function getParticipation$1(httpClient: HttpClient): GetParticipationSignature;
|
|
6
6
|
interface GetParticipationSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -38,7 +38,6 @@ __export(index_exports, {
|
|
|
38
38
|
onParticipationDeleted: () => onParticipationDeleted2,
|
|
39
39
|
onParticipationUpdated: () => onParticipationUpdated2,
|
|
40
40
|
queryParticipations: () => queryParticipations4,
|
|
41
|
-
searchParticipations: () => searchParticipations4,
|
|
42
41
|
updateParticipation: () => updateParticipation4,
|
|
43
42
|
utils: () => utils
|
|
44
43
|
});
|
|
@@ -57,8 +56,6 @@ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-
|
|
|
57
56
|
|
|
58
57
|
// src/calendar-v3-participation-participations.http.ts
|
|
59
58
|
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
60
|
-
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
61
|
-
var import_float2 = require("@wix/sdk-runtime/transformations/float");
|
|
62
59
|
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
63
60
|
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
64
61
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
@@ -142,77 +139,6 @@ function queryParticipations(payload) {
|
|
|
142
139
|
}
|
|
143
140
|
return __queryParticipations;
|
|
144
141
|
}
|
|
145
|
-
function searchParticipations(payload) {
|
|
146
|
-
function __searchParticipations({ host }) {
|
|
147
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
148
|
-
{
|
|
149
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
150
|
-
paths: [
|
|
151
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
152
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
153
|
-
{
|
|
154
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
158
|
-
}
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
]);
|
|
162
|
-
const metadata = {
|
|
163
|
-
entityFqdn: "wix.calendar.v3.participation",
|
|
164
|
-
method: "POST",
|
|
165
|
-
methodFqn: "wix.calendar.participations.v3.ParticipationsService.SearchParticipations",
|
|
166
|
-
packageName: PACKAGE_NAME,
|
|
167
|
-
migrationOptions: {
|
|
168
|
-
optInTransformResponse: true
|
|
169
|
-
},
|
|
170
|
-
url: resolveWixCalendarParticipationsV3ParticipationsServiceUrl({
|
|
171
|
-
protoPath: "/v3/participations/search",
|
|
172
|
-
data: serializedData,
|
|
173
|
-
host
|
|
174
|
-
}),
|
|
175
|
-
data: serializedData,
|
|
176
|
-
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
177
|
-
{
|
|
178
|
-
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
179
|
-
paths: [
|
|
180
|
-
{ path: "participations.createdDate" },
|
|
181
|
-
{ path: "participations.updatedDate" }
|
|
182
|
-
]
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
186
|
-
paths: [
|
|
187
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
188
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
189
|
-
{
|
|
190
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
200
|
-
},
|
|
201
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
202
|
-
{
|
|
203
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
207
|
-
}
|
|
208
|
-
]
|
|
209
|
-
}
|
|
210
|
-
])
|
|
211
|
-
};
|
|
212
|
-
return metadata;
|
|
213
|
-
}
|
|
214
|
-
return __searchParticipations;
|
|
215
|
-
}
|
|
216
142
|
function createParticipation(payload) {
|
|
217
143
|
function __createParticipation({ host }) {
|
|
218
144
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -320,7 +246,6 @@ function deleteParticipation(payload) {
|
|
|
320
246
|
// src/calendar-v3-participation-participations.universal.ts
|
|
321
247
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
322
248
|
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
323
|
-
var import_search_builder_utils = require("@wix/sdk-runtime/search-builder-utils");
|
|
324
249
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
325
250
|
Status2["CONFIRMED"] = "CONFIRMED";
|
|
326
251
|
Status2["PENDING_CONFIRMATION"] = "PENDING_CONFIRMATION";
|
|
@@ -486,34 +411,8 @@ async function typedQueryParticipations(query) {
|
|
|
486
411
|
var utils = {
|
|
487
412
|
query: {
|
|
488
413
|
...(0, import_query_builder_utils.createQueryUtils)()
|
|
489
|
-
},
|
|
490
|
-
search: {
|
|
491
|
-
...(0, import_search_builder_utils.createSearchUtils)()
|
|
492
414
|
}
|
|
493
415
|
};
|
|
494
|
-
async function searchParticipations2(search) {
|
|
495
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
496
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
|
|
497
|
-
const reqOpts = searchParticipations(payload);
|
|
498
|
-
sideEffects?.onSiteCall?.();
|
|
499
|
-
try {
|
|
500
|
-
const result = await httpClient.request(reqOpts);
|
|
501
|
-
sideEffects?.onSuccess?.(result);
|
|
502
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
503
|
-
} catch (err) {
|
|
504
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
505
|
-
err,
|
|
506
|
-
{
|
|
507
|
-
spreadPathsToArguments: {},
|
|
508
|
-
explicitPathsToArguments: { search: "$[0]" },
|
|
509
|
-
singleArgumentUnchanged: false
|
|
510
|
-
},
|
|
511
|
-
["search"]
|
|
512
|
-
);
|
|
513
|
-
sideEffects?.onError?.(err);
|
|
514
|
-
throw transformedError;
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
416
|
async function createParticipation2(participation, options) {
|
|
518
417
|
const { httpClient, sideEffects } = arguments[2];
|
|
519
418
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -614,13 +513,6 @@ function typedQueryParticipations2(httpClient) {
|
|
|
614
513
|
{ httpClient }
|
|
615
514
|
);
|
|
616
515
|
}
|
|
617
|
-
function searchParticipations3(httpClient) {
|
|
618
|
-
return (search) => searchParticipations2(
|
|
619
|
-
search,
|
|
620
|
-
// @ts-ignore
|
|
621
|
-
{ httpClient }
|
|
622
|
-
);
|
|
623
|
-
}
|
|
624
516
|
function createParticipation3(httpClient) {
|
|
625
517
|
return (participation, options) => createParticipation2(
|
|
626
518
|
participation,
|
|
@@ -711,7 +603,6 @@ function customQueryParticipations(httpClient) {
|
|
|
711
603
|
return overloadedQuery;
|
|
712
604
|
}
|
|
713
605
|
var getParticipation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getParticipation3);
|
|
714
|
-
var searchParticipations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchParticipations3);
|
|
715
606
|
var createParticipation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createParticipation3);
|
|
716
607
|
var updateParticipation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateParticipation3);
|
|
717
608
|
var deleteParticipation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteParticipation3);
|
|
@@ -745,7 +636,6 @@ var onParticipationUpdated2 = (0, import_event_definition_modules.createEventMod
|
|
|
745
636
|
onParticipationDeleted,
|
|
746
637
|
onParticipationUpdated,
|
|
747
638
|
queryParticipations,
|
|
748
|
-
searchParticipations,
|
|
749
639
|
updateParticipation,
|
|
750
640
|
utils
|
|
751
641
|
});
|