@wix/auto_sdk_online-programs_programs 1.0.17 → 1.0.19
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 +36 -45
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -4
- package/build/cjs/index.typings.js +36 -45
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +210 -156
- package/build/cjs/meta.js +22 -43
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/cjs/online-programs-v3-program-programs.universal-GGCuynBJ.d.ts → cjs/online-programs-v3-program-programs.universal-s9OPdNxX.d.ts} +336 -275
- 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 +34 -42
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -4
- package/build/es/index.typings.mjs +34 -42
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +210 -156
- package/build/es/meta.mjs +22 -41
- package/build/es/meta.mjs.map +1 -1
- package/build/{internal/es/online-programs-v3-program-programs.universal-GGCuynBJ.d.mts → es/online-programs-v3-program-programs.universal-s9OPdNxX.d.mts} +336 -275
- 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 +36 -45
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -4
- package/build/internal/cjs/index.typings.js +36 -45
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +210 -156
- package/build/internal/cjs/meta.js +22 -43
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{cjs/online-programs-v3-program-programs.universal-BIhPJqH-.d.ts → internal/cjs/online-programs-v3-program-programs.universal-s9OPdNxX.d.ts} +346 -257
- 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 +34 -42
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -4
- package/build/internal/es/index.typings.mjs +34 -42
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +210 -156
- package/build/internal/es/meta.mjs +22 -41
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/{es/online-programs-v3-program-programs.universal-BIhPJqH-.d.mts → internal/es/online-programs-v3-program-programs.universal-s9OPdNxX.d.mts} +346 -257
- 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,12 +1,15 @@
|
|
|
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-s9OPdNxX.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-s9OPdNxX.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
14
|
* @documentationMaturity preview
|
|
12
15
|
* @requiredField search
|
|
@@ -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,20 @@ 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"
|
|
103
116
|
}
|
|
104
117
|
]
|
|
105
118
|
};
|
|
@@ -114,7 +127,6 @@ function createProgram(payload) {
|
|
|
114
127
|
paths: [
|
|
115
128
|
{ path: "program.createdDate" },
|
|
116
129
|
{ path: "program.updatedDate" },
|
|
117
|
-
{ path: "program.stateUpdatedDate" },
|
|
118
130
|
{ path: "program.statusUpdatedDate" },
|
|
119
131
|
{ path: "program.description.image.urlExpirationDate" },
|
|
120
132
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -159,7 +171,6 @@ function createProgram(payload) {
|
|
|
159
171
|
paths: [
|
|
160
172
|
{ path: "program.createdDate" },
|
|
161
173
|
{ path: "program.updatedDate" },
|
|
162
|
-
{ path: "program.stateUpdatedDate" },
|
|
163
174
|
{ path: "program.statusUpdatedDate" },
|
|
164
175
|
{ path: "program.description.image.urlExpirationDate" },
|
|
165
176
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -219,7 +230,6 @@ function duplicateProgram(payload) {
|
|
|
219
230
|
paths: [
|
|
220
231
|
{ path: "program.createdDate" },
|
|
221
232
|
{ path: "program.updatedDate" },
|
|
222
|
-
{ path: "program.stateUpdatedDate" },
|
|
223
233
|
{ path: "program.statusUpdatedDate" },
|
|
224
234
|
{ path: "program.description.image.urlExpirationDate" },
|
|
225
235
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -279,7 +289,6 @@ function getProgram(payload) {
|
|
|
279
289
|
paths: [
|
|
280
290
|
{ path: "program.createdDate" },
|
|
281
291
|
{ path: "program.updatedDate" },
|
|
282
|
-
{ path: "program.stateUpdatedDate" },
|
|
283
292
|
{ path: "program.statusUpdatedDate" },
|
|
284
293
|
{ path: "program.description.image.urlExpirationDate" },
|
|
285
294
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -329,7 +338,6 @@ function updateProgram(payload) {
|
|
|
329
338
|
paths: [
|
|
330
339
|
{ path: "program.createdDate" },
|
|
331
340
|
{ path: "program.updatedDate" },
|
|
332
|
-
{ path: "program.stateUpdatedDate" },
|
|
333
341
|
{ path: "program.statusUpdatedDate" },
|
|
334
342
|
{ path: "program.description.image.urlExpirationDate" },
|
|
335
343
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -374,7 +382,6 @@ function updateProgram(payload) {
|
|
|
374
382
|
paths: [
|
|
375
383
|
{ path: "program.createdDate" },
|
|
376
384
|
{ path: "program.updatedDate" },
|
|
377
|
-
{ path: "program.stateUpdatedDate" },
|
|
378
385
|
{ path: "program.statusUpdatedDate" },
|
|
379
386
|
{ path: "program.description.image.urlExpirationDate" },
|
|
380
387
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -455,7 +462,6 @@ function queryPrograms(payload) {
|
|
|
455
462
|
paths: [
|
|
456
463
|
{ path: "programs.createdDate" },
|
|
457
464
|
{ path: "programs.updatedDate" },
|
|
458
|
-
{ path: "programs.stateUpdatedDate" },
|
|
459
465
|
{ path: "programs.statusUpdatedDate" },
|
|
460
466
|
{ path: "programs.description.image.urlExpirationDate" },
|
|
461
467
|
{ path: "programs.description.video.urlExpirationDate" },
|
|
@@ -530,7 +536,6 @@ function searchPrograms(payload) {
|
|
|
530
536
|
paths: [
|
|
531
537
|
{ path: "programs.createdDate" },
|
|
532
538
|
{ path: "programs.updatedDate" },
|
|
533
|
-
{ path: "programs.stateUpdatedDate" },
|
|
534
539
|
{ path: "programs.statusUpdatedDate" },
|
|
535
540
|
{ path: "programs.description.image.urlExpirationDate" },
|
|
536
541
|
{ path: "programs.description.video.urlExpirationDate" },
|
|
@@ -611,7 +616,6 @@ function publishProgram(payload) {
|
|
|
611
616
|
paths: [
|
|
612
617
|
{ path: "program.createdDate" },
|
|
613
618
|
{ path: "program.updatedDate" },
|
|
614
|
-
{ path: "program.stateUpdatedDate" },
|
|
615
619
|
{ path: "program.statusUpdatedDate" },
|
|
616
620
|
{ path: "program.description.image.urlExpirationDate" },
|
|
617
621
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -671,7 +675,6 @@ function endProgram(payload) {
|
|
|
671
675
|
paths: [
|
|
672
676
|
{ path: "program.createdDate" },
|
|
673
677
|
{ path: "program.updatedDate" },
|
|
674
|
-
{ path: "program.stateUpdatedDate" },
|
|
675
678
|
{ path: "program.statusUpdatedDate" },
|
|
676
679
|
{ path: "program.description.image.urlExpirationDate" },
|
|
677
680
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -731,7 +734,6 @@ function archiveProgram(payload) {
|
|
|
731
734
|
paths: [
|
|
732
735
|
{ path: "program.createdDate" },
|
|
733
736
|
{ path: "program.updatedDate" },
|
|
734
|
-
{ path: "program.stateUpdatedDate" },
|
|
735
737
|
{ path: "program.statusUpdatedDate" },
|
|
736
738
|
{ path: "program.description.image.urlExpirationDate" },
|
|
737
739
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -781,7 +783,6 @@ function bulkUpdatePrograms(payload) {
|
|
|
781
783
|
paths: [
|
|
782
784
|
{ path: "programs.program.createdDate" },
|
|
783
785
|
{ path: "programs.program.updatedDate" },
|
|
784
|
-
{ path: "programs.program.stateUpdatedDate" },
|
|
785
786
|
{ path: "programs.program.statusUpdatedDate" },
|
|
786
787
|
{ path: "programs.program.description.image.urlExpirationDate" },
|
|
787
788
|
{ path: "programs.program.description.video.urlExpirationDate" },
|
|
@@ -836,7 +837,6 @@ function bulkUpdatePrograms(payload) {
|
|
|
836
837
|
paths: [
|
|
837
838
|
{ path: "results.item.createdDate" },
|
|
838
839
|
{ path: "results.item.updatedDate" },
|
|
839
|
-
{ path: "results.item.stateUpdatedDate" },
|
|
840
840
|
{ path: "results.item.statusUpdatedDate" },
|
|
841
841
|
{ path: "results.item.description.image.urlExpirationDate" },
|
|
842
842
|
{ path: "results.item.description.video.urlExpirationDate" },
|
|
@@ -919,7 +919,6 @@ function listSamplePrograms(payload) {
|
|
|
919
919
|
paths: [
|
|
920
920
|
{ path: "programs.program.createdDate" },
|
|
921
921
|
{ path: "programs.program.updatedDate" },
|
|
922
|
-
{ path: "programs.program.stateUpdatedDate" },
|
|
923
922
|
{ path: "programs.program.statusUpdatedDate" },
|
|
924
923
|
{ path: "programs.program.description.image.urlExpirationDate" },
|
|
925
924
|
{ path: "programs.program.description.video.urlExpirationDate" },
|
|
@@ -972,40 +971,27 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
|
972
971
|
var import_page_url = require("@wix/sdk-runtime/transformations/page-url");
|
|
973
972
|
var import_page_url2 = require("@wix/sdk-runtime/transformations/page-url");
|
|
974
973
|
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 || {});
|
|
974
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
975
|
+
var import_search_builder_utils = require("@wix/sdk-runtime/search-builder-utils");
|
|
982
976
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
983
|
-
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
984
977
|
Status2["DRAFT"] = "DRAFT";
|
|
985
978
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
986
979
|
Status2["ENDED"] = "ENDED";
|
|
987
980
|
Status2["ARCHIVED"] = "ARCHIVED";
|
|
988
981
|
return Status2;
|
|
989
982
|
})(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
983
|
var AccessType = /* @__PURE__ */ ((AccessType2) => {
|
|
1004
984
|
AccessType2["PUBLIC"] = "PUBLIC";
|
|
1005
985
|
AccessType2["PRIVATE"] = "PRIVATE";
|
|
1006
986
|
AccessType2["SECRET"] = "SECRET";
|
|
1007
987
|
return AccessType2;
|
|
1008
988
|
})(AccessType || {});
|
|
989
|
+
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
990
|
+
Trigger2["JOINED_TO_PROGRAM"] = "JOINED_TO_PROGRAM";
|
|
991
|
+
Trigger2["STEP_COMPLETED"] = "STEP_COMPLETED";
|
|
992
|
+
Trigger2["ALL_STEPS_COMPLETED"] = "ALL_STEPS_COMPLETED";
|
|
993
|
+
return Trigger2;
|
|
994
|
+
})(Trigger || {});
|
|
1009
995
|
var Enum = /* @__PURE__ */ ((Enum2) => {
|
|
1010
996
|
Enum2["UNKNOWN"] = "UNKNOWN";
|
|
1011
997
|
Enum2["PROTECTED"] = "PROTECTED";
|
|
@@ -1043,14 +1029,12 @@ var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
|
1043
1029
|
return MissingValues2;
|
|
1044
1030
|
})(MissingValues || {});
|
|
1045
1031
|
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
1046
|
-
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
1047
1032
|
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
1048
1033
|
ScalarType2["MIN"] = "MIN";
|
|
1049
1034
|
ScalarType2["MAX"] = "MAX";
|
|
1050
1035
|
return ScalarType2;
|
|
1051
1036
|
})(ScalarType || {});
|
|
1052
1037
|
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
1053
|
-
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1054
1038
|
NestedAggregationType2["VALUE"] = "VALUE";
|
|
1055
1039
|
NestedAggregationType2["RANGE"] = "RANGE";
|
|
1056
1040
|
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
@@ -1058,7 +1042,6 @@ var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
|
1058
1042
|
return NestedAggregationType2;
|
|
1059
1043
|
})(NestedAggregationType || {});
|
|
1060
1044
|
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
1061
|
-
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
1062
1045
|
Interval2["YEAR"] = "YEAR";
|
|
1063
1046
|
Interval2["MONTH"] = "MONTH";
|
|
1064
1047
|
Interval2["WEEK"] = "WEEK";
|
|
@@ -1069,7 +1052,6 @@ var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
|
1069
1052
|
return Interval2;
|
|
1070
1053
|
})(Interval || {});
|
|
1071
1054
|
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
1072
|
-
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1073
1055
|
AggregationType2["VALUE"] = "VALUE";
|
|
1074
1056
|
AggregationType2["RANGE"] = "RANGE";
|
|
1075
1057
|
AggregationType2["SCALAR"] = "SCALAR";
|
|
@@ -1133,6 +1115,8 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
1133
1115
|
Namespace2["TWINS"] = "TWINS";
|
|
1134
1116
|
Namespace2["NANO"] = "NANO";
|
|
1135
1117
|
Namespace2["BASE44"] = "BASE44";
|
|
1118
|
+
Namespace2["CHANNELS"] = "CHANNELS";
|
|
1119
|
+
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
1136
1120
|
return Namespace2;
|
|
1137
1121
|
})(Namespace || {});
|
|
1138
1122
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1485,6 +1469,14 @@ async function typedQueryPrograms(query) {
|
|
|
1485
1469
|
throw transformedError;
|
|
1486
1470
|
}
|
|
1487
1471
|
}
|
|
1472
|
+
var utils = {
|
|
1473
|
+
query: {
|
|
1474
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1475
|
+
},
|
|
1476
|
+
search: {
|
|
1477
|
+
...(0, import_search_builder_utils.createSearchUtils)()
|
|
1478
|
+
}
|
|
1479
|
+
};
|
|
1488
1480
|
async function searchPrograms2(search) {
|
|
1489
1481
|
const { httpClient, sideEffects } = arguments[1];
|
|
1490
1482
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
|
|
@@ -1781,7 +1773,6 @@ async function listSamplePrograms2() {
|
|
|
1781
1773
|
NestedAggregationType,
|
|
1782
1774
|
PlacementType,
|
|
1783
1775
|
ResolutionMethod,
|
|
1784
|
-
RestrictionsAccessType,
|
|
1785
1776
|
ScalarType,
|
|
1786
1777
|
SearchIndexingNotificationState,
|
|
1787
1778
|
SiteCreatedContext,
|
|
@@ -1791,7 +1782,6 @@ async function listSamplePrograms2() {
|
|
|
1791
1782
|
State,
|
|
1792
1783
|
Status,
|
|
1793
1784
|
Trigger,
|
|
1794
|
-
V3State,
|
|
1795
1785
|
WebhookIdentityType,
|
|
1796
1786
|
archiveProgram,
|
|
1797
1787
|
bulkUpdatePrograms,
|
|
@@ -1806,6 +1796,7 @@ async function listSamplePrograms2() {
|
|
|
1806
1796
|
queryPrograms,
|
|
1807
1797
|
searchPrograms,
|
|
1808
1798
|
typedQueryPrograms,
|
|
1809
|
-
updateProgram
|
|
1799
|
+
updateProgram,
|
|
1800
|
+
utils
|
|
1810
1801
|
});
|
|
1811
1802
|
//# sourceMappingURL=index.typings.js.map
|