@wix/packages 1.0.4 → 1.0.6

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.
@@ -1025,7 +1025,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
1025
1025
  slug?: string;
1026
1026
  /** ID of the entity associated with the event. */
1027
1027
  entityId?: string;
1028
- /** Event timestamp. */
1028
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1029
1029
  eventTime?: Date;
1030
1030
  /**
1031
1031
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1134,17 +1134,15 @@ interface UpdateProductInstanceResponse {
1134
1134
  /** Updated Product Instance */
1135
1135
  productInstance?: ProductInstance;
1136
1136
  }
1137
- interface UpdatePackageRequest {
1138
- /** Idempotency Key */
1139
- idempotencyKey?: string | null;
1140
- /** Updated Package */
1141
- package?: Package;
1137
+ interface UpdatePackageExternalIdRequest {
1138
+ /** The id of the package that we want to update. */
1139
+ packageId: string;
1140
+ /** The external id that will be assigned to the package. */
1141
+ externalId: string;
1142
1142
  }
1143
- interface UpdatePackageResponse {
1144
- /** Idempotency Key */
1145
- idempotencyKey?: string | null;
1143
+ interface UpdatePackageExternalIdResponse {
1146
1144
  /** Updated Package */
1147
- package?: Package;
1145
+ updatedPackage?: Package;
1148
1146
  }
1149
1147
  interface CountPackagesRequest {
1150
1148
  /** Filter on what packages to count */
@@ -1194,203 +1192,56 @@ declare enum WebhookIdentityType {
1194
1192
  WIX_USER = "WIX_USER",
1195
1193
  APP = "APP"
1196
1194
  }
1195
+ interface CycleIntervalNonNullableFields {
1196
+ unit: IntervalIntervalUnit;
1197
+ count: number;
1198
+ }
1199
+ interface ProductInstanceCycleNonNullableFields {
1200
+ type: CycleDescriptorType;
1201
+ cycleDuration?: CycleIntervalNonNullableFields;
1202
+ }
1203
+ interface FailureReasonNonNullableFields {
1204
+ code: FailureReasonFailureReason;
1205
+ message: string;
1206
+ }
1207
+ interface ProductInstanceNonNullableFields {
1208
+ billingInfo?: ProductInstanceCycleNonNullableFields;
1209
+ instanceId: string;
1210
+ catalogProductId: string;
1211
+ status: Status;
1212
+ failure?: FailureReasonNonNullableFields;
1213
+ }
1214
+ interface PackageNonNullableFields {
1215
+ _id: string;
1216
+ accountId: string;
1217
+ productInstances: ProductInstanceNonNullableFields[];
1218
+ }
1197
1219
  interface CreatePackageResponseNonNullableFields {
1198
- package?: {
1199
- _id: string;
1200
- accountId: string;
1201
- productInstances: {
1202
- billingInfo?: {
1203
- type: CycleDescriptorType;
1204
- cycleDuration?: {
1205
- unit: IntervalIntervalUnit;
1206
- count: number;
1207
- };
1208
- };
1209
- instanceId: string;
1210
- catalogProductId: string;
1211
- status: Status;
1212
- failure?: {
1213
- code: FailureReasonFailureReason;
1214
- message: string;
1215
- };
1216
- }[];
1217
- };
1220
+ package?: PackageNonNullableFields;
1218
1221
  }
1219
1222
  interface CancelPackageResponseNonNullableFields {
1220
- package?: {
1221
- _id: string;
1222
- accountId: string;
1223
- productInstances: {
1224
- billingInfo?: {
1225
- type: CycleDescriptorType;
1226
- cycleDuration?: {
1227
- unit: IntervalIntervalUnit;
1228
- count: number;
1229
- };
1230
- };
1231
- instanceId: string;
1232
- catalogProductId: string;
1233
- status: Status;
1234
- failure?: {
1235
- code: FailureReasonFailureReason;
1236
- message: string;
1237
- };
1238
- }[];
1239
- };
1223
+ package?: PackageNonNullableFields;
1240
1224
  }
1241
1225
  interface GetPackageResponseNonNullableFields {
1242
- package?: {
1243
- _id: string;
1244
- accountId: string;
1245
- productInstances: {
1246
- billingInfo?: {
1247
- type: CycleDescriptorType;
1248
- cycleDuration?: {
1249
- unit: IntervalIntervalUnit;
1250
- count: number;
1251
- };
1252
- };
1253
- instanceId: string;
1254
- catalogProductId: string;
1255
- status: Status;
1256
- failure?: {
1257
- code: FailureReasonFailureReason;
1258
- message: string;
1259
- };
1260
- }[];
1261
- };
1226
+ package?: PackageNonNullableFields;
1262
1227
  }
1263
1228
  interface QueryPackagesResponseNonNullableFields {
1264
- packages: {
1265
- _id: string;
1266
- accountId: string;
1267
- productInstances: {
1268
- billingInfo?: {
1269
- type: CycleDescriptorType;
1270
- cycleDuration?: {
1271
- unit: IntervalIntervalUnit;
1272
- count: number;
1273
- };
1274
- };
1275
- instanceId: string;
1276
- catalogProductId: string;
1277
- status: Status;
1278
- failure?: {
1279
- code: FailureReasonFailureReason;
1280
- message: string;
1281
- };
1282
- }[];
1283
- }[];
1229
+ packages: PackageNonNullableFields[];
1284
1230
  }
1285
1231
  interface AssignProductInstanceToSiteResponseNonNullableFields {
1286
- package?: {
1287
- _id: string;
1288
- accountId: string;
1289
- productInstances: {
1290
- billingInfo?: {
1291
- type: CycleDescriptorType;
1292
- cycleDuration?: {
1293
- unit: IntervalIntervalUnit;
1294
- count: number;
1295
- };
1296
- };
1297
- instanceId: string;
1298
- catalogProductId: string;
1299
- status: Status;
1300
- failure?: {
1301
- code: FailureReasonFailureReason;
1302
- message: string;
1303
- };
1304
- }[];
1305
- };
1232
+ package?: PackageNonNullableFields;
1306
1233
  }
1307
1234
  interface UnassignProductInstanceFromSiteResponseNonNullableFields {
1308
- package?: {
1309
- _id: string;
1310
- accountId: string;
1311
- productInstances: {
1312
- billingInfo?: {
1313
- type: CycleDescriptorType;
1314
- cycleDuration?: {
1315
- unit: IntervalIntervalUnit;
1316
- count: number;
1317
- };
1318
- };
1319
- instanceId: string;
1320
- catalogProductId: string;
1321
- status: Status;
1322
- failure?: {
1323
- code: FailureReasonFailureReason;
1324
- message: string;
1325
- };
1326
- }[];
1327
- };
1235
+ package?: PackageNonNullableFields;
1328
1236
  }
1329
1237
  interface CancelProductInstanceResponseNonNullableFields {
1330
- package?: {
1331
- _id: string;
1332
- accountId: string;
1333
- productInstances: {
1334
- billingInfo?: {
1335
- type: CycleDescriptorType;
1336
- cycleDuration?: {
1337
- unit: IntervalIntervalUnit;
1338
- count: number;
1339
- };
1340
- };
1341
- instanceId: string;
1342
- catalogProductId: string;
1343
- status: Status;
1344
- failure?: {
1345
- code: FailureReasonFailureReason;
1346
- message: string;
1347
- };
1348
- }[];
1349
- };
1238
+ package?: PackageNonNullableFields;
1350
1239
  }
1351
1240
  interface AdjustProductInstanceSpecificationsResponseNonNullableFields {
1352
- package?: {
1353
- _id: string;
1354
- accountId: string;
1355
- productInstances: {
1356
- billingInfo?: {
1357
- type: CycleDescriptorType;
1358
- cycleDuration?: {
1359
- unit: IntervalIntervalUnit;
1360
- count: number;
1361
- };
1362
- };
1363
- instanceId: string;
1364
- catalogProductId: string;
1365
- status: Status;
1366
- failure?: {
1367
- code: FailureReasonFailureReason;
1368
- message: string;
1369
- };
1370
- }[];
1371
- };
1372
- }
1373
- interface UpdatePackageResponseNonNullableFields {
1374
- package?: {
1375
- _id: string;
1376
- accountId: string;
1377
- productInstances: {
1378
- billingInfo?: {
1379
- type: CycleDescriptorType;
1380
- cycleDuration?: {
1381
- unit: IntervalIntervalUnit;
1382
- count: number;
1383
- };
1384
- };
1385
- instanceId: string;
1386
- catalogProductId: string;
1387
- status: Status;
1388
- failure?: {
1389
- code: FailureReasonFailureReason;
1390
- message: string;
1391
- };
1392
- }[];
1393
- };
1241
+ package?: PackageNonNullableFields;
1242
+ }
1243
+ interface UpdatePackageExternalIdResponseNonNullableFields {
1244
+ updatedPackage?: PackageNonNullableFields;
1394
1245
  }
1395
1246
  interface CreatePackageOptions {
1396
1247
  /** Idempotency key. */
@@ -1461,13 +1312,14 @@ interface AdjustProductInstanceSpecificationsOptions {
1461
1312
  */
1462
1313
  discountCode?: string | null;
1463
1314
  }
1464
- interface UpdatePackageOptions {
1465
- /** Idempotency Key */
1466
- idempotencyKey?: string | null;
1467
- /** Updated Package */
1468
- package?: Package;
1315
+ interface UpdatePackageExternalIdIdentifiers {
1316
+ /** The id of the package that we want to update. */
1317
+ packageId: string;
1318
+ /** The external id that will be assigned to the package. */
1319
+ externalId: string;
1469
1320
  }
1470
1321
 
1322
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1471
1323
  interface HttpClient {
1472
1324
  request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1473
1325
  fetchWithAuth: typeof fetch;
@@ -1492,6 +1344,7 @@ type APIMetadata = {
1492
1344
  entityFqdn?: string;
1493
1345
  packageName?: string;
1494
1346
  };
1347
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1495
1348
 
1496
1349
  declare global {
1497
1350
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -1500,19 +1353,18 @@ declare global {
1500
1353
  }
1501
1354
  }
1502
1355
 
1503
- declare const __metadata: {
1504
- PACKAGE_NAME: string;
1505
- };
1506
- declare function createPackage(httpClient: HttpClient): (options?: CreatePackageOptions) => Promise<CreatePackageResponse & CreatePackageResponseNonNullableFields>;
1507
- declare function createPackageV2(httpClient: HttpClient): (options?: CreatePackageV2Options) => Promise<CreatePackageResponse & CreatePackageResponseNonNullableFields>;
1508
- declare function cancelPackage(httpClient: HttpClient): (_id: string, options?: CancelPackageOptions) => Promise<CancelPackageResponse & CancelPackageResponseNonNullableFields>;
1509
- declare function getPackage(httpClient: HttpClient): (_id: string) => Promise<GetPackageResponse & GetPackageResponseNonNullableFields>;
1510
- declare function queryPackages(httpClient: HttpClient): (query: QueryV2) => Promise<QueryPackagesResponse & QueryPackagesResponseNonNullableFields>;
1511
- declare function assignProductInstanceToSite(httpClient: HttpClient): (identifiers: AssignProductInstanceToSiteIdentifiers, options?: AssignProductInstanceToSiteOptions) => Promise<AssignProductInstanceToSiteResponse & AssignProductInstanceToSiteResponseNonNullableFields>;
1512
- declare function unassignProductInstanceFromSite(httpClient: HttpClient): (instanceId: string, options?: UnassignProductInstanceFromSiteOptions) => Promise<UnassignProductInstanceFromSiteResponse & UnassignProductInstanceFromSiteResponseNonNullableFields>;
1513
- declare function cancelProductInstance(httpClient: HttpClient): (instanceId: string, options?: CancelProductInstanceOptions) => Promise<CancelProductInstanceResponse & CancelProductInstanceResponseNonNullableFields>;
1514
- declare function adjustProductInstanceSpecifications(httpClient: HttpClient): (instanceId: string, options?: AdjustProductInstanceSpecificationsOptions) => Promise<AdjustProductInstanceSpecificationsResponse & AdjustProductInstanceSpecificationsResponseNonNullableFields>;
1515
- declare function updatePackage(httpClient: HttpClient): (options?: UpdatePackageOptions) => Promise<UpdatePackageResponse & UpdatePackageResponseNonNullableFields>;
1356
+ declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1357
+
1358
+ declare const createPackage: ReturnType<typeof createRESTModule<typeof publicCreatePackage>>;
1359
+ declare const createPackageV2: ReturnType<typeof createRESTModule<typeof publicCreatePackageV2>>;
1360
+ declare const cancelPackage: ReturnType<typeof createRESTModule<typeof publicCancelPackage>>;
1361
+ declare const getPackage: ReturnType<typeof createRESTModule<typeof publicGetPackage>>;
1362
+ declare const queryPackages: ReturnType<typeof createRESTModule<typeof publicQueryPackages>>;
1363
+ declare const assignProductInstanceToSite: ReturnType<typeof createRESTModule<typeof publicAssignProductInstanceToSite>>;
1364
+ declare const unassignProductInstanceFromSite: ReturnType<typeof createRESTModule<typeof publicUnassignProductInstanceFromSite>>;
1365
+ declare const cancelProductInstance: ReturnType<typeof createRESTModule<typeof publicCancelProductInstance>>;
1366
+ declare const adjustProductInstanceSpecifications: ReturnType<typeof createRESTModule<typeof publicAdjustProductInstanceSpecifications>>;
1367
+ declare const updatePackageExternalId: ReturnType<typeof createRESTModule<typeof publicUpdatePackageExternalId>>;
1516
1368
 
1517
1369
  type index_d_ActionEvent = ActionEvent;
1518
1370
  type index_d_AdjustProductInstanceSpecificationsOptions = AdjustProductInstanceSpecificationsOptions;
@@ -1643,15 +1495,14 @@ type index_d_UnassignProductInstanceFromSiteResponseNonNullableFields = Unassign
1643
1495
  type index_d_UnassignReason = UnassignReason;
1644
1496
  declare const index_d_UnassignReason: typeof UnassignReason;
1645
1497
  type index_d_UnassignedProductInstanceFromSite = UnassignedProductInstanceFromSite;
1646
- type index_d_UpdatePackageOptions = UpdatePackageOptions;
1647
- type index_d_UpdatePackageRequest = UpdatePackageRequest;
1648
- type index_d_UpdatePackageResponse = UpdatePackageResponse;
1649
- type index_d_UpdatePackageResponseNonNullableFields = UpdatePackageResponseNonNullableFields;
1498
+ type index_d_UpdatePackageExternalIdIdentifiers = UpdatePackageExternalIdIdentifiers;
1499
+ type index_d_UpdatePackageExternalIdRequest = UpdatePackageExternalIdRequest;
1500
+ type index_d_UpdatePackageExternalIdResponse = UpdatePackageExternalIdResponse;
1501
+ type index_d_UpdatePackageExternalIdResponseNonNullableFields = UpdatePackageExternalIdResponseNonNullableFields;
1650
1502
  type index_d_UpdateProductInstanceRequest = UpdateProductInstanceRequest;
1651
1503
  type index_d_UpdateProductInstanceResponse = UpdateProductInstanceResponse;
1652
1504
  type index_d_WebhookIdentityType = WebhookIdentityType;
1653
1505
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
1654
- declare const index_d___metadata: typeof __metadata;
1655
1506
  declare const index_d_adjustProductInstanceSpecifications: typeof adjustProductInstanceSpecifications;
1656
1507
  declare const index_d_assignProductInstanceToSite: typeof assignProductInstanceToSite;
1657
1508
  declare const index_d_cancelPackage: typeof cancelPackage;
@@ -1661,9 +1512,9 @@ declare const index_d_createPackageV2: typeof createPackageV2;
1661
1512
  declare const index_d_getPackage: typeof getPackage;
1662
1513
  declare const index_d_queryPackages: typeof queryPackages;
1663
1514
  declare const index_d_unassignProductInstanceFromSite: typeof unassignProductInstanceFromSite;
1664
- declare const index_d_updatePackage: typeof updatePackage;
1515
+ declare const index_d_updatePackageExternalId: typeof updatePackageExternalId;
1665
1516
  declare namespace index_d {
1666
- export { type index_d_ActionEvent as ActionEvent, type index_d_AdjustProductInstanceSpecificationsOptions as AdjustProductInstanceSpecificationsOptions, type index_d_AdjustProductInstanceSpecificationsRequest as AdjustProductInstanceSpecificationsRequest, type index_d_AdjustProductInstanceSpecificationsResponse as AdjustProductInstanceSpecificationsResponse, type index_d_AdjustProductInstanceSpecificationsResponseNonNullableFields as AdjustProductInstanceSpecificationsResponseNonNullableFields, type index_d_AdjustedProductInstanceSpecifications as AdjustedProductInstanceSpecifications, type index_d_AssignProductInstanceToSiteIdentifiers as AssignProductInstanceToSiteIdentifiers, type index_d_AssignProductInstanceToSiteOptions as AssignProductInstanceToSiteOptions, type index_d_AssignProductInstanceToSiteRequest as AssignProductInstanceToSiteRequest, type index_d_AssignProductInstanceToSiteResponse as AssignProductInstanceToSiteResponse, type index_d_AssignProductInstanceToSiteResponseNonNullableFields as AssignProductInstanceToSiteResponseNonNullableFields, type index_d_AssignedProductInstanceToSite as AssignedProductInstanceToSite, type index_d_BillingReference as BillingReference, type index_d_Cancel as Cancel, type index_d_CancelPackageOptions as CancelPackageOptions, type index_d_CancelPackageRequest as CancelPackageRequest, type index_d_CancelPackageResponse as CancelPackageResponse, type index_d_CancelPackageResponseNonNullableFields as CancelPackageResponseNonNullableFields, type index_d_CancelProductInstanceOptions as CancelProductInstanceOptions, type index_d_CancelProductInstanceRequest as CancelProductInstanceRequest, type index_d_CancelProductInstanceResponse as CancelProductInstanceResponse, type index_d_CancelProductInstanceResponseNonNullableFields as CancelProductInstanceResponseNonNullableFields, type index_d_CancellationDetails as CancellationDetails, type index_d_Complete as Complete, index_d_ContractSwitchReason as ContractSwitchReason, index_d_ContractSwitchType as ContractSwitchType, type index_d_ContractSwitched as ContractSwitched, type index_d_CountPackagesRequest as CountPackagesRequest, type index_d_CountPackagesResponse as CountPackagesResponse, type index_d_CreatePackageOptions as CreatePackageOptions, type index_d_CreatePackageRequest as CreatePackageRequest, type index_d_CreatePackageResponse as CreatePackageResponse, type index_d_CreatePackageResponseNonNullableFields as CreatePackageResponseNonNullableFields, type index_d_CreatePackageV2Options as CreatePackageV2Options, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_Cycle as Cycle, type index_d_CycleCycleSelectorOneOf as CycleCycleSelectorOneOf, index_d_CycleDescriptorType as CycleDescriptorType, type index_d_CycleInterval as CycleInterval, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_FailureReason as FailureReason, index_d_FailureReasonFailureReason as FailureReasonFailureReason, type index_d_FailureReportRequest as FailureReportRequest, index_d_FieldToUpdate as FieldToUpdate, type index_d_GetPackageRequest as GetPackageRequest, type index_d_GetPackageResponse as GetPackageResponse, type index_d_GetPackageResponseNonNullableFields as GetPackageResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_Initiator as Initiator, type index_d_Interval as Interval, index_d_IntervalIntervalUnit as IntervalIntervalUnit, index_d_IntervalUnit as IntervalUnit, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MigrateSubscriptionToPackagesRequest as MigrateSubscriptionToPackagesRequest, type index_d_MigrateSubscriptionToPackagesResponse as MigrateSubscriptionToPackagesResponse, type index_d_OneTime as OneTime, type index_d_Package as Package, type index_d_PackageCanceled as PackageCanceled, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PriceIncreaseTrigger as PriceIncreaseTrigger, index_d_ProductAdjustment as ProductAdjustment, type index_d_ProductInstance as ProductInstance, type index_d_ProductInstanceCanceled as ProductInstanceCanceled, type index_d_ProductInstanceContractDetailsOneOf as ProductInstanceContractDetailsOneOf, type index_d_ProductInstanceCycle as ProductInstanceCycle, type index_d_ProductInstanceFailed as ProductInstanceFailed, type index_d_ProductInstanceUpdated as ProductInstanceUpdated, type index_d_ProductPriceIncreaseData as ProductPriceIncreaseData, index_d_ProviderName as ProviderName, type index_d_QueryPackagesRequest as QueryPackagesRequest, type index_d_QueryPackagesResponse as QueryPackagesResponse, type index_d_QueryPackagesResponseNonNullableFields as QueryPackagesResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ReactivationData as ReactivationData, index_d_ReactivationReasonEnum as ReactivationReasonEnum, type index_d_RecurringChargeSucceeded as RecurringChargeSucceeded, type index_d_Reschedule as Reschedule, type index_d_RestoreInfo as RestoreInfo, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_Status as Status, type index_d_Subscription as Subscription, type index_d_SubscriptionAssigned as SubscriptionAssigned, type index_d_SubscriptionAutoRenewTurnedOff as SubscriptionAutoRenewTurnedOff, type index_d_SubscriptionAutoRenewTurnedOn as SubscriptionAutoRenewTurnedOn, type index_d_SubscriptionCancelled as SubscriptionCancelled, type index_d_SubscriptionCreated as SubscriptionCreated, type index_d_SubscriptionEvent as SubscriptionEvent, type index_d_SubscriptionEventEventOneOf as SubscriptionEventEventOneOf, type index_d_SubscriptionNearEndOfPeriod as SubscriptionNearEndOfPeriod, type index_d_SubscriptionPendingChange as SubscriptionPendingChange, index_d_SubscriptionStatus as SubscriptionStatus, type index_d_SubscriptionTransferred as SubscriptionTransferred, type index_d_SubscriptionUnassigned as SubscriptionUnassigned, type index_d_Task as Task, type index_d_TaskAction as TaskAction, type index_d_TaskActionActionOneOf as TaskActionActionOneOf, type index_d_TaskKey as TaskKey, type index_d_UnassignProductInstanceFromSiteOptions as UnassignProductInstanceFromSiteOptions, type index_d_UnassignProductInstanceFromSiteRequest as UnassignProductInstanceFromSiteRequest, type index_d_UnassignProductInstanceFromSiteResponse as UnassignProductInstanceFromSiteResponse, type index_d_UnassignProductInstanceFromSiteResponseNonNullableFields as UnassignProductInstanceFromSiteResponseNonNullableFields, index_d_UnassignReason as UnassignReason, type index_d_UnassignedProductInstanceFromSite as UnassignedProductInstanceFromSite, type index_d_UpdatePackageOptions as UpdatePackageOptions, type index_d_UpdatePackageRequest as UpdatePackageRequest, type index_d_UpdatePackageResponse as UpdatePackageResponse, type index_d_UpdatePackageResponseNonNullableFields as UpdatePackageResponseNonNullableFields, type index_d_UpdateProductInstanceRequest as UpdateProductInstanceRequest, type index_d_UpdateProductInstanceResponse as UpdateProductInstanceResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_adjustProductInstanceSpecifications as adjustProductInstanceSpecifications, index_d_assignProductInstanceToSite as assignProductInstanceToSite, index_d_cancelPackage as cancelPackage, index_d_cancelProductInstance as cancelProductInstance, index_d_createPackage as createPackage, index_d_createPackageV2 as createPackageV2, index_d_getPackage as getPackage, index_d_queryPackages as queryPackages, index_d_unassignProductInstanceFromSite as unassignProductInstanceFromSite, index_d_updatePackage as updatePackage };
1517
+ export { type index_d_ActionEvent as ActionEvent, type index_d_AdjustProductInstanceSpecificationsOptions as AdjustProductInstanceSpecificationsOptions, type index_d_AdjustProductInstanceSpecificationsRequest as AdjustProductInstanceSpecificationsRequest, type index_d_AdjustProductInstanceSpecificationsResponse as AdjustProductInstanceSpecificationsResponse, type index_d_AdjustProductInstanceSpecificationsResponseNonNullableFields as AdjustProductInstanceSpecificationsResponseNonNullableFields, type index_d_AdjustedProductInstanceSpecifications as AdjustedProductInstanceSpecifications, type index_d_AssignProductInstanceToSiteIdentifiers as AssignProductInstanceToSiteIdentifiers, type index_d_AssignProductInstanceToSiteOptions as AssignProductInstanceToSiteOptions, type index_d_AssignProductInstanceToSiteRequest as AssignProductInstanceToSiteRequest, type index_d_AssignProductInstanceToSiteResponse as AssignProductInstanceToSiteResponse, type index_d_AssignProductInstanceToSiteResponseNonNullableFields as AssignProductInstanceToSiteResponseNonNullableFields, type index_d_AssignedProductInstanceToSite as AssignedProductInstanceToSite, type index_d_BillingReference as BillingReference, type index_d_Cancel as Cancel, type index_d_CancelPackageOptions as CancelPackageOptions, type index_d_CancelPackageRequest as CancelPackageRequest, type index_d_CancelPackageResponse as CancelPackageResponse, type index_d_CancelPackageResponseNonNullableFields as CancelPackageResponseNonNullableFields, type index_d_CancelProductInstanceOptions as CancelProductInstanceOptions, type index_d_CancelProductInstanceRequest as CancelProductInstanceRequest, type index_d_CancelProductInstanceResponse as CancelProductInstanceResponse, type index_d_CancelProductInstanceResponseNonNullableFields as CancelProductInstanceResponseNonNullableFields, type index_d_CancellationDetails as CancellationDetails, type index_d_Complete as Complete, index_d_ContractSwitchReason as ContractSwitchReason, index_d_ContractSwitchType as ContractSwitchType, type index_d_ContractSwitched as ContractSwitched, type index_d_CountPackagesRequest as CountPackagesRequest, type index_d_CountPackagesResponse as CountPackagesResponse, type index_d_CreatePackageOptions as CreatePackageOptions, type index_d_CreatePackageRequest as CreatePackageRequest, type index_d_CreatePackageResponse as CreatePackageResponse, type index_d_CreatePackageResponseNonNullableFields as CreatePackageResponseNonNullableFields, type index_d_CreatePackageV2Options as CreatePackageV2Options, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_Cycle as Cycle, type index_d_CycleCycleSelectorOneOf as CycleCycleSelectorOneOf, index_d_CycleDescriptorType as CycleDescriptorType, type index_d_CycleInterval as CycleInterval, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_FailureReason as FailureReason, index_d_FailureReasonFailureReason as FailureReasonFailureReason, type index_d_FailureReportRequest as FailureReportRequest, index_d_FieldToUpdate as FieldToUpdate, type index_d_GetPackageRequest as GetPackageRequest, type index_d_GetPackageResponse as GetPackageResponse, type index_d_GetPackageResponseNonNullableFields as GetPackageResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_Initiator as Initiator, type index_d_Interval as Interval, index_d_IntervalIntervalUnit as IntervalIntervalUnit, index_d_IntervalUnit as IntervalUnit, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MigrateSubscriptionToPackagesRequest as MigrateSubscriptionToPackagesRequest, type index_d_MigrateSubscriptionToPackagesResponse as MigrateSubscriptionToPackagesResponse, type index_d_OneTime as OneTime, type index_d_Package as Package, type index_d_PackageCanceled as PackageCanceled, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PriceIncreaseTrigger as PriceIncreaseTrigger, index_d_ProductAdjustment as ProductAdjustment, type index_d_ProductInstance as ProductInstance, type index_d_ProductInstanceCanceled as ProductInstanceCanceled, type index_d_ProductInstanceContractDetailsOneOf as ProductInstanceContractDetailsOneOf, type index_d_ProductInstanceCycle as ProductInstanceCycle, type index_d_ProductInstanceFailed as ProductInstanceFailed, type index_d_ProductInstanceUpdated as ProductInstanceUpdated, type index_d_ProductPriceIncreaseData as ProductPriceIncreaseData, index_d_ProviderName as ProviderName, type index_d_QueryPackagesRequest as QueryPackagesRequest, type index_d_QueryPackagesResponse as QueryPackagesResponse, type index_d_QueryPackagesResponseNonNullableFields as QueryPackagesResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ReactivationData as ReactivationData, index_d_ReactivationReasonEnum as ReactivationReasonEnum, type index_d_RecurringChargeSucceeded as RecurringChargeSucceeded, type index_d_Reschedule as Reschedule, type index_d_RestoreInfo as RestoreInfo, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_Status as Status, type index_d_Subscription as Subscription, type index_d_SubscriptionAssigned as SubscriptionAssigned, type index_d_SubscriptionAutoRenewTurnedOff as SubscriptionAutoRenewTurnedOff, type index_d_SubscriptionAutoRenewTurnedOn as SubscriptionAutoRenewTurnedOn, type index_d_SubscriptionCancelled as SubscriptionCancelled, type index_d_SubscriptionCreated as SubscriptionCreated, type index_d_SubscriptionEvent as SubscriptionEvent, type index_d_SubscriptionEventEventOneOf as SubscriptionEventEventOneOf, type index_d_SubscriptionNearEndOfPeriod as SubscriptionNearEndOfPeriod, type index_d_SubscriptionPendingChange as SubscriptionPendingChange, index_d_SubscriptionStatus as SubscriptionStatus, type index_d_SubscriptionTransferred as SubscriptionTransferred, type index_d_SubscriptionUnassigned as SubscriptionUnassigned, type index_d_Task as Task, type index_d_TaskAction as TaskAction, type index_d_TaskActionActionOneOf as TaskActionActionOneOf, type index_d_TaskKey as TaskKey, type index_d_UnassignProductInstanceFromSiteOptions as UnassignProductInstanceFromSiteOptions, type index_d_UnassignProductInstanceFromSiteRequest as UnassignProductInstanceFromSiteRequest, type index_d_UnassignProductInstanceFromSiteResponse as UnassignProductInstanceFromSiteResponse, type index_d_UnassignProductInstanceFromSiteResponseNonNullableFields as UnassignProductInstanceFromSiteResponseNonNullableFields, index_d_UnassignReason as UnassignReason, type index_d_UnassignedProductInstanceFromSite as UnassignedProductInstanceFromSite, type index_d_UpdatePackageExternalIdIdentifiers as UpdatePackageExternalIdIdentifiers, type index_d_UpdatePackageExternalIdRequest as UpdatePackageExternalIdRequest, type index_d_UpdatePackageExternalIdResponse as UpdatePackageExternalIdResponse, type index_d_UpdatePackageExternalIdResponseNonNullableFields as UpdatePackageExternalIdResponseNonNullableFields, type index_d_UpdateProductInstanceRequest as UpdateProductInstanceRequest, type index_d_UpdateProductInstanceResponse as UpdateProductInstanceResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d_adjustProductInstanceSpecifications as adjustProductInstanceSpecifications, index_d_assignProductInstanceToSite as assignProductInstanceToSite, index_d_cancelPackage as cancelPackage, index_d_cancelProductInstance as cancelProductInstance, index_d_createPackage as createPackage, index_d_createPackageV2 as createPackageV2, index_d_getPackage as getPackage, index_d_queryPackages as queryPackages, index_d_unassignProductInstanceFromSite as unassignProductInstanceFromSite, index_d_updatePackageExternalId as updatePackageExternalId };
1667
1518
  }
1668
1519
 
1669
1520
  export { index_d as packages };