@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.mjs';
|
|
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.mjs';
|
|
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
|
|
@@ -39,6 +39,20 @@ function resolveWixOnlineprogramsProgramsV3ProgramsServiceUrl(opts) {
|
|
|
39
39
|
{
|
|
40
40
|
srcPath: "/_api/programs-service",
|
|
41
41
|
destPath: ""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
srcPath: "/online-programs/v3/programs",
|
|
45
|
+
destPath: "/v3/programs"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
srcPath: "/online-programs/v3/bulk/programs",
|
|
49
|
+
destPath: "/v3/bulk/programs"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"*.dev.wix-code.com": [
|
|
53
|
+
{
|
|
54
|
+
srcPath: "/online-programs/v3/programs",
|
|
55
|
+
destPath: "/v3/programs"
|
|
42
56
|
}
|
|
43
57
|
]
|
|
44
58
|
};
|
|
@@ -53,7 +67,6 @@ function createProgram(payload) {
|
|
|
53
67
|
paths: [
|
|
54
68
|
{ path: "program.createdDate" },
|
|
55
69
|
{ path: "program.updatedDate" },
|
|
56
|
-
{ path: "program.stateUpdatedDate" },
|
|
57
70
|
{ path: "program.statusUpdatedDate" },
|
|
58
71
|
{ path: "program.description.image.urlExpirationDate" },
|
|
59
72
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -98,7 +111,6 @@ function createProgram(payload) {
|
|
|
98
111
|
paths: [
|
|
99
112
|
{ path: "program.createdDate" },
|
|
100
113
|
{ path: "program.updatedDate" },
|
|
101
|
-
{ path: "program.stateUpdatedDate" },
|
|
102
114
|
{ path: "program.statusUpdatedDate" },
|
|
103
115
|
{ path: "program.description.image.urlExpirationDate" },
|
|
104
116
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -158,7 +170,6 @@ function duplicateProgram(payload) {
|
|
|
158
170
|
paths: [
|
|
159
171
|
{ path: "program.createdDate" },
|
|
160
172
|
{ path: "program.updatedDate" },
|
|
161
|
-
{ path: "program.stateUpdatedDate" },
|
|
162
173
|
{ path: "program.statusUpdatedDate" },
|
|
163
174
|
{ path: "program.description.image.urlExpirationDate" },
|
|
164
175
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -218,7 +229,6 @@ function getProgram(payload) {
|
|
|
218
229
|
paths: [
|
|
219
230
|
{ path: "program.createdDate" },
|
|
220
231
|
{ path: "program.updatedDate" },
|
|
221
|
-
{ path: "program.stateUpdatedDate" },
|
|
222
232
|
{ path: "program.statusUpdatedDate" },
|
|
223
233
|
{ path: "program.description.image.urlExpirationDate" },
|
|
224
234
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -268,7 +278,6 @@ function updateProgram(payload) {
|
|
|
268
278
|
paths: [
|
|
269
279
|
{ path: "program.createdDate" },
|
|
270
280
|
{ path: "program.updatedDate" },
|
|
271
|
-
{ path: "program.stateUpdatedDate" },
|
|
272
281
|
{ path: "program.statusUpdatedDate" },
|
|
273
282
|
{ path: "program.description.image.urlExpirationDate" },
|
|
274
283
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -313,7 +322,6 @@ function updateProgram(payload) {
|
|
|
313
322
|
paths: [
|
|
314
323
|
{ path: "program.createdDate" },
|
|
315
324
|
{ path: "program.updatedDate" },
|
|
316
|
-
{ path: "program.stateUpdatedDate" },
|
|
317
325
|
{ path: "program.statusUpdatedDate" },
|
|
318
326
|
{ path: "program.description.image.urlExpirationDate" },
|
|
319
327
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -394,7 +402,6 @@ function queryPrograms(payload) {
|
|
|
394
402
|
paths: [
|
|
395
403
|
{ path: "programs.createdDate" },
|
|
396
404
|
{ path: "programs.updatedDate" },
|
|
397
|
-
{ path: "programs.stateUpdatedDate" },
|
|
398
405
|
{ path: "programs.statusUpdatedDate" },
|
|
399
406
|
{ path: "programs.description.image.urlExpirationDate" },
|
|
400
407
|
{ path: "programs.description.video.urlExpirationDate" },
|
|
@@ -469,7 +476,6 @@ function searchPrograms(payload) {
|
|
|
469
476
|
paths: [
|
|
470
477
|
{ path: "programs.createdDate" },
|
|
471
478
|
{ path: "programs.updatedDate" },
|
|
472
|
-
{ path: "programs.stateUpdatedDate" },
|
|
473
479
|
{ path: "programs.statusUpdatedDate" },
|
|
474
480
|
{ path: "programs.description.image.urlExpirationDate" },
|
|
475
481
|
{ path: "programs.description.video.urlExpirationDate" },
|
|
@@ -550,7 +556,6 @@ function publishProgram(payload) {
|
|
|
550
556
|
paths: [
|
|
551
557
|
{ path: "program.createdDate" },
|
|
552
558
|
{ path: "program.updatedDate" },
|
|
553
|
-
{ path: "program.stateUpdatedDate" },
|
|
554
559
|
{ path: "program.statusUpdatedDate" },
|
|
555
560
|
{ path: "program.description.image.urlExpirationDate" },
|
|
556
561
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -610,7 +615,6 @@ function endProgram(payload) {
|
|
|
610
615
|
paths: [
|
|
611
616
|
{ path: "program.createdDate" },
|
|
612
617
|
{ path: "program.updatedDate" },
|
|
613
|
-
{ path: "program.stateUpdatedDate" },
|
|
614
618
|
{ path: "program.statusUpdatedDate" },
|
|
615
619
|
{ path: "program.description.image.urlExpirationDate" },
|
|
616
620
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -670,7 +674,6 @@ function archiveProgram(payload) {
|
|
|
670
674
|
paths: [
|
|
671
675
|
{ path: "program.createdDate" },
|
|
672
676
|
{ path: "program.updatedDate" },
|
|
673
|
-
{ path: "program.stateUpdatedDate" },
|
|
674
677
|
{ path: "program.statusUpdatedDate" },
|
|
675
678
|
{ path: "program.description.image.urlExpirationDate" },
|
|
676
679
|
{ path: "program.description.video.urlExpirationDate" },
|
|
@@ -720,7 +723,6 @@ function bulkUpdatePrograms(payload) {
|
|
|
720
723
|
paths: [
|
|
721
724
|
{ path: "programs.program.createdDate" },
|
|
722
725
|
{ path: "programs.program.updatedDate" },
|
|
723
|
-
{ path: "programs.program.stateUpdatedDate" },
|
|
724
726
|
{ path: "programs.program.statusUpdatedDate" },
|
|
725
727
|
{ path: "programs.program.description.image.urlExpirationDate" },
|
|
726
728
|
{ path: "programs.program.description.video.urlExpirationDate" },
|
|
@@ -775,7 +777,6 @@ function bulkUpdatePrograms(payload) {
|
|
|
775
777
|
paths: [
|
|
776
778
|
{ path: "results.item.createdDate" },
|
|
777
779
|
{ path: "results.item.updatedDate" },
|
|
778
|
-
{ path: "results.item.stateUpdatedDate" },
|
|
779
780
|
{ path: "results.item.statusUpdatedDate" },
|
|
780
781
|
{ path: "results.item.description.image.urlExpirationDate" },
|
|
781
782
|
{ path: "results.item.description.video.urlExpirationDate" },
|
|
@@ -858,7 +859,6 @@ function listSamplePrograms(payload) {
|
|
|
858
859
|
paths: [
|
|
859
860
|
{ path: "programs.program.createdDate" },
|
|
860
861
|
{ path: "programs.program.updatedDate" },
|
|
861
|
-
{ path: "programs.program.stateUpdatedDate" },
|
|
862
862
|
{ path: "programs.program.statusUpdatedDate" },
|
|
863
863
|
{ path: "programs.program.description.image.urlExpirationDate" },
|
|
864
864
|
{ path: "programs.program.description.video.urlExpirationDate" },
|
|
@@ -911,40 +911,27 @@ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformatio
|
|
|
911
911
|
import { transformSDKPageURLToRESTPageURL } from "@wix/sdk-runtime/transformations/page-url";
|
|
912
912
|
import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
|
|
913
913
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
V3State2["PUBLISHED"] = "PUBLISHED";
|
|
917
|
-
V3State2["ENDED"] = "ENDED";
|
|
918
|
-
V3State2["ARCHIVED"] = "ARCHIVED";
|
|
919
|
-
return V3State2;
|
|
920
|
-
})(V3State || {});
|
|
914
|
+
import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
|
|
915
|
+
import { createSearchUtils } from "@wix/sdk-runtime/search-builder-utils";
|
|
921
916
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
922
|
-
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
923
917
|
Status2["DRAFT"] = "DRAFT";
|
|
924
918
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
925
919
|
Status2["ENDED"] = "ENDED";
|
|
926
920
|
Status2["ARCHIVED"] = "ARCHIVED";
|
|
927
921
|
return Status2;
|
|
928
922
|
})(Status || {});
|
|
929
|
-
var RestrictionsAccessType = /* @__PURE__ */ ((RestrictionsAccessType2) => {
|
|
930
|
-
RestrictionsAccessType2["UNKNOWN_ACCESS_TYPE"] = "UNKNOWN_ACCESS_TYPE";
|
|
931
|
-
RestrictionsAccessType2["PUBLIC"] = "PUBLIC";
|
|
932
|
-
RestrictionsAccessType2["PRIVATE"] = "PRIVATE";
|
|
933
|
-
RestrictionsAccessType2["SECRET"] = "SECRET";
|
|
934
|
-
return RestrictionsAccessType2;
|
|
935
|
-
})(RestrictionsAccessType || {});
|
|
936
|
-
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
937
|
-
Trigger2["JOINED_TO_PROGRAM"] = "JOINED_TO_PROGRAM";
|
|
938
|
-
Trigger2["STEP_COMPLETED"] = "STEP_COMPLETED";
|
|
939
|
-
Trigger2["ALL_STEPS_COMPLETED"] = "ALL_STEPS_COMPLETED";
|
|
940
|
-
return Trigger2;
|
|
941
|
-
})(Trigger || {});
|
|
942
923
|
var AccessType = /* @__PURE__ */ ((AccessType2) => {
|
|
943
924
|
AccessType2["PUBLIC"] = "PUBLIC";
|
|
944
925
|
AccessType2["PRIVATE"] = "PRIVATE";
|
|
945
926
|
AccessType2["SECRET"] = "SECRET";
|
|
946
927
|
return AccessType2;
|
|
947
928
|
})(AccessType || {});
|
|
929
|
+
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
930
|
+
Trigger2["JOINED_TO_PROGRAM"] = "JOINED_TO_PROGRAM";
|
|
931
|
+
Trigger2["STEP_COMPLETED"] = "STEP_COMPLETED";
|
|
932
|
+
Trigger2["ALL_STEPS_COMPLETED"] = "ALL_STEPS_COMPLETED";
|
|
933
|
+
return Trigger2;
|
|
934
|
+
})(Trigger || {});
|
|
948
935
|
var Enum = /* @__PURE__ */ ((Enum2) => {
|
|
949
936
|
Enum2["UNKNOWN"] = "UNKNOWN";
|
|
950
937
|
Enum2["PROTECTED"] = "PROTECTED";
|
|
@@ -982,14 +969,12 @@ var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
|
982
969
|
return MissingValues2;
|
|
983
970
|
})(MissingValues || {});
|
|
984
971
|
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
985
|
-
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
986
972
|
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
987
973
|
ScalarType2["MIN"] = "MIN";
|
|
988
974
|
ScalarType2["MAX"] = "MAX";
|
|
989
975
|
return ScalarType2;
|
|
990
976
|
})(ScalarType || {});
|
|
991
977
|
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
992
|
-
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
993
978
|
NestedAggregationType2["VALUE"] = "VALUE";
|
|
994
979
|
NestedAggregationType2["RANGE"] = "RANGE";
|
|
995
980
|
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
@@ -997,7 +982,6 @@ var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
|
997
982
|
return NestedAggregationType2;
|
|
998
983
|
})(NestedAggregationType || {});
|
|
999
984
|
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
1000
|
-
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
1001
985
|
Interval2["YEAR"] = "YEAR";
|
|
1002
986
|
Interval2["MONTH"] = "MONTH";
|
|
1003
987
|
Interval2["WEEK"] = "WEEK";
|
|
@@ -1008,7 +992,6 @@ var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
|
1008
992
|
return Interval2;
|
|
1009
993
|
})(Interval || {});
|
|
1010
994
|
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
1011
|
-
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1012
995
|
AggregationType2["VALUE"] = "VALUE";
|
|
1013
996
|
AggregationType2["RANGE"] = "RANGE";
|
|
1014
997
|
AggregationType2["SCALAR"] = "SCALAR";
|
|
@@ -1072,6 +1055,8 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
1072
1055
|
Namespace2["TWINS"] = "TWINS";
|
|
1073
1056
|
Namespace2["NANO"] = "NANO";
|
|
1074
1057
|
Namespace2["BASE44"] = "BASE44";
|
|
1058
|
+
Namespace2["CHANNELS"] = "CHANNELS";
|
|
1059
|
+
Namespace2["NAUTILUS"] = "NAUTILUS";
|
|
1075
1060
|
return Namespace2;
|
|
1076
1061
|
})(Namespace || {});
|
|
1077
1062
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -1424,6 +1409,14 @@ async function typedQueryPrograms(query) {
|
|
|
1424
1409
|
throw transformedError;
|
|
1425
1410
|
}
|
|
1426
1411
|
}
|
|
1412
|
+
var utils = {
|
|
1413
|
+
query: {
|
|
1414
|
+
...createQueryUtils()
|
|
1415
|
+
},
|
|
1416
|
+
search: {
|
|
1417
|
+
...createSearchUtils()
|
|
1418
|
+
}
|
|
1419
|
+
};
|
|
1427
1420
|
async function searchPrograms2(search) {
|
|
1428
1421
|
const { httpClient, sideEffects } = arguments[1];
|
|
1429
1422
|
const payload = renameKeysFromSDKRequestToRESTRequest({ search });
|
|
@@ -1719,7 +1712,6 @@ export {
|
|
|
1719
1712
|
NestedAggregationType,
|
|
1720
1713
|
PlacementType,
|
|
1721
1714
|
ResolutionMethod,
|
|
1722
|
-
RestrictionsAccessType,
|
|
1723
1715
|
ScalarType,
|
|
1724
1716
|
SearchIndexingNotificationState,
|
|
1725
1717
|
SiteCreatedContext,
|
|
@@ -1729,7 +1721,6 @@ export {
|
|
|
1729
1721
|
State,
|
|
1730
1722
|
Status,
|
|
1731
1723
|
Trigger,
|
|
1732
|
-
V3State,
|
|
1733
1724
|
WebhookIdentityType,
|
|
1734
1725
|
archiveProgram2 as archiveProgram,
|
|
1735
1726
|
bulkUpdatePrograms2 as bulkUpdatePrograms,
|
|
@@ -1744,6 +1735,7 @@ export {
|
|
|
1744
1735
|
queryPrograms2 as queryPrograms,
|
|
1745
1736
|
searchPrograms2 as searchPrograms,
|
|
1746
1737
|
typedQueryPrograms,
|
|
1747
|
-
updateProgram2 as updateProgram
|
|
1738
|
+
updateProgram2 as updateProgram,
|
|
1739
|
+
utils
|
|
1748
1740
|
};
|
|
1749
1741
|
//# sourceMappingURL=index.typings.mjs.map
|