@wix/auto_sdk_online-programs_programs 1.0.18 → 1.0.20
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 +78 -37
- package/build/cjs/index.js +41 -45
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -5
- package/build/cjs/index.typings.js +41 -45
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +216 -157
- package/build/cjs/meta.js +27 -43
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/online-programs-v3-program-programs.universal-DYH-_E7Y.d.ts → cjs/online-programs-v3-program-programs.universal-ClIi92UD.d.ts} +346 -306
- package/build/cjs/schemas.d.ts +1895 -0
- package/build/cjs/schemas.js +3155 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +78 -37
- package/build/es/index.mjs +39 -42
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -5
- package/build/es/index.typings.mjs +39 -42
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +216 -157
- package/build/es/meta.mjs +27 -41
- package/build/es/meta.mjs.map +1 -1
- package/build/{internal/es/online-programs-v3-program-programs.universal-DYH-_E7Y.d.mts → es/online-programs-v3-program-programs.universal-ClIi92UD.d.mts} +346 -306
- package/build/es/schemas.d.mts +1895 -0
- package/build/es/schemas.mjs +3093 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +78 -37
- package/build/internal/cjs/index.js +41 -45
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -5
- package/build/internal/cjs/index.typings.js +41 -45
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +216 -157
- package/build/internal/cjs/meta.js +27 -43
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{cjs/online-programs-v3-program-programs.universal-nj9IWrAz.d.ts → internal/cjs/online-programs-v3-program-programs.universal-ClIi92UD.d.ts} +356 -288
- package/build/internal/cjs/schemas.d.ts +1895 -0
- package/build/internal/cjs/schemas.js +3155 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +78 -37
- package/build/internal/es/index.mjs +39 -42
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -5
- package/build/internal/es/index.typings.mjs +39 -42
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +216 -157
- package/build/internal/es/meta.mjs +27 -41
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/{es/online-programs-v3-program-programs.universal-nj9IWrAz.d.mts → internal/es/online-programs-v3-program-programs.universal-ClIi92UD.d.mts} +356 -288
- package/build/internal/es/schemas.d.mts +1895 -0
- package/build/internal/es/schemas.mjs +3093 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { b2 as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-
|
|
2
|
-
export { j as AccessType, cR as AccessTypeWithLiterals,
|
|
1
|
+
import { b2 as CursorSearch, S as SearchProgramsResponse } from './online-programs-v3-program-programs.universal-ClIi92UD.js';
|
|
2
|
+
export { j as AccessType, cR as AccessTypeWithLiterals, cL as AccountInfo, bT as ActionEvent, cz as Address, cA as AddressHint, b4 as Aggregation, bk as AggregationData, b5 as AggregationKindOneOf, bD as AggregationResults, bE as AggregationResultsResultOneOf, br as AggregationResultsScalarResult, r as AggregationType, d0 as AggregationTypeWithLiterals, ah as App, aE as ApplicationError, bH as ArchiveProgramRequest, A as ArchiveProgramResponse, b_ as Asset, aF as BulkActionMetadata, l as BulkActionType, cU as BulkActionTypeWithLiterals, az as BulkCreateProgramsMigrationRequest, aB as BulkCreateProgramsMigrationResponse, aC as BulkProgramResult, bJ as BulkUpdateProgramResult, B as BulkUpdateProgramsOptions, bI as BulkUpdateProgramsRequest, e as BulkUpdateProgramsResponse, cC as BusinessSchedule, cx as Categories, a1 as Certificate, db as CommonQueryWithEntityContext, dc as CommonSearchWithEntityContext, cH as ConsentPolicy, a4 as ContentSummary, C as CountProgramsOptions, bK as CountProgramsRequest, f as CountProgramsResponse, ax as CreateProgramRequest, ay as CreateProgramResponse, aZ as CursorPaging, bj as CursorPagingMetadata, b3 as CursorSearchPagingMethodOneOf, b0 as Cursors, al as CustomTag, bc as DateHistogramAggregation, bz as DateHistogramResult, bB as DateHistogramResults, F as DayOfWeek, d8 as DayOfWeekWithLiterals, ar as Delete, aG as DeleteAllProgramsMigrationRequest, aH as DeleteAllProgramsMigrationResponse, ac as DeleteByFilterOperation, ab as DeleteByIdsOperation, c2 as DeleteContext, aS as DeleteProgramRequest, aT as DeleteProgramResponse, x as DeleteStatus, d5 as DeleteStatusWithLiterals, G as Description, H as DescriptionMediaOneOf, aa as DocumentImage, a9 as DocumentPayload, a7 as DocumentUpdateOperation, bN as DomainEvent, bO as DomainEventBodyOneOf, aI as DuplicateProgramRequest, D as DuplicateProgramResponse, aQ as DuplicatedSlugErrorDetails, cr as EditorlessAssigned, cs as EditorlessUnassigned, bU as Empty, bG as EndProgramRequest, E as EndProgramResponse, bP as EntityCreatedEvent, bS as EntityDeletedEvent, bR as EntityUpdatedEvent, k as Enum, cT as EnumWithLiterals, a2 as ExtendedFields, ak as File, J as FocalPoint, cB as GeoCoordinates, aJ as GetProgramRequest, aK as GetProgramResponse, bg as GroupByAggregation, bh as GroupByAggregationKindOneOf, bA as GroupByValueResults, cJ as IdentificationData, cK as IdentificationDataIdOneOf, b7 as IncludeMissingValuesOptions, a8 as IndexDocument, I as Interval, c$ as IntervalWithLiterals, af as InvalidateCache, ag as InvalidateCacheGetByOneOf, aD as ItemMetadata, Z as Keyword, bM as LabeledProgram, bL as ListSampleProgramsRequest, L as ListSampleProgramsResponse, cy as Locale, M as MaskedProgram, cI as MessageEnvelope, bY as MetaSiteSpecialEvent, bZ as MetaSiteSpecialEventPayloadOneOf, bX as MissingMetasiteIdErrorDetails, p as MissingValues, cY as MissingValuesWithLiterals, s as Mode, d1 as ModeWithLiterals, Q as Money, cF as Multilingual, w as Namespace, cc as NamespaceChanged, d4 as NamespaceWithLiterals, bf as NestedAggregation, bd as NestedAggregationItem, be as NestedAggregationItemKindOneOf, bn as NestedAggregationResults, bo as NestedAggregationResultsResultOneOf, N as NestedAggregationType, c_ as NestedAggregationTypeWithLiterals, bw as NestedResultValue, bx as NestedResultValueResultOneOf, bC as NestedResults, bs as NestedValueAggregationResult, ch as OdeditorAssigned, ci as OdeditorUnassigned, ai as Page, am as Pages, aY as Paging, a$ as PagingMetadataV2, cj as PicassoAssigned, ck as PicassoUnassigned, z as PlacementType, d7 as PlacementTypeWithLiterals, P as Program, av as ProgramArchived, aw as ProgramDuplicated, au as ProgramEnded, aA as ProgramMigration, at as ProgramPublished, h as ProgramQuery, cN as ProgramQuerySpec, cO as ProgramSearchSpec, g as ProgramsQueryBuilder, cM as ProgramsQueryResult, cw as Properties, d as PublishProgramApplicationErrors, bF as PublishProgramRequest, c as PublishProgramResponse, aU as QueryProgramsRequest, a_ as QueryProgramsResponse, aV as QueryV2, aW as QueryV2PagingMethodOneOf, ba as RangeAggregation, bm as RangeAggregationResult, b6 as RangeBucket, bu as RangeResult, bq as RangeResults, ao as ReindexMessage, ap as ReindexMessageActionOneOf, R as ResolutionMethod, d9 as ResolutionMethodWithLiterals, bV as ResolveProgramSlugRequest, bW as ResolveProgramSlugResponse, bQ as RestoreInfo, O as Restrictions, by as Results, a0 as Reward, bb as ScalarAggregation, bv as ScalarResult, q as ScalarType, cZ as ScalarTypeWithLiterals, as as Schema, bi as SearchDetails, ct as SearchIndexingNotification, y as SearchIndexingNotificationState, d6 as SearchIndexingNotificationStateWithLiterals, b1 as SearchProgramsRequest, X as Seo, Y as SeoSchema, c8 as ServiceProvisioned, c9 as ServiceRemoved, $ as Settings, b$ as SiteCreated, v as SiteCreatedContext, d3 as SiteCreatedContextWithLiterals, c1 as SiteDeleted, cb as SiteHardDeleted, c6 as SiteMarkedAsTemplate, c7 as SiteMarkedAsWixSite, cv as SitePropertiesEvent, cu as SitePropertiesUpdated, c4 as SitePublished, cg as SitePurgedExternally, ca as SiteRenamed, c0 as SiteTransferred, c3 as SiteUndeleted, c5 as SiteUnpublished, cf as SiteUrlChanged, o as SortDirection, cX as SortDirectionWithLiterals, m as SortOrder, cV as SortOrderWithLiterals, n as SortType, cW as SortTypeWithLiterals, aX as Sorting, cE as SpecialHourPeriod, u as State, d2 as StateWithLiterals, i as Status, cQ as StatusWithLiterals, cd as StudioAssigned, cn as StudioTwoAssigned, co as StudioTwoUnassigned, ce as StudioUnassigned, cG as SupportedLanguage, _ as Tag, cD as TimePeriod, K as Timeline, aR as TimelineSwitchForbiddenErrorDetails, T as Trigger, cS as TriggerWithLiterals, aj as URI, an as URIs, ad as UpdateByFilterOperation, a5 as UpdateDocumentsEvent, a6 as UpdateDocumentsEventOperationOneOf, ae as UpdateExistingOperation, U as UpdateProgram, a as UpdateProgramApplicationErrors, aL as UpdateProgramRequest, aM as UpdateProgramResponse, aq as Upsert, cq as UserDomainMediaDisabled, cp as UserDomainMediaEnabled, b8 as ValueAggregation, b9 as ValueAggregationOptionsOneOf, bl as ValueAggregationResult, bt as ValueResult, bp as ValueResults, V as VideoResolution, a3 as VideoStepsSettings, W as WebhookIdentityType, da as WebhookIdentityTypeWithLiterals, cl as WixelAssigned, cm as WixelUnassigned, aP as WrongParticipantsNumberErrorDetails, aO as WrongStartDateErrorDetails, aN as WrongStateErrorDetails, dl as archiveProgram, dm as bulkUpdatePrograms, dn as countPrograms, dd as createProgram, dh as deleteProgram, de as duplicateProgram, dk as endProgram, df as getProgram, dp as listSamplePrograms, dj as publishProgram, di as queryPrograms, t as typedQueryPrograms, dg as updateProgram, cP as utils } from './online-programs-v3-program-programs.universal-ClIi92UD.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
6
6
|
type ProgramSearch = {};
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* Searches programs by title and structured filters.
|
|
9
|
+
*
|
|
10
|
+
* Use this method when you need full-text search over `description.title`.
|
|
11
|
+
* Results are visibility-filtered according to the caller identity.
|
|
12
|
+
* @param search - Search expression, filters, sorting, and cursor paging options.
|
|
10
13
|
* @public
|
|
11
|
-
* @documentationMaturity preview
|
|
12
14
|
* @requiredField search
|
|
13
15
|
* @permissionId ONLINE_PROGRAMS.PROGRAM_READ
|
|
14
16
|
* @applicableIdentity APP
|
|
@@ -33,7 +33,6 @@ __export(index_typings_exports, {
|
|
|
33
33
|
NestedAggregationType: () => NestedAggregationType,
|
|
34
34
|
PlacementType: () => PlacementType,
|
|
35
35
|
ResolutionMethod: () => ResolutionMethod,
|
|
36
|
-
RestrictionsAccessType: () => RestrictionsAccessType,
|
|
37
36
|
ScalarType: () => ScalarType,
|
|
38
37
|
SearchIndexingNotificationState: () => SearchIndexingNotificationState,
|
|
39
38
|
SiteCreatedContext: () => SiteCreatedContext,
|
|
@@ -43,7 +42,6 @@ __export(index_typings_exports, {
|
|
|
43
42
|
State: () => State,
|
|
44
43
|
Status: () => Status,
|
|
45
44
|
Trigger: () => Trigger,
|
|
46
|
-
V3State: () => V3State,
|
|
47
45
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
48
46
|
archiveProgram: () => archiveProgram2,
|
|
49
47
|
bulkUpdatePrograms: () => bulkUpdatePrograms2,
|
|
@@ -58,7 +56,8 @@ __export(index_typings_exports, {
|
|
|
58
56
|
queryPrograms: () => queryPrograms2,
|
|
59
57
|
searchPrograms: () => searchPrograms2,
|
|
60
58
|
typedQueryPrograms: () => typedQueryPrograms,
|
|
61
|
-
updateProgram: () => updateProgram2
|
|
59
|
+
updateProgram: () => updateProgram2,
|
|
60
|
+
utils: () => utils
|
|
62
61
|
});
|
|
63
62
|
module.exports = __toCommonJS(index_typings_exports);
|
|
64
63
|
|
|
@@ -100,6 +99,24 @@ function resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl(opts) {
|
|
|
100
99
|
{
|
|
101
100
|
srcPath: "/_api/programs-service",
|
|
102
101
|
destPath: ""
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
srcPath: "/online-programs/v3/programs",
|
|
105
|
+
destPath: "/v3/programs"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
srcPath: "/online-programs/v3/bulk/programs",
|
|
109
|
+
destPath: "/v3/bulk/programs"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"*.dev.wix-code.com": [
|
|
113
|
+
{
|
|
114
|
+
srcPath: "/online-programs/v3/programs",
|
|
115
|
+
destPath: "/v3/programs"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
srcPath: "/online-programs/v3/bulk/programs",
|
|
119
|
+
destPath: "/v3/bulk/programs"
|
|
103
120
|
}
|
|
104
121
|
]
|
|
105
122
|
};
|
|
@@ -114,7 +131,6 @@ function createProgram(payload) {
|
|
|
114
131
|
paths: [
|
|
115
132
|
{ path: "program.createdDate" },
|
|
116
133
|
{ path: "program.updatedDate" },
|
|
117
|
-
{ path: "program.stateUpdatedDate" },
|
|
118
134
|
{ path: "program.statusUpdatedDate" },
|
|
119
135
|
{ path: "program.description.image.urlExpirationDate" },
|
|
120
136
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -159,7 +175,6 @@ function createProgram(payload) {
|
|
|
159
175
|
paths: [
|
|
160
176
|
{ path: "program.createdDate" },
|
|
161
177
|
{ path: "program.updatedDate" },
|
|
162
|
-
{ path: "program.stateUpdatedDate" },
|
|
163
178
|
{ path: "program.statusUpdatedDate" },
|
|
164
179
|
{ path: "program.description.image.urlExpirationDate" },
|
|
165
180
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -219,7 +234,6 @@ function duplicateProgram(payload) {
|
|
|
219
234
|
paths: [
|
|
220
235
|
{ path: "program.createdDate" },
|
|
221
236
|
{ path: "program.updatedDate" },
|
|
222
|
-
{ path: "program.stateUpdatedDate" },
|
|
223
237
|
{ path: "program.statusUpdatedDate" },
|
|
224
238
|
{ path: "program.description.image.urlExpirationDate" },
|
|
225
239
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -279,7 +293,6 @@ function getProgram(payload) {
|
|
|
279
293
|
paths: [
|
|
280
294
|
{ path: "program.createdDate" },
|
|
281
295
|
{ path: "program.updatedDate" },
|
|
282
|
-
{ path: "program.stateUpdatedDate" },
|
|
283
296
|
{ path: "program.statusUpdatedDate" },
|
|
284
297
|
{ path: "program.description.image.urlExpirationDate" },
|
|
285
298
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -329,7 +342,6 @@ function updateProgram(payload) {
|
|
|
329
342
|
paths: [
|
|
330
343
|
{ path: "program.createdDate" },
|
|
331
344
|
{ path: "program.updatedDate" },
|
|
332
|
-
{ path: "program.stateUpdatedDate" },
|
|
333
345
|
{ path: "program.statusUpdatedDate" },
|
|
334
346
|
{ path: "program.description.image.urlExpirationDate" },
|
|
335
347
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -374,7 +386,6 @@ function updateProgram(payload) {
|
|
|
374
386
|
paths: [
|
|
375
387
|
{ path: "program.createdDate" },
|
|
376
388
|
{ path: "program.updatedDate" },
|
|
377
|
-
{ path: "program.stateUpdatedDate" },
|
|
378
389
|
{ path: "program.statusUpdatedDate" },
|
|
379
390
|
{ path: "program.description.image.urlExpirationDate" },
|
|
380
391
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -455,7 +466,6 @@ function queryPrograms(payload) {
|
|
|
455
466
|
paths: [
|
|
456
467
|
{ path: "programs.createdDate" },
|
|
457
468
|
{ path: "programs.updatedDate" },
|
|
458
|
-
{ path: "programs.stateUpdatedDate" },
|
|
459
469
|
{ path: "programs.statusUpdatedDate" },
|
|
460
470
|
{ path: "programs.description.image.urlExpirationDate" },
|
|
461
471
|
{ path: "programs.description.video.urlExpirationDate" },
|
|
@@ -530,7 +540,6 @@ function searchPrograms(payload) {
|
|
|
530
540
|
paths: [
|
|
531
541
|
{ path: "programs.createdDate" },
|
|
532
542
|
{ path: "programs.updatedDate" },
|
|
533
|
-
{ path: "programs.stateUpdatedDate" },
|
|
534
543
|
{ path: "programs.statusUpdatedDate" },
|
|
535
544
|
{ path: "programs.description.image.urlExpirationDate" },
|
|
536
545
|
{ path: "programs.description.video.urlExpirationDate" },
|
|
@@ -611,7 +620,6 @@ function publishProgram(payload) {
|
|
|
611
620
|
paths: [
|
|
612
621
|
{ path: "program.createdDate" },
|
|
613
622
|
{ path: "program.updatedDate" },
|
|
614
|
-
{ path: "program.stateUpdatedDate" },
|
|
615
623
|
{ path: "program.statusUpdatedDate" },
|
|
616
624
|
{ path: "program.description.image.urlExpirationDate" },
|
|
617
625
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -671,7 +679,6 @@ function endProgram(payload) {
|
|
|
671
679
|
paths: [
|
|
672
680
|
{ path: "program.createdDate" },
|
|
673
681
|
{ path: "program.updatedDate" },
|
|
674
|
-
{ path: "program.stateUpdatedDate" },
|
|
675
682
|
{ path: "program.statusUpdatedDate" },
|
|
676
683
|
{ path: "program.description.image.urlExpirationDate" },
|
|
677
684
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -731,7 +738,6 @@ function archiveProgram(payload) {
|
|
|
731
738
|
paths: [
|
|
732
739
|
{ path: "program.createdDate" },
|
|
733
740
|
{ path: "program.updatedDate" },
|
|
734
|
-
{ path: "program.stateUpdatedDate" },
|
|
735
741
|
{ path: "program.statusUpdatedDate" },
|
|
736
742
|
{ path: "program.description.image.urlExpirationDate" },
|
|
737
743
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -781,7 +787,6 @@ function bulkUpdatePrograms(payload) {
|
|
|
781
787
|
paths: [
|
|
782
788
|
{ path: "programs.program.createdDate" },
|
|
783
789
|
{ path: "programs.program.updatedDate" },
|
|
784
|
-
{ path: "programs.program.stateUpdatedDate" },
|
|
785
790
|
{ path: "programs.program.statusUpdatedDate" },
|
|
786
791
|
{ path: "programs.program.description.image.urlExpirationDate" },
|
|
787
792
|
{ path: "programs.program.description.video.urlExpirationDate" },
|
|
@@ -836,7 +841,6 @@ function bulkUpdatePrograms(payload) {
|
|
|
836
841
|
paths: [
|
|
837
842
|
{ path: "results.item.createdDate" },
|
|
838
843
|
{ path: "results.item.updatedDate" },
|
|
839
|
-
{ path: "results.item.stateUpdatedDate" },
|
|
840
844
|
{ path: "results.item.statusUpdatedDate" },
|
|
841
845
|
{ path: "results.item.description.image.urlExpirationDate" },
|
|
842
846
|
{ path: "results.item.description.video.urlExpirationDate" },
|
|
@@ -919,7 +923,6 @@ function listSamplePrograms(payload) {
|
|
|
919
923
|
paths: [
|
|
920
924
|
{ path: "programs.program.createdDate" },
|
|
921
925
|
{ path: "programs.program.updatedDate" },
|
|
922
|
-
{ path: "programs.program.stateUpdatedDate" },
|
|
923
926
|
{ path: "programs.program.statusUpdatedDate" },
|
|
924
927
|
{ path: "programs.program.description.image.urlExpirationDate" },
|
|
925
928
|
{ path: "programs.program.description.video.urlExpirationDate" },
|
|
@@ -972,40 +975,27 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
|
972
975
|
var import_page_url = require("@wix/sdk-runtime/transformations/page-url");
|
|
973
976
|
var import_page_url2 = require("@wix/sdk-runtime/transformations/page-url");
|
|
974
977
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
975
|
-
var
|
|
976
|
-
|
|
977
|
-
V3State2["PUBLISHED"] = "PUBLISHED";
|
|
978
|
-
V3State2["ENDED"] = "ENDED";
|
|
979
|
-
V3State2["ARCHIVED"] = "ARCHIVED";
|
|
980
|
-
return V3State2;
|
|
981
|
-
})(V3State || {});
|
|
978
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
979
|
+
var import_search_builder_utils = require("@wix/sdk-runtime/search-builder-utils");
|
|
982
980
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
983
|
-
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
984
981
|
Status2["DRAFT"] = "DRAFT";
|
|
985
982
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
986
983
|
Status2["ENDED"] = "ENDED";
|
|
987
984
|
Status2["ARCHIVED"] = "ARCHIVED";
|
|
988
985
|
return Status2;
|
|
989
986
|
})(Status || {});
|
|
990
|
-
var RestrictionsAccessType = /* @__PURE__ */ ((RestrictionsAccessType2) => {
|
|
991
|
-
RestrictionsAccessType2["UNKNOWN_ACCESS_TYPE"] = "UNKNOWN_ACCESS_TYPE";
|
|
992
|
-
RestrictionsAccessType2["PUBLIC"] = "PUBLIC";
|
|
993
|
-
RestrictionsAccessType2["PRIVATE"] = "PRIVATE";
|
|
994
|
-
RestrictionsAccessType2["SECRET"] = "SECRET";
|
|
995
|
-
return RestrictionsAccessType2;
|
|
996
|
-
})(RestrictionsAccessType || {});
|
|
997
|
-
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
998
|
-
Trigger2["JOINED_TO_PROGRAM"] = "JOINED_TO_PROGRAM";
|
|
999
|
-
Trigger2["STEP_COMPLETED"] = "STEP_COMPLETED";
|
|
1000
|
-
Trigger2["ALL_STEPS_COMPLETED"] = "ALL_STEPS_COMPLETED";
|
|
1001
|
-
return Trigger2;
|
|
1002
|
-
})(Trigger || {});
|
|
1003
987
|
var AccessType = /* @__PURE__ */ ((AccessType2) => {
|
|
1004
988
|
AccessType2["PUBLIC"] = "PUBLIC";
|
|
1005
989
|
AccessType2["PRIVATE"] = "PRIVATE";
|
|
1006
990
|
AccessType2["SECRET"] = "SECRET";
|
|
1007
991
|
return AccessType2;
|
|
1008
992
|
})(AccessType || {});
|
|
993
|
+
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
994
|
+
Trigger2["JOINED_TO_PROGRAM"] = "JOINED_TO_PROGRAM";
|
|
995
|
+
Trigger2["STEP_COMPLETED"] = "STEP_COMPLETED";
|
|
996
|
+
Trigger2["ALL_STEPS_COMPLETED"] = "ALL_STEPS_COMPLETED";
|
|
997
|
+
return Trigger2;
|
|
998
|
+
})(Trigger || {});
|
|
1009
999
|
var Enum = /* @__PURE__ */ ((Enum2) => {
|
|
1010
1000
|
Enum2["UNKNOWN"] = "UNKNOWN";
|
|
1011
1001
|
Enum2["PROTECTED"] = "PROTECTED";
|
|
@@ -1043,14 +1033,12 @@ var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
|
1043
1033
|
return MissingValues2;
|
|
1044
1034
|
})(MissingValues || {});
|
|
1045
1035
|
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
1046
|
-
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
1047
1036
|
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
1048
1037
|
ScalarType2["MIN"] = "MIN";
|
|
1049
1038
|
ScalarType2["MAX"] = "MAX";
|
|
1050
1039
|
return ScalarType2;
|
|
1051
1040
|
})(ScalarType || {});
|
|
1052
1041
|
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
1053
|
-
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1054
1042
|
NestedAggregationType2["VALUE"] = "VALUE";
|
|
1055
1043
|
NestedAggregationType2["RANGE"] = "RANGE";
|
|
1056
1044
|
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
@@ -1058,7 +1046,6 @@ var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
|
1058
1046
|
return NestedAggregationType2;
|
|
1059
1047
|
})(NestedAggregationType || {});
|
|
1060
1048
|
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
1061
|
-
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
1062
1049
|
Interval2["YEAR"] = "YEAR";
|
|
1063
1050
|
Interval2["MONTH"] = "MONTH";
|
|
1064
1051
|
Interval2["WEEK"] = "WEEK";
|
|
@@ -1069,7 +1056,6 @@ var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
|
1069
1056
|
return Interval2;
|
|
1070
1057
|
})(Interval || {});
|
|
1071
1058
|
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
1072
|
-
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1073
1059
|
AggregationType2["VALUE"] = "VALUE";
|
|
1074
1060
|
AggregationType2["RANGE"] = "RANGE";
|
|
1075
1061
|
AggregationType2["SCALAR"] = "SCALAR";
|
|
@@ -1134,6 +1120,9 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
1134
1120
|
Namespace2["NANO"] = "NANO";
|
|
1135
1121
|
Namespace2["BASE44"] = "BASE44";
|
|
1136
1122
|
Namespace2["CHANNELS"] = "CHANNELS";
|
|
1123
|
+
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
1124
|
+
Namespace2["SYMPHONY"] = "SYMPHONY";
|
|
1125
|
+
Namespace2["NAUTILUS_APPS"] = "NAUTILUS_APPS";
|
|
1137
1126
|
return Namespace2;
|
|
1138
1127
|
})(Namespace || {});
|
|
1139
1128
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1486,6 +1475,14 @@ async function typedQueryPrograms(query) {
|
|
|
1486
1475
|
throw transformedError;
|
|
1487
1476
|
}
|
|
1488
1477
|
}
|
|
1478
|
+
var utils = {
|
|
1479
|
+
query: {
|
|
1480
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1481
|
+
},
|
|
1482
|
+
search: {
|
|
1483
|
+
...(0, import_search_builder_utils.createSearchUtils)()
|
|
1484
|
+
}
|
|
1485
|
+
};
|
|
1489
1486
|
async function searchPrograms2(search) {
|
|
1490
1487
|
const { httpClient, sideEffects } = arguments[1];
|
|
1491
1488
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
|
|
@@ -1782,7 +1779,6 @@ async function listSamplePrograms2() {
|
|
|
1782
1779
|
NestedAggregationType,
|
|
1783
1780
|
PlacementType,
|
|
1784
1781
|
ResolutionMethod,
|
|
1785
|
-
RestrictionsAccessType,
|
|
1786
1782
|
ScalarType,
|
|
1787
1783
|
SearchIndexingNotificationState,
|
|
1788
1784
|
SiteCreatedContext,
|
|
@@ -1792,7 +1788,6 @@ async function listSamplePrograms2() {
|
|
|
1792
1788
|
State,
|
|
1793
1789
|
Status,
|
|
1794
1790
|
Trigger,
|
|
1795
|
-
V3State,
|
|
1796
1791
|
WebhookIdentityType,
|
|
1797
1792
|
archiveProgram,
|
|
1798
1793
|
bulkUpdatePrograms,
|
|
@@ -1807,6 +1802,7 @@ async function listSamplePrograms2() {
|
|
|
1807
1802
|
queryPrograms,
|
|
1808
1803
|
searchPrograms,
|
|
1809
1804
|
typedQueryPrograms,
|
|
1810
|
-
updateProgram
|
|
1805
|
+
updateProgram,
|
|
1806
|
+
utils
|
|
1811
1807
|
});
|
|
1812
1808
|
//# sourceMappingURL=index.typings.js.map
|