@wix/auto_sdk_online-programs_programs 1.0.33 → 1.0.35
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.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +19 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-v3-program-programs.universal-UuyolOfn.d.ts → online-programs-v3-program-programs.universal-7yJy1Sk4.d.ts} +23 -7
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +19 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-v3-program-programs.universal-UuyolOfn.d.mts → online-programs-v3-program-programs.universal-7yJy1Sk4.d.mts} +23 -7
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +19 -7
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-CPrYomr6.d.ts → online-programs-v3-program-programs.universal-DVoymVrV.d.ts} +23 -7
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +19 -7
- package/build/internal/es/{online-programs-v3-program-programs.universal-CPrYomr6.d.mts → online-programs-v3-program-programs.universal-DVoymVrV.d.mts} +23 -7
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ax as CreateProgramRequest$1, ay as CreateProgramResponse$1, aI as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aJ as GetProgramRequest$1, aK as GetProgramResponse$1, aL as UpdateProgramRequest$1, aM as UpdateProgramResponse$1, aS as DeleteProgramRequest$1, aT as DeleteProgramResponse$1, aU as QueryProgramsRequest$1, a_ as QueryProgramsResponse$1, b1 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bF as PublishProgramRequest$1, c as PublishProgramResponse$1, bG as EndProgramRequest$1, E as EndProgramResponse$1, bH as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bI as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bK as CountProgramsRequest$1, f as CountProgramsResponse$1, bL as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-
|
|
1
|
+
import { ax as CreateProgramRequest$1, ay as CreateProgramResponse$1, aI as DuplicateProgramRequest$1, D as DuplicateProgramResponse$1, aJ as GetProgramRequest$1, aK as GetProgramResponse$1, aL as UpdateProgramRequest$1, aM as UpdateProgramResponse$1, aS as DeleteProgramRequest$1, aT as DeleteProgramResponse$1, aU as QueryProgramsRequest$1, a_ as QueryProgramsResponse$1, b1 as SearchProgramsRequest$1, S as SearchProgramsResponse$1, bF as PublishProgramRequest$1, c as PublishProgramResponse$1, bG as EndProgramRequest$1, E as EndProgramResponse$1, bH as ArchiveProgramRequest$1, A as ArchiveProgramResponse$1, bI as BulkUpdateProgramsRequest$1, e as BulkUpdateProgramsResponse$1, bK as CountProgramsRequest$1, f as CountProgramsResponse$1, bL as ListSampleProgramsRequest$1, L as ListSampleProgramsResponse$1 } from './online-programs-v3-program-programs.universal-7yJy1Sk4.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -51,7 +51,11 @@ interface Program {
|
|
|
51
51
|
timeline?: Timeline;
|
|
52
52
|
/** Program access, participation, and progression rules. */
|
|
53
53
|
restrictions?: Restrictions;
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Optional one-time payment price for joining the program. When creating or updating a program,
|
|
56
|
+
* provide `price.value` only. `price.currency` is read-only and is populated from the site's
|
|
57
|
+
* payment currency in Site Properties.
|
|
58
|
+
*/
|
|
55
59
|
price?: Money;
|
|
56
60
|
/** SEO settings used for the program page. */
|
|
57
61
|
seo?: Seo;
|
|
@@ -215,10 +219,7 @@ declare enum AccessType {
|
|
|
215
219
|
}
|
|
216
220
|
/** @enumType */
|
|
217
221
|
type AccessTypeWithLiterals = AccessType | 'PUBLIC' | 'PRIVATE' | 'SECRET';
|
|
218
|
-
/**
|
|
219
|
-
* Money.
|
|
220
|
-
* Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
|
|
221
|
-
*/
|
|
222
|
+
/** Monetary amount for an Online Program. */
|
|
222
223
|
interface Money {
|
|
223
224
|
/**
|
|
224
225
|
* Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99).
|
|
@@ -226,7 +227,8 @@ interface Money {
|
|
|
226
227
|
*/
|
|
227
228
|
value?: string;
|
|
228
229
|
/**
|
|
229
|
-
*
|
|
230
|
+
* Site payment currency code in ISO 4217 format (for example, `USD`). This field is read-only and
|
|
231
|
+
* is populated from Site Properties. Don't provide it when creating or updating a program.
|
|
230
232
|
* @format CURRENCY
|
|
231
233
|
* @readonly
|
|
232
234
|
*/
|
|
@@ -729,14 +731,24 @@ interface Schema {
|
|
|
729
731
|
label?: string;
|
|
730
732
|
clusterName?: string;
|
|
731
733
|
}
|
|
734
|
+
/** Domain event emitted when a program is published. */
|
|
732
735
|
interface ProgramPublished {
|
|
736
|
+
/** Snapshot of the program after it was published. */
|
|
737
|
+
program?: Program;
|
|
733
738
|
}
|
|
739
|
+
/** Domain event emitted when a program ends. */
|
|
734
740
|
interface ProgramEnded {
|
|
735
741
|
/** Whether the program was ended manually by the owner. */
|
|
736
742
|
endedByOwner?: boolean;
|
|
743
|
+
/** Snapshot of the program after it ended. */
|
|
744
|
+
program?: Program;
|
|
737
745
|
}
|
|
746
|
+
/** Domain event emitted when a program is archived. */
|
|
738
747
|
interface ProgramArchived {
|
|
748
|
+
/** Snapshot of the program after it was archived. */
|
|
749
|
+
program?: Program;
|
|
739
750
|
}
|
|
751
|
+
/** Domain event emitted when a program is duplicated. */
|
|
740
752
|
interface ProgramDuplicated {
|
|
741
753
|
/** Newly created program. */
|
|
742
754
|
program?: Program;
|