controlresell 2.8.25 → 2.8.50
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/package.json +5 -7
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +25 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js +9 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.ts +7 -0
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +13 -0
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.js +9 -0
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.js.map +1 -0
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.ts +7 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +19 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.js +11 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.ts +9 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +35 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.js +9 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.ts +7 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.d.ts +10 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js +8 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +19 -0
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.js +12 -0
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.ts +10 -0
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +1620 -0
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/Preference.js +17 -0
- package/src/com/controlresell/auth/models/preferences/Preference.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/Preference.ts +15 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.d.ts +137 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.js +13 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.ts +11 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceType.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceType.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceType.js +8 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceType.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceType.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +4805 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.js +13 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.ts +11 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +3536 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.js +9 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.ts +8 -0
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.d.ts +13 -0
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.js +9 -0
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.ts +7 -0
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +1300 -0
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.js +14 -0
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.ts +12 -0
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +1297 -0
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.js +13 -0
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.ts +11 -0
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +1316 -0
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.js +16 -0
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.ts +14 -0
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.d.ts +19 -0
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.js +11 -0
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.ts +9 -0
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.d.ts +31 -0
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.js +16 -0
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.ts +14 -0
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.js +8 -0
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.d.ts +16 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.js +18 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.ts +18 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +92 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.js +37 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.ts +43 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +13 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.js +9 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.ts +7 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +28 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.js +18 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.ts +18 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +173 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.js +13 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.ts +11 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +218 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +35 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +43 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +319 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.js +14 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.ts +12 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.d.ts +25 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.js +9 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.ts +7 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.d.ts +13 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js +9 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.ts +7 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.d.ts +22 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.js +14 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.ts +12 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.d.ts +16 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.js +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.ts +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.d.ts +30 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.js +9 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.ts +7 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.d.ts +19 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.js +12 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.ts +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.d.ts +40 -0
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.js +18 -0
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.ts +16 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.d.ts +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.d.ts +46 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.js +20 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.ts +18 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.d.ts +83 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.js +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.ts +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.d.ts +10 -0
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.js +8 -0
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +5909 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.js +18 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.ts +16 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.d.ts +4 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.js +8 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.ts +6 -0
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +1021 -0
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.js +11 -0
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.ts +9 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +1027 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.js +13 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.ts +11 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +1532 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.js +59 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.ts +75 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +1021 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.js +11 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.ts +9 -0
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.d.ts +16 -0
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.js +11 -0
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.ts +9 -0
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +37 -0
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.js +14 -0
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.ts +12 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.d.ts +52 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.js +21 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.js.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.ts +19 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.d.ts +4 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.d.ts.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.js +8 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.js.map +1 -0
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.ts +6 -0
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.d.ts +4 -0
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js +8 -0
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js.map +1 -0
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.ts +6 -0
- package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts +487 -0
- package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/Conversation.js +19 -0
- package/src/com/controlresell/inbox/models/conversations/Conversation.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/Conversation.ts +17 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.d.ts +22 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.js +13 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.ts +11 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +902 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.js +11 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.ts +9 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts +950 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.js +13 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.ts +11 -0
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.d.ts +13 -0
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.js +9 -0
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.ts +7 -0
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.d.ts +13 -0
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.js +9 -0
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.ts +7 -0
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.d.ts +16 -0
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.js +10 -0
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.ts +8 -0
- package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts +689 -0
- package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/UserConversations.js +15 -0
- package/src/com/controlresell/inbox/models/conversations/UserConversations.js.map +1 -0
- package/src/com/controlresell/inbox/models/conversations/UserConversations.ts +13 -0
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.d.ts +110 -0
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.js +17 -0
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.js.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.ts +15 -0
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.d.ts +19 -0
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.js +11 -0
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.ts +9 -0
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.d.ts +164 -0
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.js +9 -0
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.js.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.ts +7 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.d.ts +41 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.js +11 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.js.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.ts +9 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.d.ts +164 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.js +9 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.js.map +1 -0
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.ts +7 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.d.ts +203 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.js +27 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.ts +25 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.d.ts +19 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.js +12 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.d.ts +4 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.js +8 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.ts +6 -0
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.d.ts +28 -0
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.js +17 -0
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.ts +15 -0
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.d.ts +304 -0
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.js +12 -0
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.d.ts +19 -0
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.js +13 -0
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.ts +11 -0
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.d.ts +49 -0
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.js +12 -0
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.d.ts +13 -0
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.js +9 -0
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.ts +7 -0
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.d.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.js +8 -0
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.ts +6 -0
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.d.ts +22 -0
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.js +13 -0
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.ts +11 -0
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.d.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.js +9 -0
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.ts +7 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.d.ts +119 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.js +12 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.d.ts +19 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.js +11 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.ts +9 -0
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.d.ts +13 -0
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.js +9 -0
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.ts +7 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.d.ts +16 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.js +10 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.ts +8 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.d.ts +10 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.js +8 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.ts +6 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.d.ts +13 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.js +11 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.ts +9 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.d.ts +4 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.js +8 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.ts +6 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.d.ts +4 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.js +8 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.js.map +1 -0
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.ts +6 -0
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.d.ts +28 -0
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.js +15 -0
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.ts +13 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.d.ts +19 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.js +12 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.ts +10 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.d.ts +10 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.js +8 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.ts +6 -0
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.d.ts +22 -0
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.js +13 -0
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.ts +11 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.d.ts +19 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.js +11 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.ts +9 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.d.ts +19 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.js +12 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.ts +10 -0
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.d.ts +16 -0
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.js +11 -0
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.ts +9 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.d.ts +13 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.js +9 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.js.map +1 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.ts +8 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.d.ts +1905 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.js +9 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.js.map +1 -0
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.ts +7 -0
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.d.ts +22 -0
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.js +12 -0
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.ts +10 -0
- package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts +288 -0
- package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/Transaction.js +16 -0
- package/src/com/controlresell/inbox/models/transactions/Transaction.js.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/Transaction.ts +14 -0
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.d.ts +19 -0
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.js +11 -0
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.ts +9 -0
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.d.ts +10 -0
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.js +8 -0
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.ts +6 -0
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts +195 -0
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.js +11 -0
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.js.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.ts +9 -0
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +3021 -0
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.js +11 -0
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.js.map +1 -0
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.ts +9 -0
- package/src/com/controlresell/inbox/models/users/ConversationUser.d.ts +64 -0
- package/src/com/controlresell/inbox/models/users/ConversationUser.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/users/ConversationUser.js +17 -0
- package/src/com/controlresell/inbox/models/users/ConversationUser.js.map +1 -0
- package/src/com/controlresell/inbox/models/users/ConversationUser.ts +15 -0
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.d.ts +25 -0
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.js +13 -0
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.ts +11 -0
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.d.ts +22 -0
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.d.ts.map +1 -0
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.js +12 -0
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.js.map +1 -0
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.ts +10 -0
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.d.ts +4 -0
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.js +8 -0
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.js.map +1 -0
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.ts +6 -0
- package/src/com/controlresell/inventory/models/customers/Customer.d.ts +40 -0
- package/src/com/controlresell/inventory/models/customers/Customer.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/Customer.js +19 -0
- package/src/com/controlresell/inventory/models/customers/Customer.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/Customer.ts +17 -0
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.d.ts +10 -0
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.js +8 -0
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.ts +6 -0
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.d.ts +52 -0
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.js +13 -0
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.ts +11 -0
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.d.ts +13 -0
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.js +9 -0
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.ts +7 -0
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.js +8 -0
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.ts +6 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.d.ts +28 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.js +10 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.ts +8 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.d.ts +40 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.js +9 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.js.map +1 -0
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.ts +7 -0
- package/src/com/controlresell/inventory/models/fees/Fee.d.ts +49 -0
- package/src/com/controlresell/inventory/models/fees/Fee.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/fees/Fee.js +23 -0
- package/src/com/controlresell/inventory/models/fees/Fee.js.map +1 -0
- package/src/com/controlresell/inventory/models/fees/Fee.ts +21 -0
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.d.ts +4 -0
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.js +8 -0
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.js.map +1 -0
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.ts +6 -0
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +2688 -0
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/CreatedItems.js +11 -0
- package/src/com/controlresell/inventory/models/items/CreatedItems.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/CreatedItems.ts +9 -0
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.js +9 -0
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.ts +7 -0
- package/src/com/controlresell/inventory/models/items/Item.d.ts +2084 -0
- package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/Item.js +52 -0
- package/src/com/controlresell/inventory/models/items/Item.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/Item.ts +50 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts +211 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js +40 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.ts +38 -0
- package/src/com/controlresell/inventory/models/items/ItemPayload.d.ts +112 -0
- package/src/com/controlresell/inventory/models/items/ItemPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemPayload.js +39 -0
- package/src/com/controlresell/inventory/models/items/ItemPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemPayload.ts +37 -0
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.d.ts +19 -0
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.js +11 -0
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.ts +9 -0
- package/src/com/controlresell/inventory/models/items/ItemSort.d.ts +4 -0
- package/src/com/controlresell/inventory/models/items/ItemSort.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemSort.js +8 -0
- package/src/com/controlresell/inventory/models/items/ItemSort.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemSort.ts +6 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +2656 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.js +12 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.ts +10 -0
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts +2662 -0
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.js +13 -0
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.ts +11 -0
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +2688 -0
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/UpdatedItem.js +11 -0
- package/src/com/controlresell/inventory/models/items/UpdatedItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/UpdatedItem.ts +9 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.d.ts +34 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.js +16 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.ts +14 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.d.ts +76 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.js +11 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.ts +9 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemField.d.ts +16 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemField.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemField.js +11 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemField.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemField.ts +9 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.js +10 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.ts +8 -0
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.js +9 -0
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.ts +7 -0
- package/src/com/controlresell/inventory/models/items/files/ItemFile.d.ts +49 -0
- package/src/com/controlresell/inventory/models/items/files/ItemFile.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/files/ItemFile.js +13 -0
- package/src/com/controlresell/inventory/models/items/files/ItemFile.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/files/ItemFile.ts +11 -0
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.js +8 -0
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.ts +6 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.d.ts +19 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.js +11 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.ts +9 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.d.ts +175 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.js +14 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.ts +12 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.js +9 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.ts +7 -0
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.d.ts +115 -0
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.js +14 -0
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.ts +12 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +1168 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.js +13 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.ts +11 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +1180 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.js +18 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.ts +16 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +1724 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js +83 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.ts +107 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.d.ts +4 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.js +8 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.ts +6 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.js +10 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.ts +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.js +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.ts +6 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.d.ts +16 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.js +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.ts +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.d.ts +16 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.js +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.ts +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +42 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.js +14 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.ts +12 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.d.ts +51 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js +12 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.ts +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.d.ts +203 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.js +9 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.ts +7 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.js +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.ts +6 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.js +9 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.ts +7 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +58 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js +16 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.ts +14 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +78 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.js +17 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.ts +15 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.js +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.ts +8 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +45 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.js +15 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.ts +13 -0
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.d.ts +25 -0
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.js +13 -0
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.ts +11 -0
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.js +9 -0
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.ts +7 -0
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts +51 -0
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.js +12 -0
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.ts +10 -0
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.d.ts +31 -0
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.js +16 -0
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.ts +14 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.d.ts +125 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.js +24 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.ts +22 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.d.ts +4 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.js +8 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.ts +6 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +282 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.js +11 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.ts +9 -0
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts +19 -0
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js +11 -0
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.ts +9 -0
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +25 -0
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.js +14 -0
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.ts +12 -0
- package/src/com/controlresell/inventory/models/items/requests/AutomaticPublishRequestItem.d.ts +22 -0
- package/src/com/controlresell/inventory/models/items/requests/AutomaticPublishRequestItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/AutomaticPublishRequestItem.js +20 -0
- package/src/com/controlresell/inventory/models/items/requests/AutomaticPublishRequestItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/AutomaticPublishRequestItem.ts +20 -0
- package/src/com/controlresell/inventory/models/items/requests/ManualPublishRequestItem.d.ts +31 -0
- package/src/com/controlresell/inventory/models/items/requests/ManualPublishRequestItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/ManualPublishRequestItem.js +19 -0
- package/src/com/controlresell/inventory/models/items/requests/ManualPublishRequestItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/ManualPublishRequestItem.ts +19 -0
- package/src/com/controlresell/inventory/models/items/requests/PriceDropRequest.d.ts +46 -0
- package/src/com/controlresell/inventory/models/items/requests/PriceDropRequest.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PriceDropRequest.js +11 -0
- package/src/com/controlresell/inventory/models/items/requests/PriceDropRequest.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PriceDropRequest.ts +9 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.d.ts +145 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js +18 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.ts +16 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.d.ts +110 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.js +40 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.ts +46 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts +225 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js +13 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.ts +11 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishTimeSlot.d.ts +13 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishTimeSlot.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishTimeSlot.js +9 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishTimeSlot.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/PublishTimeSlot.ts +7 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.d.ts +206 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.js +16 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.ts +14 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts +305 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js +12 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.ts +10 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.d.ts +119 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.js +12 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.ts +10 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.d.ts +19 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.js +11 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.ts +9 -0
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts +22 -0
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.js +13 -0
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.ts +11 -0
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.js +8 -0
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.ts +6 -0
- package/src/com/controlresell/inventory/models/metadata/colors/Color.d.ts +13 -0
- package/src/com/controlresell/inventory/models/metadata/colors/Color.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/colors/Color.js +9 -0
- package/src/com/controlresell/inventory/models/metadata/colors/Color.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/colors/Color.ts +7 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +16 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.js +11 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.ts +9 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.d.ts +22 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.js +13 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.ts +11 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.d.ts +4 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.js +8 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.ts +6 -0
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.js +8 -0
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.ts +6 -0
- package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts +25 -0
- package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/labels/Label.js +14 -0
- package/src/com/controlresell/inventory/models/metadata/labels/Label.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/labels/Label.ts +12 -0
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.d.ts +16 -0
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.js +10 -0
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.ts +8 -0
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.js +8 -0
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.ts +6 -0
- package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts +19 -0
- package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/places/Place.js +12 -0
- package/src/com/controlresell/inventory/models/metadata/places/Place.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/places/Place.ts +10 -0
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.d.ts +16 -0
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.js +10 -0
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.ts +8 -0
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.d.ts +16 -0
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.js +10 -0
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.js.map +1 -0
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.ts +8 -0
- package/src/com/controlresell/models/catalogs/Catalog.d.ts +2 -2
- package/src/com/controlresell/models/catalogs/CatalogRoot.d.ts +4 -4
- package/src/com/controlresell/models/catalogs/ColorRoot.js +2 -2
- package/src/com/controlresell/models/catalogs/ColorRoot.js.map +1 -1
- package/src/com/controlresell/models/catalogs/ColorRoot.ts +1 -1
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.js +4 -4
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.js.map +1 -1
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.ts +2 -2
- package/src/com/controlresell/models/catalogs/SizeGroup.js +2 -2
- package/src/com/controlresell/models/catalogs/SizeGroup.js.map +1 -1
- package/src/com/controlresell/models/catalogs/SizeGroup.ts +1 -1
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.d.ts +64 -0
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.d.ts.map +1 -0
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.js +10 -0
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.js.map +1 -0
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.ts +8 -0
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.d.ts +61 -0
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.d.ts.map +1 -0
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.js +9 -0
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.js.map +1 -0
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.ts +7 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +91 -13
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFilters.js +2 -2
- package/src/com/controlresell/models/filters/SavedFilters.js.map +1 -1
- package/src/com/controlresell/models/filters/SavedFilters.ts +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +91 -13
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js +2 -2
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.ts +1 -1
- package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts +4 -4
- package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +14 -14
- package/src/com/controlresell/models/platforms/labels/OrderLabel.js +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/OrderLabel.ts +1 -1
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +48 -0
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.js +10 -0
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.js.map +1 -0
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.ts +8 -0
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +100 -100
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +11 -2
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.js +5 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.ts +5 -1
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +8 -8
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.js +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.ts +1 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1898 -747
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +26 -26
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.js +2 -2
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.ts +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1495 -502
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js +2 -2
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.ts +1 -1
- package/src/com/controlresell/models/users/CreateUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/User.d.ts +6 -6
- package/src/com/controlresell/models/users/User.js +2 -2
- package/src/com/controlresell/models/users/User.js.map +1 -1
- package/src/com/controlresell/models/users/User.ts +1 -1
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.js +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.ts +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.js +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.ts +1 -1
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +31 -31
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3262 -1224
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +12 -7
- package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.ts +10 -3
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +42 -42
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.js +18 -18
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.ts +9 -9
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.d.ts +10 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.js +9 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.ts +7 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.d.ts +10 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.js +8 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.ts +6 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.d.ts +23 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.js +10 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.ts +8 -0
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.d.ts +19 -0
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.js +12 -0
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.ts +10 -0
- package/src/com/controlresell/notify/models/notifications/NotificationToken.d.ts +16 -0
- package/src/com/controlresell/notify/models/notifications/NotificationToken.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/NotificationToken.js +10 -0
- package/src/com/controlresell/notify/models/notifications/NotificationToken.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/NotificationToken.ts +8 -0
- package/src/com/controlresell/notify/models/notifications/NotificationType.d.ts +4 -0
- package/src/com/controlresell/notify/models/notifications/NotificationType.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/NotificationType.js +8 -0
- package/src/com/controlresell/notify/models/notifications/NotificationType.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/NotificationType.ts +6 -0
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.d.ts +10 -0
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.d.ts.map +1 -0
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.js +9 -0
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.js.map +1 -0
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.ts +7 -0
- package/src/com/controlresell/storage/models/files/CreateFilePayload.d.ts +10 -0
- package/src/com/controlresell/storage/models/files/CreateFilePayload.d.ts.map +1 -0
- package/src/com/controlresell/storage/models/files/CreateFilePayload.js +8 -0
- package/src/com/controlresell/storage/models/files/CreateFilePayload.js.map +1 -0
- package/src/com/controlresell/storage/models/files/CreateFilePayload.ts +6 -0
- package/src/com/controlresell/storage/models/files/File.d.ts +22 -0
- package/src/com/controlresell/storage/models/files/File.d.ts.map +1 -0
- package/src/com/controlresell/storage/models/files/File.js +13 -0
- package/src/com/controlresell/storage/models/files/File.js.map +1 -0
- package/src/com/controlresell/storage/models/files/File.ts +11 -0
- package/src/index.d.ts +195 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +396 -2
- package/src/index.js.map +1 -1
- package/src/index.ts +195 -0
|
@@ -49,8 +49,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
49
49
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
52
|
-
userId: string | number;
|
|
53
52
|
name: string;
|
|
53
|
+
userId: string | number;
|
|
54
54
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
55
55
|
accountId: string;
|
|
56
56
|
locale?: string | null | undefined;
|
|
@@ -63,8 +63,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
63
63
|
conversationsMaxDelay?: number | null | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
66
|
-
userId: string | number;
|
|
67
66
|
name: string;
|
|
67
|
+
userId: string | number;
|
|
68
68
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
69
69
|
accountId: string;
|
|
70
70
|
locale?: string | null | undefined;
|
|
@@ -80,21 +80,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
80
80
|
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
81
81
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
status: "
|
|
83
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
84
84
|
id: string;
|
|
85
85
|
createdAt: Date;
|
|
86
|
-
itemId: string | number;
|
|
87
|
-
updatedAt: Date;
|
|
88
86
|
accountId: string;
|
|
87
|
+
itemId: string | number;
|
|
89
88
|
platformId: string;
|
|
90
89
|
platformUrl: string;
|
|
90
|
+
updatedAt: Date;
|
|
91
91
|
platformPrice: number;
|
|
92
92
|
publishedAt: Date;
|
|
93
|
+
favoritesCount?: number | null | undefined;
|
|
94
|
+
viewsCount?: number | null | undefined;
|
|
93
95
|
conversationId?: string | null | undefined;
|
|
94
96
|
account?: {
|
|
95
97
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
96
|
-
userId: string | number;
|
|
97
98
|
name: string;
|
|
99
|
+
userId: string | number;
|
|
98
100
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
99
101
|
accountId: string;
|
|
100
102
|
locale?: string | null | undefined;
|
|
@@ -106,24 +108,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
106
108
|
ordersMaxDelay?: number | null | undefined;
|
|
107
109
|
conversationsMaxDelay?: number | null | undefined;
|
|
108
110
|
} | null | undefined;
|
|
109
|
-
viewsCount?: number | null | undefined;
|
|
110
|
-
favoritesCount?: number | null | undefined;
|
|
111
111
|
}, {
|
|
112
|
-
status: "
|
|
112
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
113
113
|
id: string;
|
|
114
114
|
createdAt: Date;
|
|
115
|
-
itemId: string | number;
|
|
116
|
-
updatedAt: Date;
|
|
117
115
|
accountId: string;
|
|
116
|
+
itemId: string | number;
|
|
118
117
|
platformId: string;
|
|
119
118
|
platformUrl: string;
|
|
119
|
+
updatedAt: Date;
|
|
120
120
|
platformPrice: number;
|
|
121
121
|
publishedAt: Date;
|
|
122
|
+
favoritesCount?: number | null | undefined;
|
|
123
|
+
viewsCount?: number | null | undefined;
|
|
122
124
|
conversationId?: string | null | undefined;
|
|
123
125
|
account?: {
|
|
124
126
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
125
|
-
userId: string | number;
|
|
126
127
|
name: string;
|
|
128
|
+
userId: string | number;
|
|
127
129
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
128
130
|
accountId: string;
|
|
129
131
|
locale?: string | null | undefined;
|
|
@@ -135,28 +137,28 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
135
137
|
ordersMaxDelay?: number | null | undefined;
|
|
136
138
|
conversationsMaxDelay?: number | null | undefined;
|
|
137
139
|
} | null | undefined;
|
|
138
|
-
viewsCount?: number | null | undefined;
|
|
139
|
-
favoritesCount?: number | null | undefined;
|
|
140
140
|
}>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
orderId: string;
|
|
143
143
|
itemOnPlatformId: string;
|
|
144
144
|
itemOnPlatform?: {
|
|
145
|
-
status: "
|
|
145
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
146
146
|
id: string;
|
|
147
147
|
createdAt: Date;
|
|
148
|
-
itemId: string | number;
|
|
149
|
-
updatedAt: Date;
|
|
150
148
|
accountId: string;
|
|
149
|
+
itemId: string | number;
|
|
151
150
|
platformId: string;
|
|
152
151
|
platformUrl: string;
|
|
152
|
+
updatedAt: Date;
|
|
153
153
|
platformPrice: number;
|
|
154
154
|
publishedAt: Date;
|
|
155
|
+
favoritesCount?: number | null | undefined;
|
|
156
|
+
viewsCount?: number | null | undefined;
|
|
155
157
|
conversationId?: string | null | undefined;
|
|
156
158
|
account?: {
|
|
157
159
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
158
|
-
userId: string | number;
|
|
159
160
|
name: string;
|
|
161
|
+
userId: string | number;
|
|
160
162
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
161
163
|
accountId: string;
|
|
162
164
|
locale?: string | null | undefined;
|
|
@@ -168,28 +170,28 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
168
170
|
ordersMaxDelay?: number | null | undefined;
|
|
169
171
|
conversationsMaxDelay?: number | null | undefined;
|
|
170
172
|
} | null | undefined;
|
|
171
|
-
viewsCount?: number | null | undefined;
|
|
172
|
-
favoritesCount?: number | null | undefined;
|
|
173
173
|
} | null | undefined;
|
|
174
174
|
}, {
|
|
175
175
|
orderId: string;
|
|
176
176
|
itemOnPlatformId: string;
|
|
177
177
|
itemOnPlatform?: {
|
|
178
|
-
status: "
|
|
178
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
179
179
|
id: string;
|
|
180
180
|
createdAt: Date;
|
|
181
|
-
itemId: string | number;
|
|
182
|
-
updatedAt: Date;
|
|
183
181
|
accountId: string;
|
|
182
|
+
itemId: string | number;
|
|
184
183
|
platformId: string;
|
|
185
184
|
platformUrl: string;
|
|
185
|
+
updatedAt: Date;
|
|
186
186
|
platformPrice: number;
|
|
187
187
|
publishedAt: Date;
|
|
188
|
+
favoritesCount?: number | null | undefined;
|
|
189
|
+
viewsCount?: number | null | undefined;
|
|
188
190
|
conversationId?: string | null | undefined;
|
|
189
191
|
account?: {
|
|
190
192
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
191
|
-
userId: string | number;
|
|
192
193
|
name: string;
|
|
194
|
+
userId: string | number;
|
|
193
195
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
194
196
|
accountId: string;
|
|
195
197
|
locale?: string | null | undefined;
|
|
@@ -201,8 +203,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
201
203
|
ordersMaxDelay?: number | null | undefined;
|
|
202
204
|
conversationsMaxDelay?: number | null | undefined;
|
|
203
205
|
} | null | undefined;
|
|
204
|
-
viewsCount?: number | null | undefined;
|
|
205
|
-
favoritesCount?: number | null | undefined;
|
|
206
206
|
} | null | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -220,15 +220,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
221
|
path: string;
|
|
222
222
|
id: string;
|
|
223
|
+
createdAt: Date;
|
|
223
224
|
userId: string | number;
|
|
224
225
|
signedUrl: string;
|
|
225
|
-
createdAt: Date;
|
|
226
226
|
}, {
|
|
227
227
|
path: string;
|
|
228
228
|
id: string;
|
|
229
|
+
createdAt: Date;
|
|
229
230
|
userId: string | number;
|
|
230
231
|
signedUrl: string;
|
|
231
|
-
createdAt: Date;
|
|
232
232
|
}>>>;
|
|
233
233
|
nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
234
234
|
id: z.ZodString;
|
|
@@ -239,15 +239,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
path: string;
|
|
241
241
|
id: string;
|
|
242
|
+
createdAt: Date;
|
|
242
243
|
userId: string | number;
|
|
243
244
|
signedUrl: string;
|
|
244
|
-
createdAt: Date;
|
|
245
245
|
}, {
|
|
246
246
|
path: string;
|
|
247
247
|
id: string;
|
|
248
|
+
createdAt: Date;
|
|
248
249
|
userId: string | number;
|
|
249
250
|
signedUrl: string;
|
|
250
|
-
createdAt: Date;
|
|
251
251
|
}>>>;
|
|
252
252
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
253
253
|
id: z.ZodString;
|
|
@@ -258,69 +258,69 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
259
|
path: string;
|
|
260
260
|
id: string;
|
|
261
|
+
createdAt: Date;
|
|
261
262
|
userId: string | number;
|
|
262
263
|
signedUrl: string;
|
|
263
|
-
createdAt: Date;
|
|
264
264
|
}, {
|
|
265
265
|
path: string;
|
|
266
266
|
id: string;
|
|
267
|
+
createdAt: Date;
|
|
267
268
|
userId: string | number;
|
|
268
269
|
signedUrl: string;
|
|
269
|
-
createdAt: Date;
|
|
270
270
|
}>>>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
id: string;
|
|
273
|
-
fileId: string;
|
|
274
273
|
orderId: string;
|
|
274
|
+
fileId: string;
|
|
275
275
|
nonCroppedFileId: string;
|
|
276
276
|
originalFileId: string;
|
|
277
277
|
file?: {
|
|
278
278
|
path: string;
|
|
279
279
|
id: string;
|
|
280
|
+
createdAt: Date;
|
|
280
281
|
userId: string | number;
|
|
281
282
|
signedUrl: string;
|
|
282
|
-
createdAt: Date;
|
|
283
283
|
} | null | undefined;
|
|
284
284
|
originalFile?: {
|
|
285
285
|
path: string;
|
|
286
286
|
id: string;
|
|
287
|
+
createdAt: Date;
|
|
287
288
|
userId: string | number;
|
|
288
289
|
signedUrl: string;
|
|
289
|
-
createdAt: Date;
|
|
290
290
|
} | null | undefined;
|
|
291
291
|
nonCroppedFile?: {
|
|
292
292
|
path: string;
|
|
293
293
|
id: string;
|
|
294
|
+
createdAt: Date;
|
|
294
295
|
userId: string | number;
|
|
295
296
|
signedUrl: string;
|
|
296
|
-
createdAt: Date;
|
|
297
297
|
} | null | undefined;
|
|
298
298
|
}, {
|
|
299
299
|
id: string;
|
|
300
|
-
fileId: string;
|
|
301
300
|
orderId: string;
|
|
301
|
+
fileId: string;
|
|
302
302
|
nonCroppedFileId: string;
|
|
303
303
|
originalFileId: string;
|
|
304
304
|
file?: {
|
|
305
305
|
path: string;
|
|
306
306
|
id: string;
|
|
307
|
+
createdAt: Date;
|
|
307
308
|
userId: string | number;
|
|
308
309
|
signedUrl: string;
|
|
309
|
-
createdAt: Date;
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
originalFile?: {
|
|
312
312
|
path: string;
|
|
313
313
|
id: string;
|
|
314
|
+
createdAt: Date;
|
|
314
315
|
userId: string | number;
|
|
315
316
|
signedUrl: string;
|
|
316
|
-
createdAt: Date;
|
|
317
317
|
} | null | undefined;
|
|
318
318
|
nonCroppedFile?: {
|
|
319
319
|
path: string;
|
|
320
320
|
id: string;
|
|
321
|
+
createdAt: Date;
|
|
321
322
|
userId: string | number;
|
|
322
323
|
signedUrl: string;
|
|
323
|
-
createdAt: Date;
|
|
324
324
|
} | null | undefined;
|
|
325
325
|
}>, "many">>>;
|
|
326
326
|
pickupPoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -412,74 +412,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
413
|
type: "SALE" | "PURCHASE";
|
|
414
414
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
415
|
-
id: string;
|
|
416
415
|
date: Date;
|
|
417
|
-
|
|
416
|
+
id: string;
|
|
418
417
|
accountId: string;
|
|
419
|
-
|
|
418
|
+
price: number;
|
|
420
419
|
isPrepared: boolean;
|
|
421
|
-
|
|
422
|
-
orderId: string;
|
|
423
|
-
itemOnPlatformId: string;
|
|
424
|
-
itemOnPlatform?: {
|
|
425
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
426
|
-
id: string;
|
|
427
|
-
createdAt: Date;
|
|
428
|
-
itemId: string | number;
|
|
429
|
-
updatedAt: Date;
|
|
430
|
-
accountId: string;
|
|
431
|
-
platformId: string;
|
|
432
|
-
platformUrl: string;
|
|
433
|
-
platformPrice: number;
|
|
434
|
-
publishedAt: Date;
|
|
435
|
-
conversationId?: string | null | undefined;
|
|
436
|
-
account?: {
|
|
437
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
438
|
-
userId: string | number;
|
|
439
|
-
name: string;
|
|
440
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
441
|
-
accountId: string;
|
|
442
|
-
locale?: string | null | undefined;
|
|
443
|
-
night?: {
|
|
444
|
-
startsAt: Date;
|
|
445
|
-
endsAt: Date;
|
|
446
|
-
} | null | undefined;
|
|
447
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
448
|
-
ordersMaxDelay?: number | null | undefined;
|
|
449
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
450
|
-
} | null | undefined;
|
|
451
|
-
viewsCount?: number | null | undefined;
|
|
452
|
-
favoritesCount?: number | null | undefined;
|
|
453
|
-
} | null | undefined;
|
|
454
|
-
}[] | null | undefined;
|
|
420
|
+
platformOrderId: string;
|
|
455
421
|
conversationId?: string | null | undefined;
|
|
456
422
|
transactionId?: string | null | undefined;
|
|
457
423
|
labels?: {
|
|
458
424
|
id: string;
|
|
459
|
-
fileId: string;
|
|
460
425
|
orderId: string;
|
|
426
|
+
fileId: string;
|
|
461
427
|
nonCroppedFileId: string;
|
|
462
428
|
originalFileId: string;
|
|
463
429
|
file?: {
|
|
464
430
|
path: string;
|
|
465
431
|
id: string;
|
|
432
|
+
createdAt: Date;
|
|
466
433
|
userId: string | number;
|
|
467
434
|
signedUrl: string;
|
|
468
|
-
createdAt: Date;
|
|
469
435
|
} | null | undefined;
|
|
470
436
|
originalFile?: {
|
|
471
437
|
path: string;
|
|
472
438
|
id: string;
|
|
439
|
+
createdAt: Date;
|
|
473
440
|
userId: string | number;
|
|
474
441
|
signedUrl: string;
|
|
475
|
-
createdAt: Date;
|
|
476
442
|
} | null | undefined;
|
|
477
443
|
nonCroppedFile?: {
|
|
478
444
|
path: string;
|
|
479
445
|
id: string;
|
|
446
|
+
createdAt: Date;
|
|
480
447
|
userId: string | number;
|
|
481
448
|
signedUrl: string;
|
|
482
|
-
createdAt: Date;
|
|
483
449
|
} | null | undefined;
|
|
484
450
|
}[] | null | undefined;
|
|
485
451
|
pickupPoints?: {
|
|
@@ -503,34 +469,27 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
503
469
|
longitude?: number | null | undefined;
|
|
504
470
|
} | null | undefined;
|
|
505
471
|
}[] | null | undefined;
|
|
506
|
-
}, {
|
|
507
|
-
type: "SALE" | "PURCHASE";
|
|
508
|
-
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
509
|
-
id: string;
|
|
510
|
-
date: Date;
|
|
511
|
-
price: number;
|
|
512
|
-
accountId: string;
|
|
513
|
-
platformOrderId: string;
|
|
514
|
-
isPrepared: boolean;
|
|
515
472
|
items?: {
|
|
516
473
|
orderId: string;
|
|
517
474
|
itemOnPlatformId: string;
|
|
518
475
|
itemOnPlatform?: {
|
|
519
|
-
status: "
|
|
476
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
520
477
|
id: string;
|
|
521
478
|
createdAt: Date;
|
|
522
|
-
itemId: string | number;
|
|
523
|
-
updatedAt: Date;
|
|
524
479
|
accountId: string;
|
|
480
|
+
itemId: string | number;
|
|
525
481
|
platformId: string;
|
|
526
482
|
platformUrl: string;
|
|
483
|
+
updatedAt: Date;
|
|
527
484
|
platformPrice: number;
|
|
528
485
|
publishedAt: Date;
|
|
486
|
+
favoritesCount?: number | null | undefined;
|
|
487
|
+
viewsCount?: number | null | undefined;
|
|
529
488
|
conversationId?: string | null | undefined;
|
|
530
489
|
account?: {
|
|
531
490
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
532
|
-
userId: string | number;
|
|
533
491
|
name: string;
|
|
492
|
+
userId: string | number;
|
|
534
493
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
535
494
|
accountId: string;
|
|
536
495
|
locale?: string | null | undefined;
|
|
@@ -542,38 +501,45 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
542
501
|
ordersMaxDelay?: number | null | undefined;
|
|
543
502
|
conversationsMaxDelay?: number | null | undefined;
|
|
544
503
|
} | null | undefined;
|
|
545
|
-
viewsCount?: number | null | undefined;
|
|
546
|
-
favoritesCount?: number | null | undefined;
|
|
547
504
|
} | null | undefined;
|
|
548
505
|
}[] | null | undefined;
|
|
506
|
+
}, {
|
|
507
|
+
type: "SALE" | "PURCHASE";
|
|
508
|
+
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
509
|
+
date: Date;
|
|
510
|
+
id: string;
|
|
511
|
+
accountId: string;
|
|
512
|
+
price: number;
|
|
513
|
+
isPrepared: boolean;
|
|
514
|
+
platformOrderId: string;
|
|
549
515
|
conversationId?: string | null | undefined;
|
|
550
516
|
transactionId?: string | null | undefined;
|
|
551
517
|
labels?: {
|
|
552
518
|
id: string;
|
|
553
|
-
fileId: string;
|
|
554
519
|
orderId: string;
|
|
520
|
+
fileId: string;
|
|
555
521
|
nonCroppedFileId: string;
|
|
556
522
|
originalFileId: string;
|
|
557
523
|
file?: {
|
|
558
524
|
path: string;
|
|
559
525
|
id: string;
|
|
526
|
+
createdAt: Date;
|
|
560
527
|
userId: string | number;
|
|
561
528
|
signedUrl: string;
|
|
562
|
-
createdAt: Date;
|
|
563
529
|
} | null | undefined;
|
|
564
530
|
originalFile?: {
|
|
565
531
|
path: string;
|
|
566
532
|
id: string;
|
|
533
|
+
createdAt: Date;
|
|
567
534
|
userId: string | number;
|
|
568
535
|
signedUrl: string;
|
|
569
|
-
createdAt: Date;
|
|
570
536
|
} | null | undefined;
|
|
571
537
|
nonCroppedFile?: {
|
|
572
538
|
path: string;
|
|
573
539
|
id: string;
|
|
540
|
+
createdAt: Date;
|
|
574
541
|
userId: string | number;
|
|
575
542
|
signedUrl: string;
|
|
576
|
-
createdAt: Date;
|
|
577
543
|
} | null | undefined;
|
|
578
544
|
}[] | null | undefined;
|
|
579
545
|
pickupPoints?: {
|
|
@@ -597,6 +563,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
597
563
|
longitude?: number | null | undefined;
|
|
598
564
|
} | null | undefined;
|
|
599
565
|
}[] | null | undefined;
|
|
566
|
+
items?: {
|
|
567
|
+
orderId: string;
|
|
568
|
+
itemOnPlatformId: string;
|
|
569
|
+
itemOnPlatform?: {
|
|
570
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
571
|
+
id: string;
|
|
572
|
+
createdAt: Date;
|
|
573
|
+
accountId: string;
|
|
574
|
+
itemId: string | number;
|
|
575
|
+
platformId: string;
|
|
576
|
+
platformUrl: string;
|
|
577
|
+
updatedAt: Date;
|
|
578
|
+
platformPrice: number;
|
|
579
|
+
publishedAt: Date;
|
|
580
|
+
favoritesCount?: number | null | undefined;
|
|
581
|
+
viewsCount?: number | null | undefined;
|
|
582
|
+
conversationId?: string | null | undefined;
|
|
583
|
+
account?: {
|
|
584
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
585
|
+
name: string;
|
|
586
|
+
userId: string | number;
|
|
587
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
588
|
+
accountId: string;
|
|
589
|
+
locale?: string | null | undefined;
|
|
590
|
+
night?: {
|
|
591
|
+
startsAt: Date;
|
|
592
|
+
endsAt: Date;
|
|
593
|
+
} | null | undefined;
|
|
594
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
595
|
+
ordersMaxDelay?: number | null | undefined;
|
|
596
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
597
|
+
} | null | undefined;
|
|
598
|
+
} | null | undefined;
|
|
599
|
+
}[] | null | undefined;
|
|
600
600
|
}>;
|
|
601
601
|
items: z.ZodArray<z.ZodObject<{
|
|
602
602
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -617,38 +617,38 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
617
617
|
}, "strip", z.ZodTypeAny, {
|
|
618
618
|
path: string;
|
|
619
619
|
id: string;
|
|
620
|
+
createdAt: Date;
|
|
620
621
|
userId: string | number;
|
|
621
622
|
signedUrl: string;
|
|
622
|
-
createdAt: Date;
|
|
623
623
|
}, {
|
|
624
624
|
path: string;
|
|
625
625
|
id: string;
|
|
626
|
+
createdAt: Date;
|
|
626
627
|
userId: string | number;
|
|
627
628
|
signedUrl: string;
|
|
628
|
-
createdAt: Date;
|
|
629
629
|
}>>>;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
fileId: string;
|
|
632
631
|
itemId: string | number;
|
|
632
|
+
fileId: string;
|
|
633
|
+
index?: number | null | undefined;
|
|
633
634
|
file?: {
|
|
634
635
|
path: string;
|
|
635
636
|
id: string;
|
|
637
|
+
createdAt: Date;
|
|
636
638
|
userId: string | number;
|
|
637
639
|
signedUrl: string;
|
|
638
|
-
createdAt: Date;
|
|
639
640
|
} | null | undefined;
|
|
640
|
-
index?: number | null | undefined;
|
|
641
641
|
}, {
|
|
642
|
-
fileId: string;
|
|
643
642
|
itemId: string | number;
|
|
643
|
+
fileId: string;
|
|
644
|
+
index?: number | null | undefined;
|
|
644
645
|
file?: {
|
|
645
646
|
path: string;
|
|
646
647
|
id: string;
|
|
648
|
+
createdAt: Date;
|
|
647
649
|
userId: string | number;
|
|
648
650
|
signedUrl: string;
|
|
649
|
-
createdAt: Date;
|
|
650
651
|
} | null | undefined;
|
|
651
|
-
index?: number | null | undefined;
|
|
652
652
|
}>, "many">>>;
|
|
653
653
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
654
654
|
brandId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
@@ -683,31 +683,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
683
683
|
value: number;
|
|
684
684
|
type: string;
|
|
685
685
|
id: string | number;
|
|
686
|
-
userId: string | number;
|
|
687
|
-
createdAt: Date;
|
|
688
686
|
name: string;
|
|
687
|
+
createdAt: Date;
|
|
688
|
+
userId: string | number;
|
|
689
|
+
updatedAt: Date;
|
|
689
690
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
690
691
|
startDate: Date;
|
|
691
692
|
active: boolean;
|
|
692
|
-
updatedAt: Date;
|
|
693
693
|
description?: string | null | undefined;
|
|
694
|
-
endDate?: Date | null | undefined;
|
|
695
694
|
itemId?: string | number | null | undefined;
|
|
695
|
+
endDate?: Date | null | undefined;
|
|
696
696
|
parentFeeId?: string | number | null | undefined;
|
|
697
697
|
}, {
|
|
698
698
|
value: number;
|
|
699
699
|
type: string;
|
|
700
700
|
id: string | number;
|
|
701
|
-
userId: string | number;
|
|
702
|
-
createdAt: Date;
|
|
703
701
|
name: string;
|
|
702
|
+
createdAt: Date;
|
|
703
|
+
userId: string | number;
|
|
704
|
+
updatedAt: Date;
|
|
704
705
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
705
706
|
startDate: Date;
|
|
706
707
|
active: boolean;
|
|
707
|
-
updatedAt: Date;
|
|
708
708
|
description?: string | null | undefined;
|
|
709
|
-
endDate?: Date | null | undefined;
|
|
710
709
|
itemId?: string | number | null | undefined;
|
|
710
|
+
endDate?: Date | null | undefined;
|
|
711
711
|
parentFeeId?: string | number | null | undefined;
|
|
712
712
|
}>, "many">>>;
|
|
713
713
|
feesSum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -723,15 +723,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
723
723
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
724
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
725
|
id: string | number;
|
|
726
|
-
createdAt: Date;
|
|
727
726
|
name: string;
|
|
727
|
+
createdAt: Date;
|
|
728
728
|
isUserLabel: boolean;
|
|
729
729
|
itemCount?: number | null | undefined;
|
|
730
730
|
userId?: string | number | null | undefined;
|
|
731
731
|
}, {
|
|
732
732
|
id: string | number;
|
|
733
|
-
createdAt: Date;
|
|
734
733
|
name: string;
|
|
734
|
+
createdAt: Date;
|
|
735
735
|
isUserLabel: boolean;
|
|
736
736
|
itemCount?: number | null | undefined;
|
|
737
737
|
userId?: string | number | null | undefined;
|
|
@@ -741,8 +741,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
741
741
|
labelId: string | number;
|
|
742
742
|
label?: {
|
|
743
743
|
id: string | number;
|
|
744
|
-
createdAt: Date;
|
|
745
744
|
name: string;
|
|
745
|
+
createdAt: Date;
|
|
746
746
|
isUserLabel: boolean;
|
|
747
747
|
itemCount?: number | null | undefined;
|
|
748
748
|
userId?: string | number | null | undefined;
|
|
@@ -752,8 +752,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
752
752
|
labelId: string | number;
|
|
753
753
|
label?: {
|
|
754
754
|
id: string | number;
|
|
755
|
-
createdAt: Date;
|
|
756
755
|
name: string;
|
|
756
|
+
createdAt: Date;
|
|
757
757
|
isUserLabel: boolean;
|
|
758
758
|
itemCount?: number | null | undefined;
|
|
759
759
|
userId?: string | number | null | undefined;
|
|
@@ -775,9 +775,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
775
775
|
bic: z.ZodString;
|
|
776
776
|
phoneVerified: z.ZodBoolean;
|
|
777
777
|
}, "strip", z.ZodTypeAny, {
|
|
778
|
-
email: string;
|
|
779
778
|
id: string | number;
|
|
780
779
|
userId: string | number;
|
|
780
|
+
email: string;
|
|
781
781
|
firstName: string;
|
|
782
782
|
lastName: string;
|
|
783
783
|
birthDate: Date;
|
|
@@ -787,9 +787,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
787
787
|
bic: string;
|
|
788
788
|
phoneVerified: boolean;
|
|
789
789
|
}, {
|
|
790
|
-
email: string;
|
|
791
790
|
id: string | number;
|
|
792
791
|
userId: string | number;
|
|
792
|
+
email: string;
|
|
793
793
|
firstName: string;
|
|
794
794
|
lastName: string;
|
|
795
795
|
birthDate: Date;
|
|
@@ -820,7 +820,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
820
820
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
821
821
|
id: z.ZodString;
|
|
822
822
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
823
|
-
type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "CANCELED", "DISPUTE", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
|
|
823
|
+
type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "CANCELED", "DISPUTE", "DELETING", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
|
|
824
824
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
825
825
|
data: z.ZodObject<{
|
|
826
826
|
targetItemHistoryId: z.ZodString;
|
|
@@ -909,14 +909,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
909
909
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
910
910
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
911
911
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
912
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
913
|
+
field: z.ZodEnum<["TITLE", "DESCRIPTION", "SIZE", "BRAND", "STATUS", "PRICE", "PACKAGE_SIZE", "COLOR", "CATALOG", "PHOTOS", "UNKNOWN"]>;
|
|
914
|
+
autoFixable: z.ZodBoolean;
|
|
915
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
916
|
+
}, "strip", z.ZodTypeAny, {
|
|
917
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
918
|
+
autoFixable: boolean;
|
|
919
|
+
error?: string | null | undefined;
|
|
920
|
+
}, {
|
|
921
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
922
|
+
autoFixable: boolean;
|
|
923
|
+
error?: string | null | undefined;
|
|
924
|
+
}>, "many">>>;
|
|
925
|
+
itemHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
912
926
|
}, "strip", z.ZodTypeAny, {
|
|
913
927
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
914
928
|
accountId?: string | null | undefined;
|
|
915
929
|
reason?: string | null | undefined;
|
|
930
|
+
fields?: {
|
|
931
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
932
|
+
autoFixable: boolean;
|
|
933
|
+
error?: string | null | undefined;
|
|
934
|
+
}[] | null | undefined;
|
|
935
|
+
itemHistoryId?: string | null | undefined;
|
|
916
936
|
}, {
|
|
917
937
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
918
938
|
accountId?: string | null | undefined;
|
|
919
939
|
reason?: string | null | undefined;
|
|
940
|
+
fields?: {
|
|
941
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
942
|
+
autoFixable: boolean;
|
|
943
|
+
error?: string | null | undefined;
|
|
944
|
+
}[] | null | undefined;
|
|
945
|
+
itemHistoryId?: string | null | undefined;
|
|
920
946
|
}>;
|
|
921
947
|
type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
|
|
922
948
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -925,6 +951,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
925
951
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
926
952
|
accountId?: string | null | undefined;
|
|
927
953
|
reason?: string | null | undefined;
|
|
954
|
+
fields?: {
|
|
955
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
956
|
+
autoFixable: boolean;
|
|
957
|
+
error?: string | null | undefined;
|
|
958
|
+
}[] | null | undefined;
|
|
959
|
+
itemHistoryId?: string | null | undefined;
|
|
928
960
|
};
|
|
929
961
|
}, {
|
|
930
962
|
type: "FAILED_TO_PUBLISH";
|
|
@@ -932,6 +964,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
932
964
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
933
965
|
accountId?: string | null | undefined;
|
|
934
966
|
reason?: string | null | undefined;
|
|
967
|
+
fields?: {
|
|
968
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
969
|
+
autoFixable: boolean;
|
|
970
|
+
error?: string | null | undefined;
|
|
971
|
+
}[] | null | undefined;
|
|
972
|
+
itemHistoryId?: string | null | undefined;
|
|
935
973
|
};
|
|
936
974
|
}>, z.ZodObject<{
|
|
937
975
|
data: z.ZodObject<{
|
|
@@ -1011,6 +1049,276 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1011
1049
|
}[] | null | undefined;
|
|
1012
1050
|
originalPhashes?: string[] | null | undefined;
|
|
1013
1051
|
};
|
|
1052
|
+
}>, z.ZodObject<{
|
|
1053
|
+
data: z.ZodObject<{
|
|
1054
|
+
post: z.ZodObject<{
|
|
1055
|
+
platformId: z.ZodString;
|
|
1056
|
+
platformUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1057
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1058
|
+
post: z.ZodObject<{
|
|
1059
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1060
|
+
catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1061
|
+
catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1062
|
+
colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1063
|
+
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1064
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1065
|
+
measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1066
|
+
measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1067
|
+
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1068
|
+
photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1069
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1070
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1071
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1072
|
+
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1073
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1074
|
+
statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1075
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1076
|
+
isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1077
|
+
isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1078
|
+
availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1079
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1080
|
+
manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1081
|
+
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1082
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
|
+
status?: string | null | undefined;
|
|
1084
|
+
title?: string | null | undefined;
|
|
1085
|
+
description?: string | null | undefined;
|
|
1086
|
+
brand?: string | null | undefined;
|
|
1087
|
+
statusId?: number | null | undefined;
|
|
1088
|
+
sizeId?: number | null | undefined;
|
|
1089
|
+
colorIds?: number[] | null | undefined;
|
|
1090
|
+
packageSizeId?: number | null | undefined;
|
|
1091
|
+
price?: number | null | undefined;
|
|
1092
|
+
currency?: string | null | undefined;
|
|
1093
|
+
catalog?: string | null | undefined;
|
|
1094
|
+
catalogId?: number | null | undefined;
|
|
1095
|
+
colors?: string[] | null | undefined;
|
|
1096
|
+
measurementLength?: number | null | undefined;
|
|
1097
|
+
measurementWidth?: number | null | undefined;
|
|
1098
|
+
photoUrls?: string[] | null | undefined;
|
|
1099
|
+
size?: string | null | undefined;
|
|
1100
|
+
isDraft?: boolean | null | undefined;
|
|
1101
|
+
isArchived?: boolean | null | undefined;
|
|
1102
|
+
availableQuantity?: number | null | undefined;
|
|
1103
|
+
material?: number[] | null | undefined;
|
|
1104
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1105
|
+
labels?: string[] | null | undefined;
|
|
1106
|
+
}, {
|
|
1107
|
+
status?: string | null | undefined;
|
|
1108
|
+
title?: string | null | undefined;
|
|
1109
|
+
description?: string | null | undefined;
|
|
1110
|
+
brand?: string | null | undefined;
|
|
1111
|
+
statusId?: number | null | undefined;
|
|
1112
|
+
sizeId?: number | null | undefined;
|
|
1113
|
+
colorIds?: number[] | null | undefined;
|
|
1114
|
+
packageSizeId?: number | null | undefined;
|
|
1115
|
+
price?: number | null | undefined;
|
|
1116
|
+
currency?: string | null | undefined;
|
|
1117
|
+
catalog?: string | null | undefined;
|
|
1118
|
+
catalogId?: number | null | undefined;
|
|
1119
|
+
colors?: string[] | null | undefined;
|
|
1120
|
+
measurementLength?: number | null | undefined;
|
|
1121
|
+
measurementWidth?: number | null | undefined;
|
|
1122
|
+
photoUrls?: string[] | null | undefined;
|
|
1123
|
+
size?: string | null | undefined;
|
|
1124
|
+
isDraft?: boolean | null | undefined;
|
|
1125
|
+
isArchived?: boolean | null | undefined;
|
|
1126
|
+
availableQuantity?: number | null | undefined;
|
|
1127
|
+
material?: number[] | null | undefined;
|
|
1128
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1129
|
+
labels?: string[] | null | undefined;
|
|
1130
|
+
}>;
|
|
1131
|
+
}, "strip", z.ZodTypeAny, {
|
|
1132
|
+
platformId: string;
|
|
1133
|
+
post: {
|
|
1134
|
+
status?: string | null | undefined;
|
|
1135
|
+
title?: string | null | undefined;
|
|
1136
|
+
description?: string | null | undefined;
|
|
1137
|
+
brand?: string | null | undefined;
|
|
1138
|
+
statusId?: number | null | undefined;
|
|
1139
|
+
sizeId?: number | null | undefined;
|
|
1140
|
+
colorIds?: number[] | null | undefined;
|
|
1141
|
+
packageSizeId?: number | null | undefined;
|
|
1142
|
+
price?: number | null | undefined;
|
|
1143
|
+
currency?: string | null | undefined;
|
|
1144
|
+
catalog?: string | null | undefined;
|
|
1145
|
+
catalogId?: number | null | undefined;
|
|
1146
|
+
colors?: string[] | null | undefined;
|
|
1147
|
+
measurementLength?: number | null | undefined;
|
|
1148
|
+
measurementWidth?: number | null | undefined;
|
|
1149
|
+
photoUrls?: string[] | null | undefined;
|
|
1150
|
+
size?: string | null | undefined;
|
|
1151
|
+
isDraft?: boolean | null | undefined;
|
|
1152
|
+
isArchived?: boolean | null | undefined;
|
|
1153
|
+
availableQuantity?: number | null | undefined;
|
|
1154
|
+
material?: number[] | null | undefined;
|
|
1155
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1156
|
+
labels?: string[] | null | undefined;
|
|
1157
|
+
};
|
|
1158
|
+
createdAt?: Date | null | undefined;
|
|
1159
|
+
platformUrl?: string | null | undefined;
|
|
1160
|
+
}, {
|
|
1161
|
+
platformId: string;
|
|
1162
|
+
post: {
|
|
1163
|
+
status?: string | null | undefined;
|
|
1164
|
+
title?: string | null | undefined;
|
|
1165
|
+
description?: string | null | undefined;
|
|
1166
|
+
brand?: string | null | undefined;
|
|
1167
|
+
statusId?: number | null | undefined;
|
|
1168
|
+
sizeId?: number | null | undefined;
|
|
1169
|
+
colorIds?: number[] | null | undefined;
|
|
1170
|
+
packageSizeId?: number | null | undefined;
|
|
1171
|
+
price?: number | null | undefined;
|
|
1172
|
+
currency?: string | null | undefined;
|
|
1173
|
+
catalog?: string | null | undefined;
|
|
1174
|
+
catalogId?: number | null | undefined;
|
|
1175
|
+
colors?: string[] | null | undefined;
|
|
1176
|
+
measurementLength?: number | null | undefined;
|
|
1177
|
+
measurementWidth?: number | null | undefined;
|
|
1178
|
+
photoUrls?: string[] | null | undefined;
|
|
1179
|
+
size?: string | null | undefined;
|
|
1180
|
+
isDraft?: boolean | null | undefined;
|
|
1181
|
+
isArchived?: boolean | null | undefined;
|
|
1182
|
+
availableQuantity?: number | null | undefined;
|
|
1183
|
+
material?: number[] | null | undefined;
|
|
1184
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1185
|
+
labels?: string[] | null | undefined;
|
|
1186
|
+
};
|
|
1187
|
+
createdAt?: Date | null | undefined;
|
|
1188
|
+
platformUrl?: string | null | undefined;
|
|
1189
|
+
}>;
|
|
1190
|
+
}, "strip", z.ZodTypeAny, {
|
|
1191
|
+
post: {
|
|
1192
|
+
platformId: string;
|
|
1193
|
+
post: {
|
|
1194
|
+
status?: string | null | undefined;
|
|
1195
|
+
title?: string | null | undefined;
|
|
1196
|
+
description?: string | null | undefined;
|
|
1197
|
+
brand?: string | null | undefined;
|
|
1198
|
+
statusId?: number | null | undefined;
|
|
1199
|
+
sizeId?: number | null | undefined;
|
|
1200
|
+
colorIds?: number[] | null | undefined;
|
|
1201
|
+
packageSizeId?: number | null | undefined;
|
|
1202
|
+
price?: number | null | undefined;
|
|
1203
|
+
currency?: string | null | undefined;
|
|
1204
|
+
catalog?: string | null | undefined;
|
|
1205
|
+
catalogId?: number | null | undefined;
|
|
1206
|
+
colors?: string[] | null | undefined;
|
|
1207
|
+
measurementLength?: number | null | undefined;
|
|
1208
|
+
measurementWidth?: number | null | undefined;
|
|
1209
|
+
photoUrls?: string[] | null | undefined;
|
|
1210
|
+
size?: string | null | undefined;
|
|
1211
|
+
isDraft?: boolean | null | undefined;
|
|
1212
|
+
isArchived?: boolean | null | undefined;
|
|
1213
|
+
availableQuantity?: number | null | undefined;
|
|
1214
|
+
material?: number[] | null | undefined;
|
|
1215
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1216
|
+
labels?: string[] | null | undefined;
|
|
1217
|
+
};
|
|
1218
|
+
createdAt?: Date | null | undefined;
|
|
1219
|
+
platformUrl?: string | null | undefined;
|
|
1220
|
+
};
|
|
1221
|
+
}, {
|
|
1222
|
+
post: {
|
|
1223
|
+
platformId: string;
|
|
1224
|
+
post: {
|
|
1225
|
+
status?: string | null | undefined;
|
|
1226
|
+
title?: string | null | undefined;
|
|
1227
|
+
description?: string | null | undefined;
|
|
1228
|
+
brand?: string | null | undefined;
|
|
1229
|
+
statusId?: number | null | undefined;
|
|
1230
|
+
sizeId?: number | null | undefined;
|
|
1231
|
+
colorIds?: number[] | null | undefined;
|
|
1232
|
+
packageSizeId?: number | null | undefined;
|
|
1233
|
+
price?: number | null | undefined;
|
|
1234
|
+
currency?: string | null | undefined;
|
|
1235
|
+
catalog?: string | null | undefined;
|
|
1236
|
+
catalogId?: number | null | undefined;
|
|
1237
|
+
colors?: string[] | null | undefined;
|
|
1238
|
+
measurementLength?: number | null | undefined;
|
|
1239
|
+
measurementWidth?: number | null | undefined;
|
|
1240
|
+
photoUrls?: string[] | null | undefined;
|
|
1241
|
+
size?: string | null | undefined;
|
|
1242
|
+
isDraft?: boolean | null | undefined;
|
|
1243
|
+
isArchived?: boolean | null | undefined;
|
|
1244
|
+
availableQuantity?: number | null | undefined;
|
|
1245
|
+
material?: number[] | null | undefined;
|
|
1246
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1247
|
+
labels?: string[] | null | undefined;
|
|
1248
|
+
};
|
|
1249
|
+
createdAt?: Date | null | undefined;
|
|
1250
|
+
platformUrl?: string | null | undefined;
|
|
1251
|
+
};
|
|
1252
|
+
}>;
|
|
1253
|
+
type: z.ZodLiteral<"IMPORTED">;
|
|
1254
|
+
}, "strip", z.ZodTypeAny, {
|
|
1255
|
+
type: "IMPORTED";
|
|
1256
|
+
data: {
|
|
1257
|
+
post: {
|
|
1258
|
+
platformId: string;
|
|
1259
|
+
post: {
|
|
1260
|
+
status?: string | null | undefined;
|
|
1261
|
+
title?: string | null | undefined;
|
|
1262
|
+
description?: string | null | undefined;
|
|
1263
|
+
brand?: string | null | undefined;
|
|
1264
|
+
statusId?: number | null | undefined;
|
|
1265
|
+
sizeId?: number | null | undefined;
|
|
1266
|
+
colorIds?: number[] | null | undefined;
|
|
1267
|
+
packageSizeId?: number | null | undefined;
|
|
1268
|
+
price?: number | null | undefined;
|
|
1269
|
+
currency?: string | null | undefined;
|
|
1270
|
+
catalog?: string | null | undefined;
|
|
1271
|
+
catalogId?: number | null | undefined;
|
|
1272
|
+
colors?: string[] | null | undefined;
|
|
1273
|
+
measurementLength?: number | null | undefined;
|
|
1274
|
+
measurementWidth?: number | null | undefined;
|
|
1275
|
+
photoUrls?: string[] | null | undefined;
|
|
1276
|
+
size?: string | null | undefined;
|
|
1277
|
+
isDraft?: boolean | null | undefined;
|
|
1278
|
+
isArchived?: boolean | null | undefined;
|
|
1279
|
+
availableQuantity?: number | null | undefined;
|
|
1280
|
+
material?: number[] | null | undefined;
|
|
1281
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1282
|
+
labels?: string[] | null | undefined;
|
|
1283
|
+
};
|
|
1284
|
+
createdAt?: Date | null | undefined;
|
|
1285
|
+
platformUrl?: string | null | undefined;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
}, {
|
|
1289
|
+
type: "IMPORTED";
|
|
1290
|
+
data: {
|
|
1291
|
+
post: {
|
|
1292
|
+
platformId: string;
|
|
1293
|
+
post: {
|
|
1294
|
+
status?: string | null | undefined;
|
|
1295
|
+
title?: string | null | undefined;
|
|
1296
|
+
description?: string | null | undefined;
|
|
1297
|
+
brand?: string | null | undefined;
|
|
1298
|
+
statusId?: number | null | undefined;
|
|
1299
|
+
sizeId?: number | null | undefined;
|
|
1300
|
+
colorIds?: number[] | null | undefined;
|
|
1301
|
+
packageSizeId?: number | null | undefined;
|
|
1302
|
+
price?: number | null | undefined;
|
|
1303
|
+
currency?: string | null | undefined;
|
|
1304
|
+
catalog?: string | null | undefined;
|
|
1305
|
+
catalogId?: number | null | undefined;
|
|
1306
|
+
colors?: string[] | null | undefined;
|
|
1307
|
+
measurementLength?: number | null | undefined;
|
|
1308
|
+
measurementWidth?: number | null | undefined;
|
|
1309
|
+
photoUrls?: string[] | null | undefined;
|
|
1310
|
+
size?: string | null | undefined;
|
|
1311
|
+
isDraft?: boolean | null | undefined;
|
|
1312
|
+
isArchived?: boolean | null | undefined;
|
|
1313
|
+
availableQuantity?: number | null | undefined;
|
|
1314
|
+
material?: number[] | null | undefined;
|
|
1315
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1316
|
+
labels?: string[] | null | undefined;
|
|
1317
|
+
};
|
|
1318
|
+
createdAt?: Date | null | undefined;
|
|
1319
|
+
platformUrl?: string | null | undefined;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1014
1322
|
}>, z.ZodObject<{
|
|
1015
1323
|
data: z.ZodObject<{
|
|
1016
1324
|
accountId: z.ZodString;
|
|
@@ -1035,24 +1343,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1035
1343
|
accountId: z.ZodString;
|
|
1036
1344
|
caseId: z.ZodString;
|
|
1037
1345
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
accountId: string;
|
|
1039
1346
|
caseId: string;
|
|
1040
|
-
}, {
|
|
1041
1347
|
accountId: string;
|
|
1348
|
+
}, {
|
|
1042
1349
|
caseId: string;
|
|
1350
|
+
accountId: string;
|
|
1043
1351
|
}>;
|
|
1044
1352
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1045
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1046
1354
|
type: "LIFECYCLE_STARTED";
|
|
1047
1355
|
data: {
|
|
1048
|
-
accountId: string;
|
|
1049
1356
|
caseId: string;
|
|
1357
|
+
accountId: string;
|
|
1050
1358
|
};
|
|
1051
1359
|
}, {
|
|
1052
1360
|
type: "LIFECYCLE_STARTED";
|
|
1053
1361
|
data: {
|
|
1054
|
-
accountId: string;
|
|
1055
1362
|
caseId: string;
|
|
1363
|
+
accountId: string;
|
|
1056
1364
|
};
|
|
1057
1365
|
}>, z.ZodObject<{
|
|
1058
1366
|
data: z.ZodObject<{
|
|
@@ -1077,6 +1385,10 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1077
1385
|
roundStep?: number | null | undefined;
|
|
1078
1386
|
maxRounds?: number | null | undefined;
|
|
1079
1387
|
}>>>;
|
|
1388
|
+
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1389
|
+
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1390
|
+
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1391
|
+
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1080
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1081
1393
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1082
1394
|
publishingDate?: Date | null | undefined;
|
|
@@ -1087,6 +1399,10 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1087
1399
|
roundStep?: number | null | undefined;
|
|
1088
1400
|
maxRounds?: number | null | undefined;
|
|
1089
1401
|
} | null | undefined;
|
|
1402
|
+
isTransfer?: boolean | null | undefined;
|
|
1403
|
+
sourceAccountId?: string | null | undefined;
|
|
1404
|
+
targetAccountId?: string | null | undefined;
|
|
1405
|
+
targetUserId?: number | null | undefined;
|
|
1090
1406
|
}, {
|
|
1091
1407
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1092
1408
|
publishingDate?: Date | null | undefined;
|
|
@@ -1097,6 +1413,10 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1097
1413
|
roundStep?: number | null | undefined;
|
|
1098
1414
|
maxRounds?: number | null | undefined;
|
|
1099
1415
|
} | null | undefined;
|
|
1416
|
+
isTransfer?: boolean | null | undefined;
|
|
1417
|
+
sourceAccountId?: string | null | undefined;
|
|
1418
|
+
targetAccountId?: string | null | undefined;
|
|
1419
|
+
targetUserId?: number | null | undefined;
|
|
1100
1420
|
}>;
|
|
1101
1421
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1102
1422
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1111,6 +1431,10 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1111
1431
|
roundStep?: number | null | undefined;
|
|
1112
1432
|
maxRounds?: number | null | undefined;
|
|
1113
1433
|
} | null | undefined;
|
|
1434
|
+
isTransfer?: boolean | null | undefined;
|
|
1435
|
+
sourceAccountId?: string | null | undefined;
|
|
1436
|
+
targetAccountId?: string | null | undefined;
|
|
1437
|
+
targetUserId?: number | null | undefined;
|
|
1114
1438
|
};
|
|
1115
1439
|
}, {
|
|
1116
1440
|
type: "REPUBLISHING";
|
|
@@ -1124,6 +1448,129 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1124
1448
|
roundStep?: number | null | undefined;
|
|
1125
1449
|
maxRounds?: number | null | undefined;
|
|
1126
1450
|
} | null | undefined;
|
|
1451
|
+
isTransfer?: boolean | null | undefined;
|
|
1452
|
+
sourceAccountId?: string | null | undefined;
|
|
1453
|
+
targetAccountId?: string | null | undefined;
|
|
1454
|
+
targetUserId?: number | null | undefined;
|
|
1455
|
+
};
|
|
1456
|
+
}>, z.ZodObject<{
|
|
1457
|
+
data: z.ZodObject<{
|
|
1458
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1459
|
+
attemptNumber: z.ZodNumber;
|
|
1460
|
+
maxAttempts: z.ZodNumber;
|
|
1461
|
+
previousHistoryId: z.ZodString;
|
|
1462
|
+
originalFailureDate: z.ZodDate;
|
|
1463
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1464
|
+
field: z.ZodEnum<["TITLE", "DESCRIPTION", "SIZE", "BRAND", "STATUS", "PRICE", "PACKAGE_SIZE", "COLOR", "CATALOG", "PHOTOS", "UNKNOWN"]>;
|
|
1465
|
+
autoFixable: z.ZodBoolean;
|
|
1466
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1467
|
+
}, "strip", z.ZodTypeAny, {
|
|
1468
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1469
|
+
autoFixable: boolean;
|
|
1470
|
+
error?: string | null | undefined;
|
|
1471
|
+
}, {
|
|
1472
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1473
|
+
autoFixable: boolean;
|
|
1474
|
+
error?: string | null | undefined;
|
|
1475
|
+
}>, "many">>>;
|
|
1476
|
+
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1477
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
1478
|
+
value: z.ZodNumber;
|
|
1479
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
1480
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1481
|
+
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1482
|
+
}, "strip", z.ZodTypeAny, {
|
|
1483
|
+
value: number;
|
|
1484
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1485
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1486
|
+
roundStep?: number | null | undefined;
|
|
1487
|
+
maxRounds?: number | null | undefined;
|
|
1488
|
+
}, {
|
|
1489
|
+
value: number;
|
|
1490
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1491
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1492
|
+
roundStep?: number | null | undefined;
|
|
1493
|
+
maxRounds?: number | null | undefined;
|
|
1494
|
+
}>>>;
|
|
1495
|
+
}, "strip", z.ZodTypeAny, {
|
|
1496
|
+
maxAttempts: number;
|
|
1497
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1498
|
+
attemptNumber: number;
|
|
1499
|
+
previousHistoryId: string;
|
|
1500
|
+
originalFailureDate: Date;
|
|
1501
|
+
fields?: {
|
|
1502
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1503
|
+
autoFixable: boolean;
|
|
1504
|
+
error?: string | null | undefined;
|
|
1505
|
+
}[] | null | undefined;
|
|
1506
|
+
priceDropPayload?: {
|
|
1507
|
+
value: number;
|
|
1508
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1509
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1510
|
+
roundStep?: number | null | undefined;
|
|
1511
|
+
maxRounds?: number | null | undefined;
|
|
1512
|
+
} | null | undefined;
|
|
1513
|
+
}, {
|
|
1514
|
+
maxAttempts: number;
|
|
1515
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1516
|
+
attemptNumber: number;
|
|
1517
|
+
previousHistoryId: string;
|
|
1518
|
+
originalFailureDate: Date;
|
|
1519
|
+
fields?: {
|
|
1520
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1521
|
+
autoFixable: boolean;
|
|
1522
|
+
error?: string | null | undefined;
|
|
1523
|
+
}[] | null | undefined;
|
|
1524
|
+
priceDropPayload?: {
|
|
1525
|
+
value: number;
|
|
1526
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1527
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1528
|
+
roundStep?: number | null | undefined;
|
|
1529
|
+
maxRounds?: number | null | undefined;
|
|
1530
|
+
} | null | undefined;
|
|
1531
|
+
}>;
|
|
1532
|
+
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1533
|
+
}, "strip", z.ZodTypeAny, {
|
|
1534
|
+
type: "REPUBLISHING_RETRY";
|
|
1535
|
+
data: {
|
|
1536
|
+
maxAttempts: number;
|
|
1537
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1538
|
+
attemptNumber: number;
|
|
1539
|
+
previousHistoryId: string;
|
|
1540
|
+
originalFailureDate: Date;
|
|
1541
|
+
fields?: {
|
|
1542
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1543
|
+
autoFixable: boolean;
|
|
1544
|
+
error?: string | null | undefined;
|
|
1545
|
+
}[] | null | undefined;
|
|
1546
|
+
priceDropPayload?: {
|
|
1547
|
+
value: number;
|
|
1548
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1549
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1550
|
+
roundStep?: number | null | undefined;
|
|
1551
|
+
maxRounds?: number | null | undefined;
|
|
1552
|
+
} | null | undefined;
|
|
1553
|
+
};
|
|
1554
|
+
}, {
|
|
1555
|
+
type: "REPUBLISHING_RETRY";
|
|
1556
|
+
data: {
|
|
1557
|
+
maxAttempts: number;
|
|
1558
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1559
|
+
attemptNumber: number;
|
|
1560
|
+
previousHistoryId: string;
|
|
1561
|
+
originalFailureDate: Date;
|
|
1562
|
+
fields?: {
|
|
1563
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1564
|
+
autoFixable: boolean;
|
|
1565
|
+
error?: string | null | undefined;
|
|
1566
|
+
}[] | null | undefined;
|
|
1567
|
+
priceDropPayload?: {
|
|
1568
|
+
value: number;
|
|
1569
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1570
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1571
|
+
roundStep?: number | null | undefined;
|
|
1572
|
+
maxRounds?: number | null | undefined;
|
|
1573
|
+
} | null | undefined;
|
|
1127
1574
|
};
|
|
1128
1575
|
}>, z.ZodObject<{
|
|
1129
1576
|
data: z.ZodObject<{
|
|
@@ -1149,13 +1596,85 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1149
1596
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1150
1597
|
publishingDate?: Date | null | undefined;
|
|
1151
1598
|
};
|
|
1599
|
+
}>, z.ZodObject<{
|
|
1600
|
+
data: z.ZodObject<{
|
|
1601
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1602
|
+
attemptNumber: z.ZodNumber;
|
|
1603
|
+
maxAttempts: z.ZodNumber;
|
|
1604
|
+
previousHistoryId: z.ZodString;
|
|
1605
|
+
originalFailureDate: z.ZodDate;
|
|
1606
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1607
|
+
field: z.ZodEnum<["TITLE", "DESCRIPTION", "SIZE", "BRAND", "STATUS", "PRICE", "PACKAGE_SIZE", "COLOR", "CATALOG", "PHOTOS", "UNKNOWN"]>;
|
|
1608
|
+
autoFixable: z.ZodBoolean;
|
|
1609
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1610
|
+
}, "strip", z.ZodTypeAny, {
|
|
1611
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1612
|
+
autoFixable: boolean;
|
|
1613
|
+
error?: string | null | undefined;
|
|
1614
|
+
}, {
|
|
1615
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1616
|
+
autoFixable: boolean;
|
|
1617
|
+
error?: string | null | undefined;
|
|
1618
|
+
}>, "many">>>;
|
|
1619
|
+
}, "strip", z.ZodTypeAny, {
|
|
1620
|
+
maxAttempts: number;
|
|
1621
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1622
|
+
attemptNumber: number;
|
|
1623
|
+
previousHistoryId: string;
|
|
1624
|
+
originalFailureDate: Date;
|
|
1625
|
+
fields?: {
|
|
1626
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1627
|
+
autoFixable: boolean;
|
|
1628
|
+
error?: string | null | undefined;
|
|
1629
|
+
}[] | null | undefined;
|
|
1630
|
+
}, {
|
|
1631
|
+
maxAttempts: number;
|
|
1632
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1633
|
+
attemptNumber: number;
|
|
1634
|
+
previousHistoryId: string;
|
|
1635
|
+
originalFailureDate: Date;
|
|
1636
|
+
fields?: {
|
|
1637
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1638
|
+
autoFixable: boolean;
|
|
1639
|
+
error?: string | null | undefined;
|
|
1640
|
+
}[] | null | undefined;
|
|
1641
|
+
}>;
|
|
1642
|
+
type: z.ZodLiteral<"SCHEDULED_RETRY">;
|
|
1643
|
+
}, "strip", z.ZodTypeAny, {
|
|
1644
|
+
type: "SCHEDULED_RETRY";
|
|
1645
|
+
data: {
|
|
1646
|
+
maxAttempts: number;
|
|
1647
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1648
|
+
attemptNumber: number;
|
|
1649
|
+
previousHistoryId: string;
|
|
1650
|
+
originalFailureDate: Date;
|
|
1651
|
+
fields?: {
|
|
1652
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1653
|
+
autoFixable: boolean;
|
|
1654
|
+
error?: string | null | undefined;
|
|
1655
|
+
}[] | null | undefined;
|
|
1656
|
+
};
|
|
1657
|
+
}, {
|
|
1658
|
+
type: "SCHEDULED_RETRY";
|
|
1659
|
+
data: {
|
|
1660
|
+
maxAttempts: number;
|
|
1661
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1662
|
+
attemptNumber: number;
|
|
1663
|
+
previousHistoryId: string;
|
|
1664
|
+
originalFailureDate: Date;
|
|
1665
|
+
fields?: {
|
|
1666
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1667
|
+
autoFixable: boolean;
|
|
1668
|
+
error?: string | null | undefined;
|
|
1669
|
+
}[] | null | undefined;
|
|
1670
|
+
};
|
|
1152
1671
|
}>]>>>;
|
|
1153
1672
|
createdAt: z.ZodDate;
|
|
1154
1673
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1155
1674
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1156
1675
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1157
1676
|
}, "strip", z.ZodTypeAny, {
|
|
1158
|
-
type: "
|
|
1677
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1159
1678
|
id: string;
|
|
1160
1679
|
createdAt: Date;
|
|
1161
1680
|
itemId: string | number;
|
|
@@ -1186,6 +1705,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1186
1705
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1187
1706
|
accountId?: string | null | undefined;
|
|
1188
1707
|
reason?: string | null | undefined;
|
|
1708
|
+
fields?: {
|
|
1709
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1710
|
+
autoFixable: boolean;
|
|
1711
|
+
error?: string | null | undefined;
|
|
1712
|
+
}[] | null | undefined;
|
|
1713
|
+
itemHistoryId?: string | null | undefined;
|
|
1189
1714
|
};
|
|
1190
1715
|
} | {
|
|
1191
1716
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -1201,6 +1726,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1201
1726
|
}[] | null | undefined;
|
|
1202
1727
|
originalPhashes?: string[] | null | undefined;
|
|
1203
1728
|
};
|
|
1729
|
+
} | {
|
|
1730
|
+
type: "IMPORTED";
|
|
1731
|
+
data: {
|
|
1732
|
+
post: {
|
|
1733
|
+
platformId: string;
|
|
1734
|
+
post: {
|
|
1735
|
+
status?: string | null | undefined;
|
|
1736
|
+
title?: string | null | undefined;
|
|
1737
|
+
description?: string | null | undefined;
|
|
1738
|
+
brand?: string | null | undefined;
|
|
1739
|
+
statusId?: number | null | undefined;
|
|
1740
|
+
sizeId?: number | null | undefined;
|
|
1741
|
+
colorIds?: number[] | null | undefined;
|
|
1742
|
+
packageSizeId?: number | null | undefined;
|
|
1743
|
+
price?: number | null | undefined;
|
|
1744
|
+
currency?: string | null | undefined;
|
|
1745
|
+
catalog?: string | null | undefined;
|
|
1746
|
+
catalogId?: number | null | undefined;
|
|
1747
|
+
colors?: string[] | null | undefined;
|
|
1748
|
+
measurementLength?: number | null | undefined;
|
|
1749
|
+
measurementWidth?: number | null | undefined;
|
|
1750
|
+
photoUrls?: string[] | null | undefined;
|
|
1751
|
+
size?: string | null | undefined;
|
|
1752
|
+
isDraft?: boolean | null | undefined;
|
|
1753
|
+
isArchived?: boolean | null | undefined;
|
|
1754
|
+
availableQuantity?: number | null | undefined;
|
|
1755
|
+
material?: number[] | null | undefined;
|
|
1756
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1757
|
+
labels?: string[] | null | undefined;
|
|
1758
|
+
};
|
|
1759
|
+
createdAt?: Date | null | undefined;
|
|
1760
|
+
platformUrl?: string | null | undefined;
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1204
1763
|
} | {
|
|
1205
1764
|
type: "LIFECYCLE_COMPLETED";
|
|
1206
1765
|
data: {
|
|
@@ -1209,8 +1768,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1209
1768
|
} | {
|
|
1210
1769
|
type: "LIFECYCLE_STARTED";
|
|
1211
1770
|
data: {
|
|
1212
|
-
accountId: string;
|
|
1213
1771
|
caseId: string;
|
|
1772
|
+
accountId: string;
|
|
1214
1773
|
};
|
|
1215
1774
|
} | {
|
|
1216
1775
|
type: "REPUBLISHING";
|
|
@@ -1224,6 +1783,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1224
1783
|
roundStep?: number | null | undefined;
|
|
1225
1784
|
maxRounds?: number | null | undefined;
|
|
1226
1785
|
} | null | undefined;
|
|
1786
|
+
isTransfer?: boolean | null | undefined;
|
|
1787
|
+
sourceAccountId?: string | null | undefined;
|
|
1788
|
+
targetAccountId?: string | null | undefined;
|
|
1789
|
+
targetUserId?: number | null | undefined;
|
|
1790
|
+
};
|
|
1791
|
+
} | {
|
|
1792
|
+
type: "REPUBLISHING_RETRY";
|
|
1793
|
+
data: {
|
|
1794
|
+
maxAttempts: number;
|
|
1795
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1796
|
+
attemptNumber: number;
|
|
1797
|
+
previousHistoryId: string;
|
|
1798
|
+
originalFailureDate: Date;
|
|
1799
|
+
fields?: {
|
|
1800
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1801
|
+
autoFixable: boolean;
|
|
1802
|
+
error?: string | null | undefined;
|
|
1803
|
+
}[] | null | undefined;
|
|
1804
|
+
priceDropPayload?: {
|
|
1805
|
+
value: number;
|
|
1806
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1807
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1808
|
+
roundStep?: number | null | undefined;
|
|
1809
|
+
maxRounds?: number | null | undefined;
|
|
1810
|
+
} | null | undefined;
|
|
1227
1811
|
};
|
|
1228
1812
|
} | {
|
|
1229
1813
|
type: "SCHEDULED";
|
|
@@ -1231,12 +1815,26 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1231
1815
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1232
1816
|
publishingDate?: Date | null | undefined;
|
|
1233
1817
|
};
|
|
1818
|
+
} | {
|
|
1819
|
+
type: "SCHEDULED_RETRY";
|
|
1820
|
+
data: {
|
|
1821
|
+
maxAttempts: number;
|
|
1822
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1823
|
+
attemptNumber: number;
|
|
1824
|
+
previousHistoryId: string;
|
|
1825
|
+
originalFailureDate: Date;
|
|
1826
|
+
fields?: {
|
|
1827
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1828
|
+
autoFixable: boolean;
|
|
1829
|
+
error?: string | null | undefined;
|
|
1830
|
+
}[] | null | undefined;
|
|
1831
|
+
};
|
|
1234
1832
|
} | null | undefined;
|
|
1235
1833
|
accountId?: string | null | undefined;
|
|
1236
|
-
targetDate?: Date | null | undefined;
|
|
1237
1834
|
requestId?: string | null | undefined;
|
|
1835
|
+
targetDate?: Date | null | undefined;
|
|
1238
1836
|
}, {
|
|
1239
|
-
type: "
|
|
1837
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1240
1838
|
id: string;
|
|
1241
1839
|
createdAt: Date;
|
|
1242
1840
|
itemId: string | number;
|
|
@@ -1267,6 +1865,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1267
1865
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1268
1866
|
accountId?: string | null | undefined;
|
|
1269
1867
|
reason?: string | null | undefined;
|
|
1868
|
+
fields?: {
|
|
1869
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1870
|
+
autoFixable: boolean;
|
|
1871
|
+
error?: string | null | undefined;
|
|
1872
|
+
}[] | null | undefined;
|
|
1873
|
+
itemHistoryId?: string | null | undefined;
|
|
1270
1874
|
};
|
|
1271
1875
|
} | {
|
|
1272
1876
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -1282,6 +1886,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1282
1886
|
}[] | null | undefined;
|
|
1283
1887
|
originalPhashes?: string[] | null | undefined;
|
|
1284
1888
|
};
|
|
1889
|
+
} | {
|
|
1890
|
+
type: "IMPORTED";
|
|
1891
|
+
data: {
|
|
1892
|
+
post: {
|
|
1893
|
+
platformId: string;
|
|
1894
|
+
post: {
|
|
1895
|
+
status?: string | null | undefined;
|
|
1896
|
+
title?: string | null | undefined;
|
|
1897
|
+
description?: string | null | undefined;
|
|
1898
|
+
brand?: string | null | undefined;
|
|
1899
|
+
statusId?: number | null | undefined;
|
|
1900
|
+
sizeId?: number | null | undefined;
|
|
1901
|
+
colorIds?: number[] | null | undefined;
|
|
1902
|
+
packageSizeId?: number | null | undefined;
|
|
1903
|
+
price?: number | null | undefined;
|
|
1904
|
+
currency?: string | null | undefined;
|
|
1905
|
+
catalog?: string | null | undefined;
|
|
1906
|
+
catalogId?: number | null | undefined;
|
|
1907
|
+
colors?: string[] | null | undefined;
|
|
1908
|
+
measurementLength?: number | null | undefined;
|
|
1909
|
+
measurementWidth?: number | null | undefined;
|
|
1910
|
+
photoUrls?: string[] | null | undefined;
|
|
1911
|
+
size?: string | null | undefined;
|
|
1912
|
+
isDraft?: boolean | null | undefined;
|
|
1913
|
+
isArchived?: boolean | null | undefined;
|
|
1914
|
+
availableQuantity?: number | null | undefined;
|
|
1915
|
+
material?: number[] | null | undefined;
|
|
1916
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1917
|
+
labels?: string[] | null | undefined;
|
|
1918
|
+
};
|
|
1919
|
+
createdAt?: Date | null | undefined;
|
|
1920
|
+
platformUrl?: string | null | undefined;
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1285
1923
|
} | {
|
|
1286
1924
|
type: "LIFECYCLE_COMPLETED";
|
|
1287
1925
|
data: {
|
|
@@ -1290,8 +1928,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1290
1928
|
} | {
|
|
1291
1929
|
type: "LIFECYCLE_STARTED";
|
|
1292
1930
|
data: {
|
|
1293
|
-
accountId: string;
|
|
1294
1931
|
caseId: string;
|
|
1932
|
+
accountId: string;
|
|
1295
1933
|
};
|
|
1296
1934
|
} | {
|
|
1297
1935
|
type: "REPUBLISHING";
|
|
@@ -1305,6 +1943,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1305
1943
|
roundStep?: number | null | undefined;
|
|
1306
1944
|
maxRounds?: number | null | undefined;
|
|
1307
1945
|
} | null | undefined;
|
|
1946
|
+
isTransfer?: boolean | null | undefined;
|
|
1947
|
+
sourceAccountId?: string | null | undefined;
|
|
1948
|
+
targetAccountId?: string | null | undefined;
|
|
1949
|
+
targetUserId?: number | null | undefined;
|
|
1950
|
+
};
|
|
1951
|
+
} | {
|
|
1952
|
+
type: "REPUBLISHING_RETRY";
|
|
1953
|
+
data: {
|
|
1954
|
+
maxAttempts: number;
|
|
1955
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1956
|
+
attemptNumber: number;
|
|
1957
|
+
previousHistoryId: string;
|
|
1958
|
+
originalFailureDate: Date;
|
|
1959
|
+
fields?: {
|
|
1960
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1961
|
+
autoFixable: boolean;
|
|
1962
|
+
error?: string | null | undefined;
|
|
1963
|
+
}[] | null | undefined;
|
|
1964
|
+
priceDropPayload?: {
|
|
1965
|
+
value: number;
|
|
1966
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1967
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1968
|
+
roundStep?: number | null | undefined;
|
|
1969
|
+
maxRounds?: number | null | undefined;
|
|
1970
|
+
} | null | undefined;
|
|
1308
1971
|
};
|
|
1309
1972
|
} | {
|
|
1310
1973
|
type: "SCHEDULED";
|
|
@@ -1312,10 +1975,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1312
1975
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1313
1976
|
publishingDate?: Date | null | undefined;
|
|
1314
1977
|
};
|
|
1978
|
+
} | {
|
|
1979
|
+
type: "SCHEDULED_RETRY";
|
|
1980
|
+
data: {
|
|
1981
|
+
maxAttempts: number;
|
|
1982
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1983
|
+
attemptNumber: number;
|
|
1984
|
+
previousHistoryId: string;
|
|
1985
|
+
originalFailureDate: Date;
|
|
1986
|
+
fields?: {
|
|
1987
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1988
|
+
autoFixable: boolean;
|
|
1989
|
+
error?: string | null | undefined;
|
|
1990
|
+
}[] | null | undefined;
|
|
1991
|
+
};
|
|
1315
1992
|
} | null | undefined;
|
|
1316
1993
|
accountId?: string | null | undefined;
|
|
1317
|
-
targetDate?: Date | null | undefined;
|
|
1318
1994
|
requestId?: string | null | undefined;
|
|
1995
|
+
targetDate?: Date | null | undefined;
|
|
1319
1996
|
}>>>;
|
|
1320
1997
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1321
1998
|
id: z.ZodString;
|
|
@@ -1350,8 +2027,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1350
2027
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1351
2028
|
}, "strip", z.ZodTypeAny, {
|
|
1352
2029
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1353
|
-
userId: string | number;
|
|
1354
2030
|
name: string;
|
|
2031
|
+
userId: string | number;
|
|
1355
2032
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1356
2033
|
accountId: string;
|
|
1357
2034
|
locale?: string | null | undefined;
|
|
@@ -1364,8 +2041,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1364
2041
|
conversationsMaxDelay?: number | null | undefined;
|
|
1365
2042
|
}, {
|
|
1366
2043
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1367
|
-
userId: string | number;
|
|
1368
2044
|
name: string;
|
|
2045
|
+
userId: string | number;
|
|
1369
2046
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1370
2047
|
accountId: string;
|
|
1371
2048
|
locale?: string | null | undefined;
|
|
@@ -1381,21 +2058,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1381
2058
|
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1382
2059
|
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1383
2060
|
}, "strip", z.ZodTypeAny, {
|
|
1384
|
-
status: "
|
|
2061
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1385
2062
|
id: string;
|
|
1386
2063
|
createdAt: Date;
|
|
1387
|
-
itemId: string | number;
|
|
1388
|
-
updatedAt: Date;
|
|
1389
2064
|
accountId: string;
|
|
2065
|
+
itemId: string | number;
|
|
1390
2066
|
platformId: string;
|
|
1391
2067
|
platformUrl: string;
|
|
2068
|
+
updatedAt: Date;
|
|
1392
2069
|
platformPrice: number;
|
|
1393
2070
|
publishedAt: Date;
|
|
2071
|
+
favoritesCount?: number | null | undefined;
|
|
2072
|
+
viewsCount?: number | null | undefined;
|
|
1394
2073
|
conversationId?: string | null | undefined;
|
|
1395
2074
|
account?: {
|
|
1396
2075
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1397
|
-
userId: string | number;
|
|
1398
2076
|
name: string;
|
|
2077
|
+
userId: string | number;
|
|
1399
2078
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1400
2079
|
accountId: string;
|
|
1401
2080
|
locale?: string | null | undefined;
|
|
@@ -1407,24 +2086,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1407
2086
|
ordersMaxDelay?: number | null | undefined;
|
|
1408
2087
|
conversationsMaxDelay?: number | null | undefined;
|
|
1409
2088
|
} | null | undefined;
|
|
1410
|
-
viewsCount?: number | null | undefined;
|
|
1411
|
-
favoritesCount?: number | null | undefined;
|
|
1412
2089
|
}, {
|
|
1413
|
-
status: "
|
|
2090
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1414
2091
|
id: string;
|
|
1415
2092
|
createdAt: Date;
|
|
1416
|
-
itemId: string | number;
|
|
1417
|
-
updatedAt: Date;
|
|
1418
2093
|
accountId: string;
|
|
2094
|
+
itemId: string | number;
|
|
1419
2095
|
platformId: string;
|
|
1420
2096
|
platformUrl: string;
|
|
2097
|
+
updatedAt: Date;
|
|
1421
2098
|
platformPrice: number;
|
|
1422
2099
|
publishedAt: Date;
|
|
2100
|
+
favoritesCount?: number | null | undefined;
|
|
2101
|
+
viewsCount?: number | null | undefined;
|
|
1423
2102
|
conversationId?: string | null | undefined;
|
|
1424
2103
|
account?: {
|
|
1425
2104
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1426
|
-
userId: string | number;
|
|
1427
2105
|
name: string;
|
|
2106
|
+
userId: string | number;
|
|
1428
2107
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1429
2108
|
accountId: string;
|
|
1430
2109
|
locale?: string | null | undefined;
|
|
@@ -1436,102 +2115,130 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1436
2115
|
ordersMaxDelay?: number | null | undefined;
|
|
1437
2116
|
conversationsMaxDelay?: number | null | undefined;
|
|
1438
2117
|
} | null | undefined;
|
|
1439
|
-
viewsCount?: number | null | undefined;
|
|
1440
|
-
favoritesCount?: number | null | undefined;
|
|
1441
2118
|
}>, "many">>>;
|
|
1442
2119
|
createdAt: z.ZodDate;
|
|
1443
2120
|
updatedAt: z.ZodDate;
|
|
1444
2121
|
}, "strip", z.ZodTypeAny, {
|
|
1445
2122
|
id: string | number;
|
|
1446
|
-
userId: string | number;
|
|
1447
|
-
createdAt: Date;
|
|
1448
2123
|
name: string;
|
|
2124
|
+
createdAt: Date;
|
|
2125
|
+
userId: string | number;
|
|
1449
2126
|
updatedAt: Date;
|
|
1450
2127
|
sold: boolean;
|
|
1451
|
-
customerId?: string | number | null | undefined;
|
|
1452
|
-
description?: string | null | undefined;
|
|
1453
|
-
state?: number | null | undefined;
|
|
1454
|
-
colorIds?: number[] | null | undefined;
|
|
1455
|
-
packageSizeId?: number | null | undefined;
|
|
1456
|
-
sizeId?: number | null | undefined;
|
|
1457
|
-
labels?: {
|
|
1458
|
-
itemId: string | number;
|
|
1459
|
-
labelId: string | number;
|
|
1460
|
-
label?: {
|
|
1461
|
-
id: string | number;
|
|
1462
|
-
createdAt: Date;
|
|
1463
|
-
name: string;
|
|
1464
|
-
isUserLabel: boolean;
|
|
1465
|
-
itemCount?: number | null | undefined;
|
|
1466
|
-
userId?: string | number | null | undefined;
|
|
1467
|
-
} | null | undefined;
|
|
1468
|
-
}[] | null | undefined;
|
|
1469
2128
|
fees?: {
|
|
1470
2129
|
value: number;
|
|
1471
2130
|
type: string;
|
|
1472
2131
|
id: string | number;
|
|
1473
|
-
userId: string | number;
|
|
1474
|
-
createdAt: Date;
|
|
1475
2132
|
name: string;
|
|
2133
|
+
createdAt: Date;
|
|
2134
|
+
userId: string | number;
|
|
2135
|
+
updatedAt: Date;
|
|
1476
2136
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1477
2137
|
startDate: Date;
|
|
1478
2138
|
active: boolean;
|
|
1479
|
-
updatedAt: Date;
|
|
1480
2139
|
description?: string | null | undefined;
|
|
1481
|
-
endDate?: Date | null | undefined;
|
|
1482
2140
|
itemId?: string | number | null | undefined;
|
|
2141
|
+
endDate?: Date | null | undefined;
|
|
1483
2142
|
parentFeeId?: string | number | null | undefined;
|
|
1484
2143
|
}[] | null | undefined;
|
|
2144
|
+
description?: string | null | undefined;
|
|
1485
2145
|
categoryId?: number | null | undefined;
|
|
2146
|
+
sizeId?: number | null | undefined;
|
|
2147
|
+
colorIds?: number[] | null | undefined;
|
|
2148
|
+
packageSizeId?: number | null | undefined;
|
|
1486
2149
|
brandId?: string | number | null | undefined;
|
|
1487
2150
|
estimatedPrice?: number | null | undefined;
|
|
1488
2151
|
purchaseDate?: Date | null | undefined;
|
|
1489
2152
|
sellingDate?: Date | null | undefined;
|
|
1490
|
-
|
|
2153
|
+
state?: number | null | undefined;
|
|
2154
|
+
labels?: {
|
|
2155
|
+
itemId: string | number;
|
|
2156
|
+
labelId: string | number;
|
|
2157
|
+
label?: {
|
|
2158
|
+
id: string | number;
|
|
2159
|
+
name: string;
|
|
2160
|
+
createdAt: Date;
|
|
2161
|
+
isUserLabel: boolean;
|
|
2162
|
+
itemCount?: number | null | undefined;
|
|
2163
|
+
userId?: string | number | null | undefined;
|
|
2164
|
+
} | null | undefined;
|
|
2165
|
+
}[] | null | undefined;
|
|
1491
2166
|
files?: {
|
|
1492
|
-
fileId: string;
|
|
1493
2167
|
itemId: string | number;
|
|
2168
|
+
fileId: string;
|
|
2169
|
+
index?: number | null | undefined;
|
|
1494
2170
|
file?: {
|
|
1495
2171
|
path: string;
|
|
1496
2172
|
id: string;
|
|
2173
|
+
createdAt: Date;
|
|
1497
2174
|
userId: string | number;
|
|
1498
2175
|
signedUrl: string;
|
|
1499
|
-
createdAt: Date;
|
|
1500
2176
|
} | null | undefined;
|
|
1501
|
-
index?: number | null | undefined;
|
|
1502
2177
|
}[] | null | undefined;
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
2178
|
+
platforms?: {
|
|
2179
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2180
|
+
id: string;
|
|
2181
|
+
createdAt: Date;
|
|
2182
|
+
accountId: string;
|
|
2183
|
+
itemId: string | number;
|
|
2184
|
+
platformId: string;
|
|
2185
|
+
platformUrl: string;
|
|
2186
|
+
updatedAt: Date;
|
|
2187
|
+
platformPrice: number;
|
|
2188
|
+
publishedAt: Date;
|
|
2189
|
+
favoritesCount?: number | null | undefined;
|
|
2190
|
+
viewsCount?: number | null | undefined;
|
|
2191
|
+
conversationId?: string | null | undefined;
|
|
2192
|
+
account?: {
|
|
2193
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2194
|
+
name: string;
|
|
2195
|
+
userId: string | number;
|
|
2196
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2197
|
+
accountId: string;
|
|
2198
|
+
locale?: string | null | undefined;
|
|
2199
|
+
night?: {
|
|
2200
|
+
startsAt: Date;
|
|
2201
|
+
endsAt: Date;
|
|
2202
|
+
} | null | undefined;
|
|
2203
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2204
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2205
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2206
|
+
} | null | undefined;
|
|
2207
|
+
}[] | null | undefined;
|
|
2208
|
+
fields?: {
|
|
2209
|
+
value: string;
|
|
1530
2210
|
itemId: string | number;
|
|
1531
2211
|
fieldId: string | number;
|
|
1532
2212
|
}[] | null | undefined;
|
|
2213
|
+
sku?: string | null | undefined;
|
|
2214
|
+
sex?: string | null | undefined;
|
|
2215
|
+
purchasePrice?: number | null | undefined;
|
|
2216
|
+
purchasePlaceId?: string | number | null | undefined;
|
|
2217
|
+
purchased?: boolean | null | undefined;
|
|
2218
|
+
sellingPrice?: number | null | undefined;
|
|
2219
|
+
sellingPlaceId?: string | number | null | undefined;
|
|
2220
|
+
feesSum?: number | null | undefined;
|
|
2221
|
+
customerId?: string | number | null | undefined;
|
|
2222
|
+
customer?: {
|
|
2223
|
+
id: string | number;
|
|
2224
|
+
userId: string | number;
|
|
2225
|
+
email: string;
|
|
2226
|
+
firstName: string;
|
|
2227
|
+
lastName: string;
|
|
2228
|
+
birthDate: Date;
|
|
2229
|
+
idNumber: string;
|
|
2230
|
+
phone: string;
|
|
2231
|
+
iban: string;
|
|
2232
|
+
bic: string;
|
|
2233
|
+
phoneVerified: boolean;
|
|
2234
|
+
} | null | undefined;
|
|
2235
|
+
customerType?: string | null | undefined;
|
|
2236
|
+
customerPaid?: boolean | null | undefined;
|
|
2237
|
+
customerPaidDate?: Date | null | undefined;
|
|
2238
|
+
customerPaidType?: string | null | undefined;
|
|
2239
|
+
contractId?: string | number | null | undefined;
|
|
1533
2240
|
lastHistory?: {
|
|
1534
|
-
type: "
|
|
2241
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1535
2242
|
id: string;
|
|
1536
2243
|
createdAt: Date;
|
|
1537
2244
|
itemId: string | number;
|
|
@@ -1562,6 +2269,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1562
2269
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1563
2270
|
accountId?: string | null | undefined;
|
|
1564
2271
|
reason?: string | null | undefined;
|
|
2272
|
+
fields?: {
|
|
2273
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2274
|
+
autoFixable: boolean;
|
|
2275
|
+
error?: string | null | undefined;
|
|
2276
|
+
}[] | null | undefined;
|
|
2277
|
+
itemHistoryId?: string | null | undefined;
|
|
1565
2278
|
};
|
|
1566
2279
|
} | {
|
|
1567
2280
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -1577,6 +2290,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1577
2290
|
}[] | null | undefined;
|
|
1578
2291
|
originalPhashes?: string[] | null | undefined;
|
|
1579
2292
|
};
|
|
2293
|
+
} | {
|
|
2294
|
+
type: "IMPORTED";
|
|
2295
|
+
data: {
|
|
2296
|
+
post: {
|
|
2297
|
+
platformId: string;
|
|
2298
|
+
post: {
|
|
2299
|
+
status?: string | null | undefined;
|
|
2300
|
+
title?: string | null | undefined;
|
|
2301
|
+
description?: string | null | undefined;
|
|
2302
|
+
brand?: string | null | undefined;
|
|
2303
|
+
statusId?: number | null | undefined;
|
|
2304
|
+
sizeId?: number | null | undefined;
|
|
2305
|
+
colorIds?: number[] | null | undefined;
|
|
2306
|
+
packageSizeId?: number | null | undefined;
|
|
2307
|
+
price?: number | null | undefined;
|
|
2308
|
+
currency?: string | null | undefined;
|
|
2309
|
+
catalog?: string | null | undefined;
|
|
2310
|
+
catalogId?: number | null | undefined;
|
|
2311
|
+
colors?: string[] | null | undefined;
|
|
2312
|
+
measurementLength?: number | null | undefined;
|
|
2313
|
+
measurementWidth?: number | null | undefined;
|
|
2314
|
+
photoUrls?: string[] | null | undefined;
|
|
2315
|
+
size?: string | null | undefined;
|
|
2316
|
+
isDraft?: boolean | null | undefined;
|
|
2317
|
+
isArchived?: boolean | null | undefined;
|
|
2318
|
+
availableQuantity?: number | null | undefined;
|
|
2319
|
+
material?: number[] | null | undefined;
|
|
2320
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2321
|
+
labels?: string[] | null | undefined;
|
|
2322
|
+
};
|
|
2323
|
+
createdAt?: Date | null | undefined;
|
|
2324
|
+
platformUrl?: string | null | undefined;
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
1580
2327
|
} | {
|
|
1581
2328
|
type: "LIFECYCLE_COMPLETED";
|
|
1582
2329
|
data: {
|
|
@@ -1585,8 +2332,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1585
2332
|
} | {
|
|
1586
2333
|
type: "LIFECYCLE_STARTED";
|
|
1587
2334
|
data: {
|
|
1588
|
-
accountId: string;
|
|
1589
2335
|
caseId: string;
|
|
2336
|
+
accountId: string;
|
|
1590
2337
|
};
|
|
1591
2338
|
} | {
|
|
1592
2339
|
type: "REPUBLISHING";
|
|
@@ -1600,6 +2347,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1600
2347
|
roundStep?: number | null | undefined;
|
|
1601
2348
|
maxRounds?: number | null | undefined;
|
|
1602
2349
|
} | null | undefined;
|
|
2350
|
+
isTransfer?: boolean | null | undefined;
|
|
2351
|
+
sourceAccountId?: string | null | undefined;
|
|
2352
|
+
targetAccountId?: string | null | undefined;
|
|
2353
|
+
targetUserId?: number | null | undefined;
|
|
2354
|
+
};
|
|
2355
|
+
} | {
|
|
2356
|
+
type: "REPUBLISHING_RETRY";
|
|
2357
|
+
data: {
|
|
2358
|
+
maxAttempts: number;
|
|
2359
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2360
|
+
attemptNumber: number;
|
|
2361
|
+
previousHistoryId: string;
|
|
2362
|
+
originalFailureDate: Date;
|
|
2363
|
+
fields?: {
|
|
2364
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2365
|
+
autoFixable: boolean;
|
|
2366
|
+
error?: string | null | undefined;
|
|
2367
|
+
}[] | null | undefined;
|
|
2368
|
+
priceDropPayload?: {
|
|
2369
|
+
value: number;
|
|
2370
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2371
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2372
|
+
roundStep?: number | null | undefined;
|
|
2373
|
+
maxRounds?: number | null | undefined;
|
|
2374
|
+
} | null | undefined;
|
|
1603
2375
|
};
|
|
1604
2376
|
} | {
|
|
1605
2377
|
type: "SCHEDULED";
|
|
@@ -1607,100 +2379,118 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1607
2379
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1608
2380
|
publishingDate?: Date | null | undefined;
|
|
1609
2381
|
};
|
|
2382
|
+
} | {
|
|
2383
|
+
type: "SCHEDULED_RETRY";
|
|
2384
|
+
data: {
|
|
2385
|
+
maxAttempts: number;
|
|
2386
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2387
|
+
attemptNumber: number;
|
|
2388
|
+
previousHistoryId: string;
|
|
2389
|
+
originalFailureDate: Date;
|
|
2390
|
+
fields?: {
|
|
2391
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2392
|
+
autoFixable: boolean;
|
|
2393
|
+
error?: string | null | undefined;
|
|
2394
|
+
}[] | null | undefined;
|
|
2395
|
+
};
|
|
1610
2396
|
} | null | undefined;
|
|
1611
2397
|
accountId?: string | null | undefined;
|
|
1612
|
-
targetDate?: Date | null | undefined;
|
|
1613
2398
|
requestId?: string | null | undefined;
|
|
2399
|
+
targetDate?: Date | null | undefined;
|
|
1614
2400
|
} | null | undefined;
|
|
1615
|
-
platforms?: {
|
|
1616
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1617
|
-
id: string;
|
|
1618
|
-
createdAt: Date;
|
|
1619
|
-
itemId: string | number;
|
|
1620
|
-
updatedAt: Date;
|
|
1621
|
-
accountId: string;
|
|
1622
|
-
platformId: string;
|
|
1623
|
-
platformUrl: string;
|
|
1624
|
-
platformPrice: number;
|
|
1625
|
-
publishedAt: Date;
|
|
1626
|
-
conversationId?: string | null | undefined;
|
|
1627
|
-
account?: {
|
|
1628
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1629
|
-
userId: string | number;
|
|
1630
|
-
name: string;
|
|
1631
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1632
|
-
accountId: string;
|
|
1633
|
-
locale?: string | null | undefined;
|
|
1634
|
-
night?: {
|
|
1635
|
-
startsAt: Date;
|
|
1636
|
-
endsAt: Date;
|
|
1637
|
-
} | null | undefined;
|
|
1638
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
1639
|
-
ordersMaxDelay?: number | null | undefined;
|
|
1640
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
1641
|
-
} | null | undefined;
|
|
1642
|
-
viewsCount?: number | null | undefined;
|
|
1643
|
-
favoritesCount?: number | null | undefined;
|
|
1644
|
-
}[] | null | undefined;
|
|
1645
2401
|
}, {
|
|
1646
2402
|
id: string | number;
|
|
1647
|
-
userId: string | number;
|
|
1648
|
-
createdAt: Date;
|
|
1649
2403
|
name: string;
|
|
2404
|
+
createdAt: Date;
|
|
2405
|
+
userId: string | number;
|
|
1650
2406
|
updatedAt: Date;
|
|
1651
2407
|
sold: boolean;
|
|
1652
|
-
customerId?: string | number | null | undefined;
|
|
1653
|
-
description?: string | null | undefined;
|
|
1654
|
-
state?: number | null | undefined;
|
|
1655
|
-
colorIds?: number[] | null | undefined;
|
|
1656
|
-
packageSizeId?: number | null | undefined;
|
|
1657
|
-
sizeId?: number | null | undefined;
|
|
1658
|
-
labels?: {
|
|
1659
|
-
itemId: string | number;
|
|
1660
|
-
labelId: string | number;
|
|
1661
|
-
label?: {
|
|
1662
|
-
id: string | number;
|
|
1663
|
-
createdAt: Date;
|
|
1664
|
-
name: string;
|
|
1665
|
-
isUserLabel: boolean;
|
|
1666
|
-
itemCount?: number | null | undefined;
|
|
1667
|
-
userId?: string | number | null | undefined;
|
|
1668
|
-
} | null | undefined;
|
|
1669
|
-
}[] | null | undefined;
|
|
1670
2408
|
fees?: {
|
|
1671
2409
|
value: number;
|
|
1672
2410
|
type: string;
|
|
1673
2411
|
id: string | number;
|
|
1674
|
-
userId: string | number;
|
|
1675
|
-
createdAt: Date;
|
|
1676
2412
|
name: string;
|
|
2413
|
+
createdAt: Date;
|
|
2414
|
+
userId: string | number;
|
|
2415
|
+
updatedAt: Date;
|
|
1677
2416
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1678
2417
|
startDate: Date;
|
|
1679
2418
|
active: boolean;
|
|
1680
|
-
updatedAt: Date;
|
|
1681
2419
|
description?: string | null | undefined;
|
|
1682
|
-
endDate?: Date | null | undefined;
|
|
1683
2420
|
itemId?: string | number | null | undefined;
|
|
2421
|
+
endDate?: Date | null | undefined;
|
|
1684
2422
|
parentFeeId?: string | number | null | undefined;
|
|
1685
2423
|
}[] | null | undefined;
|
|
2424
|
+
description?: string | null | undefined;
|
|
1686
2425
|
categoryId?: number | null | undefined;
|
|
2426
|
+
sizeId?: number | null | undefined;
|
|
2427
|
+
colorIds?: number[] | null | undefined;
|
|
2428
|
+
packageSizeId?: number | null | undefined;
|
|
1687
2429
|
brandId?: string | number | null | undefined;
|
|
1688
2430
|
estimatedPrice?: number | null | undefined;
|
|
1689
2431
|
purchaseDate?: Date | null | undefined;
|
|
1690
2432
|
sellingDate?: Date | null | undefined;
|
|
1691
|
-
|
|
2433
|
+
state?: number | null | undefined;
|
|
2434
|
+
labels?: {
|
|
2435
|
+
itemId: string | number;
|
|
2436
|
+
labelId: string | number;
|
|
2437
|
+
label?: {
|
|
2438
|
+
id: string | number;
|
|
2439
|
+
name: string;
|
|
2440
|
+
createdAt: Date;
|
|
2441
|
+
isUserLabel: boolean;
|
|
2442
|
+
itemCount?: number | null | undefined;
|
|
2443
|
+
userId?: string | number | null | undefined;
|
|
2444
|
+
} | null | undefined;
|
|
2445
|
+
}[] | null | undefined;
|
|
1692
2446
|
files?: {
|
|
1693
|
-
fileId: string;
|
|
1694
2447
|
itemId: string | number;
|
|
2448
|
+
fileId: string;
|
|
2449
|
+
index?: number | null | undefined;
|
|
1695
2450
|
file?: {
|
|
1696
2451
|
path: string;
|
|
1697
2452
|
id: string;
|
|
2453
|
+
createdAt: Date;
|
|
1698
2454
|
userId: string | number;
|
|
1699
2455
|
signedUrl: string;
|
|
1700
|
-
createdAt: Date;
|
|
1701
2456
|
} | null | undefined;
|
|
1702
|
-
index?: number | null | undefined;
|
|
1703
2457
|
}[] | null | undefined;
|
|
2458
|
+
platforms?: {
|
|
2459
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2460
|
+
id: string;
|
|
2461
|
+
createdAt: Date;
|
|
2462
|
+
accountId: string;
|
|
2463
|
+
itemId: string | number;
|
|
2464
|
+
platformId: string;
|
|
2465
|
+
platformUrl: string;
|
|
2466
|
+
updatedAt: Date;
|
|
2467
|
+
platformPrice: number;
|
|
2468
|
+
publishedAt: Date;
|
|
2469
|
+
favoritesCount?: number | null | undefined;
|
|
2470
|
+
viewsCount?: number | null | undefined;
|
|
2471
|
+
conversationId?: string | null | undefined;
|
|
2472
|
+
account?: {
|
|
2473
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2474
|
+
name: string;
|
|
2475
|
+
userId: string | number;
|
|
2476
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2477
|
+
accountId: string;
|
|
2478
|
+
locale?: string | null | undefined;
|
|
2479
|
+
night?: {
|
|
2480
|
+
startsAt: Date;
|
|
2481
|
+
endsAt: Date;
|
|
2482
|
+
} | null | undefined;
|
|
2483
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2484
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2485
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2486
|
+
} | null | undefined;
|
|
2487
|
+
}[] | null | undefined;
|
|
2488
|
+
fields?: {
|
|
2489
|
+
value: string;
|
|
2490
|
+
itemId: string | number;
|
|
2491
|
+
fieldId: string | number;
|
|
2492
|
+
}[] | null | undefined;
|
|
2493
|
+
sku?: string | null | undefined;
|
|
1704
2494
|
sex?: string | null | undefined;
|
|
1705
2495
|
purchasePrice?: number | null | undefined;
|
|
1706
2496
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -1708,10 +2498,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1708
2498
|
sellingPrice?: number | null | undefined;
|
|
1709
2499
|
sellingPlaceId?: string | number | null | undefined;
|
|
1710
2500
|
feesSum?: number | null | undefined;
|
|
2501
|
+
customerId?: string | number | null | undefined;
|
|
1711
2502
|
customer?: {
|
|
1712
|
-
email: string;
|
|
1713
2503
|
id: string | number;
|
|
1714
2504
|
userId: string | number;
|
|
2505
|
+
email: string;
|
|
1715
2506
|
firstName: string;
|
|
1716
2507
|
lastName: string;
|
|
1717
2508
|
birthDate: Date;
|
|
@@ -1726,13 +2517,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1726
2517
|
customerPaidDate?: Date | null | undefined;
|
|
1727
2518
|
customerPaidType?: string | null | undefined;
|
|
1728
2519
|
contractId?: string | number | null | undefined;
|
|
1729
|
-
fields?: {
|
|
1730
|
-
value: string;
|
|
1731
|
-
itemId: string | number;
|
|
1732
|
-
fieldId: string | number;
|
|
1733
|
-
}[] | null | undefined;
|
|
1734
2520
|
lastHistory?: {
|
|
1735
|
-
type: "
|
|
2521
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1736
2522
|
id: string;
|
|
1737
2523
|
createdAt: Date;
|
|
1738
2524
|
itemId: string | number;
|
|
@@ -1763,6 +2549,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1763
2549
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1764
2550
|
accountId?: string | null | undefined;
|
|
1765
2551
|
reason?: string | null | undefined;
|
|
2552
|
+
fields?: {
|
|
2553
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2554
|
+
autoFixable: boolean;
|
|
2555
|
+
error?: string | null | undefined;
|
|
2556
|
+
}[] | null | undefined;
|
|
2557
|
+
itemHistoryId?: string | null | undefined;
|
|
1766
2558
|
};
|
|
1767
2559
|
} | {
|
|
1768
2560
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -1778,6 +2570,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1778
2570
|
}[] | null | undefined;
|
|
1779
2571
|
originalPhashes?: string[] | null | undefined;
|
|
1780
2572
|
};
|
|
2573
|
+
} | {
|
|
2574
|
+
type: "IMPORTED";
|
|
2575
|
+
data: {
|
|
2576
|
+
post: {
|
|
2577
|
+
platformId: string;
|
|
2578
|
+
post: {
|
|
2579
|
+
status?: string | null | undefined;
|
|
2580
|
+
title?: string | null | undefined;
|
|
2581
|
+
description?: string | null | undefined;
|
|
2582
|
+
brand?: string | null | undefined;
|
|
2583
|
+
statusId?: number | null | undefined;
|
|
2584
|
+
sizeId?: number | null | undefined;
|
|
2585
|
+
colorIds?: number[] | null | undefined;
|
|
2586
|
+
packageSizeId?: number | null | undefined;
|
|
2587
|
+
price?: number | null | undefined;
|
|
2588
|
+
currency?: string | null | undefined;
|
|
2589
|
+
catalog?: string | null | undefined;
|
|
2590
|
+
catalogId?: number | null | undefined;
|
|
2591
|
+
colors?: string[] | null | undefined;
|
|
2592
|
+
measurementLength?: number | null | undefined;
|
|
2593
|
+
measurementWidth?: number | null | undefined;
|
|
2594
|
+
photoUrls?: string[] | null | undefined;
|
|
2595
|
+
size?: string | null | undefined;
|
|
2596
|
+
isDraft?: boolean | null | undefined;
|
|
2597
|
+
isArchived?: boolean | null | undefined;
|
|
2598
|
+
availableQuantity?: number | null | undefined;
|
|
2599
|
+
material?: number[] | null | undefined;
|
|
2600
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2601
|
+
labels?: string[] | null | undefined;
|
|
2602
|
+
};
|
|
2603
|
+
createdAt?: Date | null | undefined;
|
|
2604
|
+
platformUrl?: string | null | undefined;
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
1781
2607
|
} | {
|
|
1782
2608
|
type: "LIFECYCLE_COMPLETED";
|
|
1783
2609
|
data: {
|
|
@@ -1786,8 +2612,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1786
2612
|
} | {
|
|
1787
2613
|
type: "LIFECYCLE_STARTED";
|
|
1788
2614
|
data: {
|
|
1789
|
-
accountId: string;
|
|
1790
2615
|
caseId: string;
|
|
2616
|
+
accountId: string;
|
|
1791
2617
|
};
|
|
1792
2618
|
} | {
|
|
1793
2619
|
type: "REPUBLISHING";
|
|
@@ -1801,6 +2627,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1801
2627
|
roundStep?: number | null | undefined;
|
|
1802
2628
|
maxRounds?: number | null | undefined;
|
|
1803
2629
|
} | null | undefined;
|
|
2630
|
+
isTransfer?: boolean | null | undefined;
|
|
2631
|
+
sourceAccountId?: string | null | undefined;
|
|
2632
|
+
targetAccountId?: string | null | undefined;
|
|
2633
|
+
targetUserId?: number | null | undefined;
|
|
2634
|
+
};
|
|
2635
|
+
} | {
|
|
2636
|
+
type: "REPUBLISHING_RETRY";
|
|
2637
|
+
data: {
|
|
2638
|
+
maxAttempts: number;
|
|
2639
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2640
|
+
attemptNumber: number;
|
|
2641
|
+
previousHistoryId: string;
|
|
2642
|
+
originalFailureDate: Date;
|
|
2643
|
+
fields?: {
|
|
2644
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2645
|
+
autoFixable: boolean;
|
|
2646
|
+
error?: string | null | undefined;
|
|
2647
|
+
}[] | null | undefined;
|
|
2648
|
+
priceDropPayload?: {
|
|
2649
|
+
value: number;
|
|
2650
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2651
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2652
|
+
roundStep?: number | null | undefined;
|
|
2653
|
+
maxRounds?: number | null | undefined;
|
|
2654
|
+
} | null | undefined;
|
|
1804
2655
|
};
|
|
1805
2656
|
} | {
|
|
1806
2657
|
type: "SCHEDULED";
|
|
@@ -1808,102 +2659,120 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1808
2659
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1809
2660
|
publishingDate?: Date | null | undefined;
|
|
1810
2661
|
};
|
|
2662
|
+
} | {
|
|
2663
|
+
type: "SCHEDULED_RETRY";
|
|
2664
|
+
data: {
|
|
2665
|
+
maxAttempts: number;
|
|
2666
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2667
|
+
attemptNumber: number;
|
|
2668
|
+
previousHistoryId: string;
|
|
2669
|
+
originalFailureDate: Date;
|
|
2670
|
+
fields?: {
|
|
2671
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2672
|
+
autoFixable: boolean;
|
|
2673
|
+
error?: string | null | undefined;
|
|
2674
|
+
}[] | null | undefined;
|
|
2675
|
+
};
|
|
1811
2676
|
} | null | undefined;
|
|
1812
2677
|
accountId?: string | null | undefined;
|
|
1813
|
-
targetDate?: Date | null | undefined;
|
|
1814
2678
|
requestId?: string | null | undefined;
|
|
2679
|
+
targetDate?: Date | null | undefined;
|
|
1815
2680
|
} | null | undefined;
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
2681
|
+
}>, "many">;
|
|
2682
|
+
}, "strip", z.ZodTypeAny, {
|
|
2683
|
+
items: {
|
|
2684
|
+
id: string | number;
|
|
2685
|
+
name: string;
|
|
2686
|
+
createdAt: Date;
|
|
2687
|
+
userId: string | number;
|
|
2688
|
+
updatedAt: Date;
|
|
2689
|
+
sold: boolean;
|
|
2690
|
+
fees?: {
|
|
2691
|
+
value: number;
|
|
2692
|
+
type: string;
|
|
2693
|
+
id: string | number;
|
|
2694
|
+
name: string;
|
|
1819
2695
|
createdAt: Date;
|
|
1820
|
-
|
|
2696
|
+
userId: string | number;
|
|
1821
2697
|
updatedAt: Date;
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1830
|
-
userId: string | number;
|
|
1831
|
-
name: string;
|
|
1832
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1833
|
-
accountId: string;
|
|
1834
|
-
locale?: string | null | undefined;
|
|
1835
|
-
night?: {
|
|
1836
|
-
startsAt: Date;
|
|
1837
|
-
endsAt: Date;
|
|
1838
|
-
} | null | undefined;
|
|
1839
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
1840
|
-
ordersMaxDelay?: number | null | undefined;
|
|
1841
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
1842
|
-
} | null | undefined;
|
|
1843
|
-
viewsCount?: number | null | undefined;
|
|
1844
|
-
favoritesCount?: number | null | undefined;
|
|
2698
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2699
|
+
startDate: Date;
|
|
2700
|
+
active: boolean;
|
|
2701
|
+
description?: string | null | undefined;
|
|
2702
|
+
itemId?: string | number | null | undefined;
|
|
2703
|
+
endDate?: Date | null | undefined;
|
|
2704
|
+
parentFeeId?: string | number | null | undefined;
|
|
1845
2705
|
}[] | null | undefined;
|
|
1846
|
-
}>, "many">;
|
|
1847
|
-
}, "strip", z.ZodTypeAny, {
|
|
1848
|
-
items: {
|
|
1849
|
-
id: string | number;
|
|
1850
|
-
userId: string | number;
|
|
1851
|
-
createdAt: Date;
|
|
1852
|
-
name: string;
|
|
1853
|
-
updatedAt: Date;
|
|
1854
|
-
sold: boolean;
|
|
1855
|
-
customerId?: string | number | null | undefined;
|
|
1856
2706
|
description?: string | null | undefined;
|
|
1857
|
-
|
|
2707
|
+
categoryId?: number | null | undefined;
|
|
2708
|
+
sizeId?: number | null | undefined;
|
|
1858
2709
|
colorIds?: number[] | null | undefined;
|
|
1859
2710
|
packageSizeId?: number | null | undefined;
|
|
1860
|
-
|
|
2711
|
+
brandId?: string | number | null | undefined;
|
|
2712
|
+
estimatedPrice?: number | null | undefined;
|
|
2713
|
+
purchaseDate?: Date | null | undefined;
|
|
2714
|
+
sellingDate?: Date | null | undefined;
|
|
2715
|
+
state?: number | null | undefined;
|
|
1861
2716
|
labels?: {
|
|
1862
2717
|
itemId: string | number;
|
|
1863
2718
|
labelId: string | number;
|
|
1864
2719
|
label?: {
|
|
1865
2720
|
id: string | number;
|
|
1866
|
-
createdAt: Date;
|
|
1867
2721
|
name: string;
|
|
2722
|
+
createdAt: Date;
|
|
1868
2723
|
isUserLabel: boolean;
|
|
1869
2724
|
itemCount?: number | null | undefined;
|
|
1870
2725
|
userId?: string | number | null | undefined;
|
|
1871
2726
|
} | null | undefined;
|
|
1872
2727
|
}[] | null | undefined;
|
|
1873
|
-
fees?: {
|
|
1874
|
-
value: number;
|
|
1875
|
-
type: string;
|
|
1876
|
-
id: string | number;
|
|
1877
|
-
userId: string | number;
|
|
1878
|
-
createdAt: Date;
|
|
1879
|
-
name: string;
|
|
1880
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1881
|
-
startDate: Date;
|
|
1882
|
-
active: boolean;
|
|
1883
|
-
updatedAt: Date;
|
|
1884
|
-
description?: string | null | undefined;
|
|
1885
|
-
endDate?: Date | null | undefined;
|
|
1886
|
-
itemId?: string | number | null | undefined;
|
|
1887
|
-
parentFeeId?: string | number | null | undefined;
|
|
1888
|
-
}[] | null | undefined;
|
|
1889
|
-
categoryId?: number | null | undefined;
|
|
1890
|
-
brandId?: string | number | null | undefined;
|
|
1891
|
-
estimatedPrice?: number | null | undefined;
|
|
1892
|
-
purchaseDate?: Date | null | undefined;
|
|
1893
|
-
sellingDate?: Date | null | undefined;
|
|
1894
|
-
sku?: string | null | undefined;
|
|
1895
2728
|
files?: {
|
|
1896
|
-
fileId: string;
|
|
1897
2729
|
itemId: string | number;
|
|
2730
|
+
fileId: string;
|
|
2731
|
+
index?: number | null | undefined;
|
|
1898
2732
|
file?: {
|
|
1899
2733
|
path: string;
|
|
1900
2734
|
id: string;
|
|
2735
|
+
createdAt: Date;
|
|
1901
2736
|
userId: string | number;
|
|
1902
2737
|
signedUrl: string;
|
|
1903
|
-
createdAt: Date;
|
|
1904
2738
|
} | null | undefined;
|
|
1905
|
-
index?: number | null | undefined;
|
|
1906
2739
|
}[] | null | undefined;
|
|
2740
|
+
platforms?: {
|
|
2741
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2742
|
+
id: string;
|
|
2743
|
+
createdAt: Date;
|
|
2744
|
+
accountId: string;
|
|
2745
|
+
itemId: string | number;
|
|
2746
|
+
platformId: string;
|
|
2747
|
+
platformUrl: string;
|
|
2748
|
+
updatedAt: Date;
|
|
2749
|
+
platformPrice: number;
|
|
2750
|
+
publishedAt: Date;
|
|
2751
|
+
favoritesCount?: number | null | undefined;
|
|
2752
|
+
viewsCount?: number | null | undefined;
|
|
2753
|
+
conversationId?: string | null | undefined;
|
|
2754
|
+
account?: {
|
|
2755
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2756
|
+
name: string;
|
|
2757
|
+
userId: string | number;
|
|
2758
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2759
|
+
accountId: string;
|
|
2760
|
+
locale?: string | null | undefined;
|
|
2761
|
+
night?: {
|
|
2762
|
+
startsAt: Date;
|
|
2763
|
+
endsAt: Date;
|
|
2764
|
+
} | null | undefined;
|
|
2765
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2766
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2767
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2768
|
+
} | null | undefined;
|
|
2769
|
+
}[] | null | undefined;
|
|
2770
|
+
fields?: {
|
|
2771
|
+
value: string;
|
|
2772
|
+
itemId: string | number;
|
|
2773
|
+
fieldId: string | number;
|
|
2774
|
+
}[] | null | undefined;
|
|
2775
|
+
sku?: string | null | undefined;
|
|
1907
2776
|
sex?: string | null | undefined;
|
|
1908
2777
|
purchasePrice?: number | null | undefined;
|
|
1909
2778
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -1911,10 +2780,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1911
2780
|
sellingPrice?: number | null | undefined;
|
|
1912
2781
|
sellingPlaceId?: string | number | null | undefined;
|
|
1913
2782
|
feesSum?: number | null | undefined;
|
|
2783
|
+
customerId?: string | number | null | undefined;
|
|
1914
2784
|
customer?: {
|
|
1915
|
-
email: string;
|
|
1916
2785
|
id: string | number;
|
|
1917
2786
|
userId: string | number;
|
|
2787
|
+
email: string;
|
|
1918
2788
|
firstName: string;
|
|
1919
2789
|
lastName: string;
|
|
1920
2790
|
birthDate: Date;
|
|
@@ -1929,13 +2799,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1929
2799
|
customerPaidDate?: Date | null | undefined;
|
|
1930
2800
|
customerPaidType?: string | null | undefined;
|
|
1931
2801
|
contractId?: string | number | null | undefined;
|
|
1932
|
-
fields?: {
|
|
1933
|
-
value: string;
|
|
1934
|
-
itemId: string | number;
|
|
1935
|
-
fieldId: string | number;
|
|
1936
|
-
}[] | null | undefined;
|
|
1937
2802
|
lastHistory?: {
|
|
1938
|
-
type: "
|
|
2803
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1939
2804
|
id: string;
|
|
1940
2805
|
createdAt: Date;
|
|
1941
2806
|
itemId: string | number;
|
|
@@ -1966,6 +2831,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1966
2831
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1967
2832
|
accountId?: string | null | undefined;
|
|
1968
2833
|
reason?: string | null | undefined;
|
|
2834
|
+
fields?: {
|
|
2835
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2836
|
+
autoFixable: boolean;
|
|
2837
|
+
error?: string | null | undefined;
|
|
2838
|
+
}[] | null | undefined;
|
|
2839
|
+
itemHistoryId?: string | null | undefined;
|
|
1969
2840
|
};
|
|
1970
2841
|
} | {
|
|
1971
2842
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -1981,6 +2852,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1981
2852
|
}[] | null | undefined;
|
|
1982
2853
|
originalPhashes?: string[] | null | undefined;
|
|
1983
2854
|
};
|
|
2855
|
+
} | {
|
|
2856
|
+
type: "IMPORTED";
|
|
2857
|
+
data: {
|
|
2858
|
+
post: {
|
|
2859
|
+
platformId: string;
|
|
2860
|
+
post: {
|
|
2861
|
+
status?: string | null | undefined;
|
|
2862
|
+
title?: string | null | undefined;
|
|
2863
|
+
description?: string | null | undefined;
|
|
2864
|
+
brand?: string | null | undefined;
|
|
2865
|
+
statusId?: number | null | undefined;
|
|
2866
|
+
sizeId?: number | null | undefined;
|
|
2867
|
+
colorIds?: number[] | null | undefined;
|
|
2868
|
+
packageSizeId?: number | null | undefined;
|
|
2869
|
+
price?: number | null | undefined;
|
|
2870
|
+
currency?: string | null | undefined;
|
|
2871
|
+
catalog?: string | null | undefined;
|
|
2872
|
+
catalogId?: number | null | undefined;
|
|
2873
|
+
colors?: string[] | null | undefined;
|
|
2874
|
+
measurementLength?: number | null | undefined;
|
|
2875
|
+
measurementWidth?: number | null | undefined;
|
|
2876
|
+
photoUrls?: string[] | null | undefined;
|
|
2877
|
+
size?: string | null | undefined;
|
|
2878
|
+
isDraft?: boolean | null | undefined;
|
|
2879
|
+
isArchived?: boolean | null | undefined;
|
|
2880
|
+
availableQuantity?: number | null | undefined;
|
|
2881
|
+
material?: number[] | null | undefined;
|
|
2882
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2883
|
+
labels?: string[] | null | undefined;
|
|
2884
|
+
};
|
|
2885
|
+
createdAt?: Date | null | undefined;
|
|
2886
|
+
platformUrl?: string | null | undefined;
|
|
2887
|
+
};
|
|
2888
|
+
};
|
|
1984
2889
|
} | {
|
|
1985
2890
|
type: "LIFECYCLE_COMPLETED";
|
|
1986
2891
|
data: {
|
|
@@ -1989,8 +2894,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1989
2894
|
} | {
|
|
1990
2895
|
type: "LIFECYCLE_STARTED";
|
|
1991
2896
|
data: {
|
|
1992
|
-
accountId: string;
|
|
1993
2897
|
caseId: string;
|
|
2898
|
+
accountId: string;
|
|
1994
2899
|
};
|
|
1995
2900
|
} | {
|
|
1996
2901
|
type: "REPUBLISHING";
|
|
@@ -2004,6 +2909,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2004
2909
|
roundStep?: number | null | undefined;
|
|
2005
2910
|
maxRounds?: number | null | undefined;
|
|
2006
2911
|
} | null | undefined;
|
|
2912
|
+
isTransfer?: boolean | null | undefined;
|
|
2913
|
+
sourceAccountId?: string | null | undefined;
|
|
2914
|
+
targetAccountId?: string | null | undefined;
|
|
2915
|
+
targetUserId?: number | null | undefined;
|
|
2916
|
+
};
|
|
2917
|
+
} | {
|
|
2918
|
+
type: "REPUBLISHING_RETRY";
|
|
2919
|
+
data: {
|
|
2920
|
+
maxAttempts: number;
|
|
2921
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2922
|
+
attemptNumber: number;
|
|
2923
|
+
previousHistoryId: string;
|
|
2924
|
+
originalFailureDate: Date;
|
|
2925
|
+
fields?: {
|
|
2926
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2927
|
+
autoFixable: boolean;
|
|
2928
|
+
error?: string | null | undefined;
|
|
2929
|
+
}[] | null | undefined;
|
|
2930
|
+
priceDropPayload?: {
|
|
2931
|
+
value: number;
|
|
2932
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2933
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2934
|
+
roundStep?: number | null | undefined;
|
|
2935
|
+
maxRounds?: number | null | undefined;
|
|
2936
|
+
} | null | undefined;
|
|
2007
2937
|
};
|
|
2008
2938
|
} | {
|
|
2009
2939
|
type: "SCHEDULED";
|
|
@@ -2011,113 +2941,63 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2011
2941
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2012
2942
|
publishingDate?: Date | null | undefined;
|
|
2013
2943
|
};
|
|
2944
|
+
} | {
|
|
2945
|
+
type: "SCHEDULED_RETRY";
|
|
2946
|
+
data: {
|
|
2947
|
+
maxAttempts: number;
|
|
2948
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2949
|
+
attemptNumber: number;
|
|
2950
|
+
previousHistoryId: string;
|
|
2951
|
+
originalFailureDate: Date;
|
|
2952
|
+
fields?: {
|
|
2953
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2954
|
+
autoFixable: boolean;
|
|
2955
|
+
error?: string | null | undefined;
|
|
2956
|
+
}[] | null | undefined;
|
|
2957
|
+
};
|
|
2014
2958
|
} | null | undefined;
|
|
2015
2959
|
accountId?: string | null | undefined;
|
|
2016
|
-
targetDate?: Date | null | undefined;
|
|
2017
2960
|
requestId?: string | null | undefined;
|
|
2961
|
+
targetDate?: Date | null | undefined;
|
|
2018
2962
|
} | null | undefined;
|
|
2019
|
-
platforms?: {
|
|
2020
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2021
|
-
id: string;
|
|
2022
|
-
createdAt: Date;
|
|
2023
|
-
itemId: string | number;
|
|
2024
|
-
updatedAt: Date;
|
|
2025
|
-
accountId: string;
|
|
2026
|
-
platformId: string;
|
|
2027
|
-
platformUrl: string;
|
|
2028
|
-
platformPrice: number;
|
|
2029
|
-
publishedAt: Date;
|
|
2030
|
-
conversationId?: string | null | undefined;
|
|
2031
|
-
account?: {
|
|
2032
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2033
|
-
userId: string | number;
|
|
2034
|
-
name: string;
|
|
2035
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2036
|
-
accountId: string;
|
|
2037
|
-
locale?: string | null | undefined;
|
|
2038
|
-
night?: {
|
|
2039
|
-
startsAt: Date;
|
|
2040
|
-
endsAt: Date;
|
|
2041
|
-
} | null | undefined;
|
|
2042
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2043
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2044
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2045
|
-
} | null | undefined;
|
|
2046
|
-
viewsCount?: number | null | undefined;
|
|
2047
|
-
favoritesCount?: number | null | undefined;
|
|
2048
|
-
}[] | null | undefined;
|
|
2049
2963
|
}[];
|
|
2050
2964
|
order: {
|
|
2051
2965
|
type: "SALE" | "PURCHASE";
|
|
2052
2966
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
2053
|
-
id: string;
|
|
2054
2967
|
date: Date;
|
|
2055
|
-
|
|
2968
|
+
id: string;
|
|
2056
2969
|
accountId: string;
|
|
2057
|
-
|
|
2970
|
+
price: number;
|
|
2058
2971
|
isPrepared: boolean;
|
|
2059
|
-
|
|
2060
|
-
orderId: string;
|
|
2061
|
-
itemOnPlatformId: string;
|
|
2062
|
-
itemOnPlatform?: {
|
|
2063
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2064
|
-
id: string;
|
|
2065
|
-
createdAt: Date;
|
|
2066
|
-
itemId: string | number;
|
|
2067
|
-
updatedAt: Date;
|
|
2068
|
-
accountId: string;
|
|
2069
|
-
platformId: string;
|
|
2070
|
-
platformUrl: string;
|
|
2071
|
-
platformPrice: number;
|
|
2072
|
-
publishedAt: Date;
|
|
2073
|
-
conversationId?: string | null | undefined;
|
|
2074
|
-
account?: {
|
|
2075
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2076
|
-
userId: string | number;
|
|
2077
|
-
name: string;
|
|
2078
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2079
|
-
accountId: string;
|
|
2080
|
-
locale?: string | null | undefined;
|
|
2081
|
-
night?: {
|
|
2082
|
-
startsAt: Date;
|
|
2083
|
-
endsAt: Date;
|
|
2084
|
-
} | null | undefined;
|
|
2085
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2086
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2087
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2088
|
-
} | null | undefined;
|
|
2089
|
-
viewsCount?: number | null | undefined;
|
|
2090
|
-
favoritesCount?: number | null | undefined;
|
|
2091
|
-
} | null | undefined;
|
|
2092
|
-
}[] | null | undefined;
|
|
2972
|
+
platformOrderId: string;
|
|
2093
2973
|
conversationId?: string | null | undefined;
|
|
2094
2974
|
transactionId?: string | null | undefined;
|
|
2095
2975
|
labels?: {
|
|
2096
2976
|
id: string;
|
|
2097
|
-
fileId: string;
|
|
2098
2977
|
orderId: string;
|
|
2978
|
+
fileId: string;
|
|
2099
2979
|
nonCroppedFileId: string;
|
|
2100
2980
|
originalFileId: string;
|
|
2101
2981
|
file?: {
|
|
2102
2982
|
path: string;
|
|
2103
2983
|
id: string;
|
|
2984
|
+
createdAt: Date;
|
|
2104
2985
|
userId: string | number;
|
|
2105
2986
|
signedUrl: string;
|
|
2106
|
-
createdAt: Date;
|
|
2107
2987
|
} | null | undefined;
|
|
2108
2988
|
originalFile?: {
|
|
2109
2989
|
path: string;
|
|
2110
2990
|
id: string;
|
|
2991
|
+
createdAt: Date;
|
|
2111
2992
|
userId: string | number;
|
|
2112
2993
|
signedUrl: string;
|
|
2113
|
-
createdAt: Date;
|
|
2114
2994
|
} | null | undefined;
|
|
2115
2995
|
nonCroppedFile?: {
|
|
2116
2996
|
path: string;
|
|
2117
2997
|
id: string;
|
|
2998
|
+
createdAt: Date;
|
|
2118
2999
|
userId: string | number;
|
|
2119
3000
|
signedUrl: string;
|
|
2120
|
-
createdAt: Date;
|
|
2121
3001
|
} | null | undefined;
|
|
2122
3002
|
}[] | null | undefined;
|
|
2123
3003
|
pickupPoints?: {
|
|
@@ -2141,67 +3021,135 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2141
3021
|
longitude?: number | null | undefined;
|
|
2142
3022
|
} | null | undefined;
|
|
2143
3023
|
}[] | null | undefined;
|
|
3024
|
+
items?: {
|
|
3025
|
+
orderId: string;
|
|
3026
|
+
itemOnPlatformId: string;
|
|
3027
|
+
itemOnPlatform?: {
|
|
3028
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3029
|
+
id: string;
|
|
3030
|
+
createdAt: Date;
|
|
3031
|
+
accountId: string;
|
|
3032
|
+
itemId: string | number;
|
|
3033
|
+
platformId: string;
|
|
3034
|
+
platformUrl: string;
|
|
3035
|
+
updatedAt: Date;
|
|
3036
|
+
platformPrice: number;
|
|
3037
|
+
publishedAt: Date;
|
|
3038
|
+
favoritesCount?: number | null | undefined;
|
|
3039
|
+
viewsCount?: number | null | undefined;
|
|
3040
|
+
conversationId?: string | null | undefined;
|
|
3041
|
+
account?: {
|
|
3042
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3043
|
+
name: string;
|
|
3044
|
+
userId: string | number;
|
|
3045
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3046
|
+
accountId: string;
|
|
3047
|
+
locale?: string | null | undefined;
|
|
3048
|
+
night?: {
|
|
3049
|
+
startsAt: Date;
|
|
3050
|
+
endsAt: Date;
|
|
3051
|
+
} | null | undefined;
|
|
3052
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3053
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3054
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3055
|
+
} | null | undefined;
|
|
3056
|
+
} | null | undefined;
|
|
3057
|
+
}[] | null | undefined;
|
|
2144
3058
|
};
|
|
2145
3059
|
}, {
|
|
2146
3060
|
items: {
|
|
2147
3061
|
id: string | number;
|
|
2148
|
-
userId: string | number;
|
|
2149
|
-
createdAt: Date;
|
|
2150
3062
|
name: string;
|
|
3063
|
+
createdAt: Date;
|
|
3064
|
+
userId: string | number;
|
|
2151
3065
|
updatedAt: Date;
|
|
2152
3066
|
sold: boolean;
|
|
2153
|
-
customerId?: string | number | null | undefined;
|
|
2154
|
-
description?: string | null | undefined;
|
|
2155
|
-
state?: number | null | undefined;
|
|
2156
|
-
colorIds?: number[] | null | undefined;
|
|
2157
|
-
packageSizeId?: number | null | undefined;
|
|
2158
|
-
sizeId?: number | null | undefined;
|
|
2159
|
-
labels?: {
|
|
2160
|
-
itemId: string | number;
|
|
2161
|
-
labelId: string | number;
|
|
2162
|
-
label?: {
|
|
2163
|
-
id: string | number;
|
|
2164
|
-
createdAt: Date;
|
|
2165
|
-
name: string;
|
|
2166
|
-
isUserLabel: boolean;
|
|
2167
|
-
itemCount?: number | null | undefined;
|
|
2168
|
-
userId?: string | number | null | undefined;
|
|
2169
|
-
} | null | undefined;
|
|
2170
|
-
}[] | null | undefined;
|
|
2171
3067
|
fees?: {
|
|
2172
3068
|
value: number;
|
|
2173
3069
|
type: string;
|
|
2174
3070
|
id: string | number;
|
|
2175
|
-
userId: string | number;
|
|
2176
|
-
createdAt: Date;
|
|
2177
3071
|
name: string;
|
|
3072
|
+
createdAt: Date;
|
|
3073
|
+
userId: string | number;
|
|
3074
|
+
updatedAt: Date;
|
|
2178
3075
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2179
3076
|
startDate: Date;
|
|
2180
3077
|
active: boolean;
|
|
2181
|
-
updatedAt: Date;
|
|
2182
3078
|
description?: string | null | undefined;
|
|
2183
|
-
endDate?: Date | null | undefined;
|
|
2184
3079
|
itemId?: string | number | null | undefined;
|
|
3080
|
+
endDate?: Date | null | undefined;
|
|
2185
3081
|
parentFeeId?: string | number | null | undefined;
|
|
2186
3082
|
}[] | null | undefined;
|
|
3083
|
+
description?: string | null | undefined;
|
|
2187
3084
|
categoryId?: number | null | undefined;
|
|
3085
|
+
sizeId?: number | null | undefined;
|
|
3086
|
+
colorIds?: number[] | null | undefined;
|
|
3087
|
+
packageSizeId?: number | null | undefined;
|
|
2188
3088
|
brandId?: string | number | null | undefined;
|
|
2189
3089
|
estimatedPrice?: number | null | undefined;
|
|
2190
3090
|
purchaseDate?: Date | null | undefined;
|
|
2191
3091
|
sellingDate?: Date | null | undefined;
|
|
2192
|
-
|
|
3092
|
+
state?: number | null | undefined;
|
|
3093
|
+
labels?: {
|
|
3094
|
+
itemId: string | number;
|
|
3095
|
+
labelId: string | number;
|
|
3096
|
+
label?: {
|
|
3097
|
+
id: string | number;
|
|
3098
|
+
name: string;
|
|
3099
|
+
createdAt: Date;
|
|
3100
|
+
isUserLabel: boolean;
|
|
3101
|
+
itemCount?: number | null | undefined;
|
|
3102
|
+
userId?: string | number | null | undefined;
|
|
3103
|
+
} | null | undefined;
|
|
3104
|
+
}[] | null | undefined;
|
|
2193
3105
|
files?: {
|
|
2194
|
-
fileId: string;
|
|
2195
3106
|
itemId: string | number;
|
|
3107
|
+
fileId: string;
|
|
3108
|
+
index?: number | null | undefined;
|
|
2196
3109
|
file?: {
|
|
2197
3110
|
path: string;
|
|
2198
3111
|
id: string;
|
|
3112
|
+
createdAt: Date;
|
|
2199
3113
|
userId: string | number;
|
|
2200
3114
|
signedUrl: string;
|
|
2201
|
-
createdAt: Date;
|
|
2202
3115
|
} | null | undefined;
|
|
2203
|
-
index?: number | null | undefined;
|
|
2204
3116
|
}[] | null | undefined;
|
|
3117
|
+
platforms?: {
|
|
3118
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3119
|
+
id: string;
|
|
3120
|
+
createdAt: Date;
|
|
3121
|
+
accountId: string;
|
|
3122
|
+
itemId: string | number;
|
|
3123
|
+
platformId: string;
|
|
3124
|
+
platformUrl: string;
|
|
3125
|
+
updatedAt: Date;
|
|
3126
|
+
platformPrice: number;
|
|
3127
|
+
publishedAt: Date;
|
|
3128
|
+
favoritesCount?: number | null | undefined;
|
|
3129
|
+
viewsCount?: number | null | undefined;
|
|
3130
|
+
conversationId?: string | null | undefined;
|
|
3131
|
+
account?: {
|
|
3132
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3133
|
+
name: string;
|
|
3134
|
+
userId: string | number;
|
|
3135
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3136
|
+
accountId: string;
|
|
3137
|
+
locale?: string | null | undefined;
|
|
3138
|
+
night?: {
|
|
3139
|
+
startsAt: Date;
|
|
3140
|
+
endsAt: Date;
|
|
3141
|
+
} | null | undefined;
|
|
3142
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3143
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3144
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3145
|
+
} | null | undefined;
|
|
3146
|
+
}[] | null | undefined;
|
|
3147
|
+
fields?: {
|
|
3148
|
+
value: string;
|
|
3149
|
+
itemId: string | number;
|
|
3150
|
+
fieldId: string | number;
|
|
3151
|
+
}[] | null | undefined;
|
|
3152
|
+
sku?: string | null | undefined;
|
|
2205
3153
|
sex?: string | null | undefined;
|
|
2206
3154
|
purchasePrice?: number | null | undefined;
|
|
2207
3155
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -2209,10 +3157,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2209
3157
|
sellingPrice?: number | null | undefined;
|
|
2210
3158
|
sellingPlaceId?: string | number | null | undefined;
|
|
2211
3159
|
feesSum?: number | null | undefined;
|
|
3160
|
+
customerId?: string | number | null | undefined;
|
|
2212
3161
|
customer?: {
|
|
2213
|
-
email: string;
|
|
2214
3162
|
id: string | number;
|
|
2215
3163
|
userId: string | number;
|
|
3164
|
+
email: string;
|
|
2216
3165
|
firstName: string;
|
|
2217
3166
|
lastName: string;
|
|
2218
3167
|
birthDate: Date;
|
|
@@ -2227,13 +3176,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2227
3176
|
customerPaidDate?: Date | null | undefined;
|
|
2228
3177
|
customerPaidType?: string | null | undefined;
|
|
2229
3178
|
contractId?: string | number | null | undefined;
|
|
2230
|
-
fields?: {
|
|
2231
|
-
value: string;
|
|
2232
|
-
itemId: string | number;
|
|
2233
|
-
fieldId: string | number;
|
|
2234
|
-
}[] | null | undefined;
|
|
2235
3179
|
lastHistory?: {
|
|
2236
|
-
type: "
|
|
3180
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2237
3181
|
id: string;
|
|
2238
3182
|
createdAt: Date;
|
|
2239
3183
|
itemId: string | number;
|
|
@@ -2264,6 +3208,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2264
3208
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2265
3209
|
accountId?: string | null | undefined;
|
|
2266
3210
|
reason?: string | null | undefined;
|
|
3211
|
+
fields?: {
|
|
3212
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3213
|
+
autoFixable: boolean;
|
|
3214
|
+
error?: string | null | undefined;
|
|
3215
|
+
}[] | null | undefined;
|
|
3216
|
+
itemHistoryId?: string | null | undefined;
|
|
2267
3217
|
};
|
|
2268
3218
|
} | {
|
|
2269
3219
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -2279,6 +3229,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2279
3229
|
}[] | null | undefined;
|
|
2280
3230
|
originalPhashes?: string[] | null | undefined;
|
|
2281
3231
|
};
|
|
3232
|
+
} | {
|
|
3233
|
+
type: "IMPORTED";
|
|
3234
|
+
data: {
|
|
3235
|
+
post: {
|
|
3236
|
+
platformId: string;
|
|
3237
|
+
post: {
|
|
3238
|
+
status?: string | null | undefined;
|
|
3239
|
+
title?: string | null | undefined;
|
|
3240
|
+
description?: string | null | undefined;
|
|
3241
|
+
brand?: string | null | undefined;
|
|
3242
|
+
statusId?: number | null | undefined;
|
|
3243
|
+
sizeId?: number | null | undefined;
|
|
3244
|
+
colorIds?: number[] | null | undefined;
|
|
3245
|
+
packageSizeId?: number | null | undefined;
|
|
3246
|
+
price?: number | null | undefined;
|
|
3247
|
+
currency?: string | null | undefined;
|
|
3248
|
+
catalog?: string | null | undefined;
|
|
3249
|
+
catalogId?: number | null | undefined;
|
|
3250
|
+
colors?: string[] | null | undefined;
|
|
3251
|
+
measurementLength?: number | null | undefined;
|
|
3252
|
+
measurementWidth?: number | null | undefined;
|
|
3253
|
+
photoUrls?: string[] | null | undefined;
|
|
3254
|
+
size?: string | null | undefined;
|
|
3255
|
+
isDraft?: boolean | null | undefined;
|
|
3256
|
+
isArchived?: boolean | null | undefined;
|
|
3257
|
+
availableQuantity?: number | null | undefined;
|
|
3258
|
+
material?: number[] | null | undefined;
|
|
3259
|
+
manufacturerLabelling?: string | null | undefined;
|
|
3260
|
+
labels?: string[] | null | undefined;
|
|
3261
|
+
};
|
|
3262
|
+
createdAt?: Date | null | undefined;
|
|
3263
|
+
platformUrl?: string | null | undefined;
|
|
3264
|
+
};
|
|
3265
|
+
};
|
|
2282
3266
|
} | {
|
|
2283
3267
|
type: "LIFECYCLE_COMPLETED";
|
|
2284
3268
|
data: {
|
|
@@ -2287,8 +3271,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2287
3271
|
} | {
|
|
2288
3272
|
type: "LIFECYCLE_STARTED";
|
|
2289
3273
|
data: {
|
|
2290
|
-
accountId: string;
|
|
2291
3274
|
caseId: string;
|
|
3275
|
+
accountId: string;
|
|
2292
3276
|
};
|
|
2293
3277
|
} | {
|
|
2294
3278
|
type: "REPUBLISHING";
|
|
@@ -2302,6 +3286,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2302
3286
|
roundStep?: number | null | undefined;
|
|
2303
3287
|
maxRounds?: number | null | undefined;
|
|
2304
3288
|
} | null | undefined;
|
|
3289
|
+
isTransfer?: boolean | null | undefined;
|
|
3290
|
+
sourceAccountId?: string | null | undefined;
|
|
3291
|
+
targetAccountId?: string | null | undefined;
|
|
3292
|
+
targetUserId?: number | null | undefined;
|
|
3293
|
+
};
|
|
3294
|
+
} | {
|
|
3295
|
+
type: "REPUBLISHING_RETRY";
|
|
3296
|
+
data: {
|
|
3297
|
+
maxAttempts: number;
|
|
3298
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3299
|
+
attemptNumber: number;
|
|
3300
|
+
previousHistoryId: string;
|
|
3301
|
+
originalFailureDate: Date;
|
|
3302
|
+
fields?: {
|
|
3303
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3304
|
+
autoFixable: boolean;
|
|
3305
|
+
error?: string | null | undefined;
|
|
3306
|
+
}[] | null | undefined;
|
|
3307
|
+
priceDropPayload?: {
|
|
3308
|
+
value: number;
|
|
3309
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3310
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3311
|
+
roundStep?: number | null | undefined;
|
|
3312
|
+
maxRounds?: number | null | undefined;
|
|
3313
|
+
} | null | undefined;
|
|
2305
3314
|
};
|
|
2306
3315
|
} | {
|
|
2307
3316
|
type: "SCHEDULED";
|
|
@@ -2309,113 +3318,63 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2309
3318
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2310
3319
|
publishingDate?: Date | null | undefined;
|
|
2311
3320
|
};
|
|
3321
|
+
} | {
|
|
3322
|
+
type: "SCHEDULED_RETRY";
|
|
3323
|
+
data: {
|
|
3324
|
+
maxAttempts: number;
|
|
3325
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3326
|
+
attemptNumber: number;
|
|
3327
|
+
previousHistoryId: string;
|
|
3328
|
+
originalFailureDate: Date;
|
|
3329
|
+
fields?: {
|
|
3330
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3331
|
+
autoFixable: boolean;
|
|
3332
|
+
error?: string | null | undefined;
|
|
3333
|
+
}[] | null | undefined;
|
|
3334
|
+
};
|
|
2312
3335
|
} | null | undefined;
|
|
2313
3336
|
accountId?: string | null | undefined;
|
|
2314
|
-
targetDate?: Date | null | undefined;
|
|
2315
3337
|
requestId?: string | null | undefined;
|
|
3338
|
+
targetDate?: Date | null | undefined;
|
|
2316
3339
|
} | null | undefined;
|
|
2317
|
-
platforms?: {
|
|
2318
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2319
|
-
id: string;
|
|
2320
|
-
createdAt: Date;
|
|
2321
|
-
itemId: string | number;
|
|
2322
|
-
updatedAt: Date;
|
|
2323
|
-
accountId: string;
|
|
2324
|
-
platformId: string;
|
|
2325
|
-
platformUrl: string;
|
|
2326
|
-
platformPrice: number;
|
|
2327
|
-
publishedAt: Date;
|
|
2328
|
-
conversationId?: string | null | undefined;
|
|
2329
|
-
account?: {
|
|
2330
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2331
|
-
userId: string | number;
|
|
2332
|
-
name: string;
|
|
2333
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2334
|
-
accountId: string;
|
|
2335
|
-
locale?: string | null | undefined;
|
|
2336
|
-
night?: {
|
|
2337
|
-
startsAt: Date;
|
|
2338
|
-
endsAt: Date;
|
|
2339
|
-
} | null | undefined;
|
|
2340
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2341
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2342
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2343
|
-
} | null | undefined;
|
|
2344
|
-
viewsCount?: number | null | undefined;
|
|
2345
|
-
favoritesCount?: number | null | undefined;
|
|
2346
|
-
}[] | null | undefined;
|
|
2347
3340
|
}[];
|
|
2348
|
-
order: {
|
|
2349
|
-
type: "SALE" | "PURCHASE";
|
|
2350
|
-
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
items?: {
|
|
2358
|
-
orderId: string;
|
|
2359
|
-
itemOnPlatformId: string;
|
|
2360
|
-
itemOnPlatform?: {
|
|
2361
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2362
|
-
id: string;
|
|
2363
|
-
createdAt: Date;
|
|
2364
|
-
itemId: string | number;
|
|
2365
|
-
updatedAt: Date;
|
|
2366
|
-
accountId: string;
|
|
2367
|
-
platformId: string;
|
|
2368
|
-
platformUrl: string;
|
|
2369
|
-
platformPrice: number;
|
|
2370
|
-
publishedAt: Date;
|
|
2371
|
-
conversationId?: string | null | undefined;
|
|
2372
|
-
account?: {
|
|
2373
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2374
|
-
userId: string | number;
|
|
2375
|
-
name: string;
|
|
2376
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2377
|
-
accountId: string;
|
|
2378
|
-
locale?: string | null | undefined;
|
|
2379
|
-
night?: {
|
|
2380
|
-
startsAt: Date;
|
|
2381
|
-
endsAt: Date;
|
|
2382
|
-
} | null | undefined;
|
|
2383
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2384
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2385
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2386
|
-
} | null | undefined;
|
|
2387
|
-
viewsCount?: number | null | undefined;
|
|
2388
|
-
favoritesCount?: number | null | undefined;
|
|
2389
|
-
} | null | undefined;
|
|
2390
|
-
}[] | null | undefined;
|
|
3341
|
+
order: {
|
|
3342
|
+
type: "SALE" | "PURCHASE";
|
|
3343
|
+
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
3344
|
+
date: Date;
|
|
3345
|
+
id: string;
|
|
3346
|
+
accountId: string;
|
|
3347
|
+
price: number;
|
|
3348
|
+
isPrepared: boolean;
|
|
3349
|
+
platformOrderId: string;
|
|
2391
3350
|
conversationId?: string | null | undefined;
|
|
2392
3351
|
transactionId?: string | null | undefined;
|
|
2393
3352
|
labels?: {
|
|
2394
3353
|
id: string;
|
|
2395
|
-
fileId: string;
|
|
2396
3354
|
orderId: string;
|
|
3355
|
+
fileId: string;
|
|
2397
3356
|
nonCroppedFileId: string;
|
|
2398
3357
|
originalFileId: string;
|
|
2399
3358
|
file?: {
|
|
2400
3359
|
path: string;
|
|
2401
3360
|
id: string;
|
|
3361
|
+
createdAt: Date;
|
|
2402
3362
|
userId: string | number;
|
|
2403
3363
|
signedUrl: string;
|
|
2404
|
-
createdAt: Date;
|
|
2405
3364
|
} | null | undefined;
|
|
2406
3365
|
originalFile?: {
|
|
2407
3366
|
path: string;
|
|
2408
3367
|
id: string;
|
|
3368
|
+
createdAt: Date;
|
|
2409
3369
|
userId: string | number;
|
|
2410
3370
|
signedUrl: string;
|
|
2411
|
-
createdAt: Date;
|
|
2412
3371
|
} | null | undefined;
|
|
2413
3372
|
nonCroppedFile?: {
|
|
2414
3373
|
path: string;
|
|
2415
3374
|
id: string;
|
|
3375
|
+
createdAt: Date;
|
|
2416
3376
|
userId: string | number;
|
|
2417
3377
|
signedUrl: string;
|
|
2418
|
-
createdAt: Date;
|
|
2419
3378
|
} | null | undefined;
|
|
2420
3379
|
}[] | null | undefined;
|
|
2421
3380
|
pickupPoints?: {
|
|
@@ -2439,6 +3398,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2439
3398
|
longitude?: number | null | undefined;
|
|
2440
3399
|
} | null | undefined;
|
|
2441
3400
|
}[] | null | undefined;
|
|
3401
|
+
items?: {
|
|
3402
|
+
orderId: string;
|
|
3403
|
+
itemOnPlatformId: string;
|
|
3404
|
+
itemOnPlatform?: {
|
|
3405
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3406
|
+
id: string;
|
|
3407
|
+
createdAt: Date;
|
|
3408
|
+
accountId: string;
|
|
3409
|
+
itemId: string | number;
|
|
3410
|
+
platformId: string;
|
|
3411
|
+
platformUrl: string;
|
|
3412
|
+
updatedAt: Date;
|
|
3413
|
+
platformPrice: number;
|
|
3414
|
+
publishedAt: Date;
|
|
3415
|
+
favoritesCount?: number | null | undefined;
|
|
3416
|
+
viewsCount?: number | null | undefined;
|
|
3417
|
+
conversationId?: string | null | undefined;
|
|
3418
|
+
account?: {
|
|
3419
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3420
|
+
name: string;
|
|
3421
|
+
userId: string | number;
|
|
3422
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3423
|
+
accountId: string;
|
|
3424
|
+
locale?: string | null | undefined;
|
|
3425
|
+
night?: {
|
|
3426
|
+
startsAt: Date;
|
|
3427
|
+
endsAt: Date;
|
|
3428
|
+
} | null | undefined;
|
|
3429
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3430
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3431
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3432
|
+
} | null | undefined;
|
|
3433
|
+
} | null | undefined;
|
|
3434
|
+
}[] | null | undefined;
|
|
2442
3435
|
};
|
|
2443
3436
|
}>, "many">;
|
|
2444
3437
|
currentPage: z.ZodNumber;
|
|
@@ -2448,63 +3441,97 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2448
3441
|
rows: {
|
|
2449
3442
|
items: {
|
|
2450
3443
|
id: string | number;
|
|
2451
|
-
userId: string | number;
|
|
2452
|
-
createdAt: Date;
|
|
2453
3444
|
name: string;
|
|
3445
|
+
createdAt: Date;
|
|
3446
|
+
userId: string | number;
|
|
2454
3447
|
updatedAt: Date;
|
|
2455
3448
|
sold: boolean;
|
|
2456
|
-
customerId?: string | number | null | undefined;
|
|
2457
|
-
description?: string | null | undefined;
|
|
2458
|
-
state?: number | null | undefined;
|
|
2459
|
-
colorIds?: number[] | null | undefined;
|
|
2460
|
-
packageSizeId?: number | null | undefined;
|
|
2461
|
-
sizeId?: number | null | undefined;
|
|
2462
|
-
labels?: {
|
|
2463
|
-
itemId: string | number;
|
|
2464
|
-
labelId: string | number;
|
|
2465
|
-
label?: {
|
|
2466
|
-
id: string | number;
|
|
2467
|
-
createdAt: Date;
|
|
2468
|
-
name: string;
|
|
2469
|
-
isUserLabel: boolean;
|
|
2470
|
-
itemCount?: number | null | undefined;
|
|
2471
|
-
userId?: string | number | null | undefined;
|
|
2472
|
-
} | null | undefined;
|
|
2473
|
-
}[] | null | undefined;
|
|
2474
3449
|
fees?: {
|
|
2475
3450
|
value: number;
|
|
2476
3451
|
type: string;
|
|
2477
3452
|
id: string | number;
|
|
2478
|
-
userId: string | number;
|
|
2479
|
-
createdAt: Date;
|
|
2480
3453
|
name: string;
|
|
3454
|
+
createdAt: Date;
|
|
3455
|
+
userId: string | number;
|
|
3456
|
+
updatedAt: Date;
|
|
2481
3457
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2482
3458
|
startDate: Date;
|
|
2483
3459
|
active: boolean;
|
|
2484
|
-
updatedAt: Date;
|
|
2485
3460
|
description?: string | null | undefined;
|
|
2486
|
-
endDate?: Date | null | undefined;
|
|
2487
3461
|
itemId?: string | number | null | undefined;
|
|
3462
|
+
endDate?: Date | null | undefined;
|
|
2488
3463
|
parentFeeId?: string | number | null | undefined;
|
|
2489
3464
|
}[] | null | undefined;
|
|
3465
|
+
description?: string | null | undefined;
|
|
2490
3466
|
categoryId?: number | null | undefined;
|
|
3467
|
+
sizeId?: number | null | undefined;
|
|
3468
|
+
colorIds?: number[] | null | undefined;
|
|
3469
|
+
packageSizeId?: number | null | undefined;
|
|
2491
3470
|
brandId?: string | number | null | undefined;
|
|
2492
3471
|
estimatedPrice?: number | null | undefined;
|
|
2493
3472
|
purchaseDate?: Date | null | undefined;
|
|
2494
3473
|
sellingDate?: Date | null | undefined;
|
|
2495
|
-
|
|
3474
|
+
state?: number | null | undefined;
|
|
3475
|
+
labels?: {
|
|
3476
|
+
itemId: string | number;
|
|
3477
|
+
labelId: string | number;
|
|
3478
|
+
label?: {
|
|
3479
|
+
id: string | number;
|
|
3480
|
+
name: string;
|
|
3481
|
+
createdAt: Date;
|
|
3482
|
+
isUserLabel: boolean;
|
|
3483
|
+
itemCount?: number | null | undefined;
|
|
3484
|
+
userId?: string | number | null | undefined;
|
|
3485
|
+
} | null | undefined;
|
|
3486
|
+
}[] | null | undefined;
|
|
2496
3487
|
files?: {
|
|
2497
|
-
fileId: string;
|
|
2498
3488
|
itemId: string | number;
|
|
3489
|
+
fileId: string;
|
|
3490
|
+
index?: number | null | undefined;
|
|
2499
3491
|
file?: {
|
|
2500
3492
|
path: string;
|
|
2501
3493
|
id: string;
|
|
3494
|
+
createdAt: Date;
|
|
2502
3495
|
userId: string | number;
|
|
2503
3496
|
signedUrl: string;
|
|
2504
|
-
createdAt: Date;
|
|
2505
3497
|
} | null | undefined;
|
|
2506
|
-
index?: number | null | undefined;
|
|
2507
3498
|
}[] | null | undefined;
|
|
3499
|
+
platforms?: {
|
|
3500
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3501
|
+
id: string;
|
|
3502
|
+
createdAt: Date;
|
|
3503
|
+
accountId: string;
|
|
3504
|
+
itemId: string | number;
|
|
3505
|
+
platformId: string;
|
|
3506
|
+
platformUrl: string;
|
|
3507
|
+
updatedAt: Date;
|
|
3508
|
+
platformPrice: number;
|
|
3509
|
+
publishedAt: Date;
|
|
3510
|
+
favoritesCount?: number | null | undefined;
|
|
3511
|
+
viewsCount?: number | null | undefined;
|
|
3512
|
+
conversationId?: string | null | undefined;
|
|
3513
|
+
account?: {
|
|
3514
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3515
|
+
name: string;
|
|
3516
|
+
userId: string | number;
|
|
3517
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3518
|
+
accountId: string;
|
|
3519
|
+
locale?: string | null | undefined;
|
|
3520
|
+
night?: {
|
|
3521
|
+
startsAt: Date;
|
|
3522
|
+
endsAt: Date;
|
|
3523
|
+
} | null | undefined;
|
|
3524
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3525
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3526
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3527
|
+
} | null | undefined;
|
|
3528
|
+
}[] | null | undefined;
|
|
3529
|
+
fields?: {
|
|
3530
|
+
value: string;
|
|
3531
|
+
itemId: string | number;
|
|
3532
|
+
fieldId: string | number;
|
|
3533
|
+
}[] | null | undefined;
|
|
3534
|
+
sku?: string | null | undefined;
|
|
2508
3535
|
sex?: string | null | undefined;
|
|
2509
3536
|
purchasePrice?: number | null | undefined;
|
|
2510
3537
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -2512,10 +3539,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2512
3539
|
sellingPrice?: number | null | undefined;
|
|
2513
3540
|
sellingPlaceId?: string | number | null | undefined;
|
|
2514
3541
|
feesSum?: number | null | undefined;
|
|
3542
|
+
customerId?: string | number | null | undefined;
|
|
2515
3543
|
customer?: {
|
|
2516
|
-
email: string;
|
|
2517
3544
|
id: string | number;
|
|
2518
3545
|
userId: string | number;
|
|
3546
|
+
email: string;
|
|
2519
3547
|
firstName: string;
|
|
2520
3548
|
lastName: string;
|
|
2521
3549
|
birthDate: Date;
|
|
@@ -2530,13 +3558,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2530
3558
|
customerPaidDate?: Date | null | undefined;
|
|
2531
3559
|
customerPaidType?: string | null | undefined;
|
|
2532
3560
|
contractId?: string | number | null | undefined;
|
|
2533
|
-
fields?: {
|
|
2534
|
-
value: string;
|
|
2535
|
-
itemId: string | number;
|
|
2536
|
-
fieldId: string | number;
|
|
2537
|
-
}[] | null | undefined;
|
|
2538
3561
|
lastHistory?: {
|
|
2539
|
-
type: "
|
|
3562
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2540
3563
|
id: string;
|
|
2541
3564
|
createdAt: Date;
|
|
2542
3565
|
itemId: string | number;
|
|
@@ -2567,6 +3590,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2567
3590
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2568
3591
|
accountId?: string | null | undefined;
|
|
2569
3592
|
reason?: string | null | undefined;
|
|
3593
|
+
fields?: {
|
|
3594
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3595
|
+
autoFixable: boolean;
|
|
3596
|
+
error?: string | null | undefined;
|
|
3597
|
+
}[] | null | undefined;
|
|
3598
|
+
itemHistoryId?: string | null | undefined;
|
|
2570
3599
|
};
|
|
2571
3600
|
} | {
|
|
2572
3601
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -2582,6 +3611,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2582
3611
|
}[] | null | undefined;
|
|
2583
3612
|
originalPhashes?: string[] | null | undefined;
|
|
2584
3613
|
};
|
|
3614
|
+
} | {
|
|
3615
|
+
type: "IMPORTED";
|
|
3616
|
+
data: {
|
|
3617
|
+
post: {
|
|
3618
|
+
platformId: string;
|
|
3619
|
+
post: {
|
|
3620
|
+
status?: string | null | undefined;
|
|
3621
|
+
title?: string | null | undefined;
|
|
3622
|
+
description?: string | null | undefined;
|
|
3623
|
+
brand?: string | null | undefined;
|
|
3624
|
+
statusId?: number | null | undefined;
|
|
3625
|
+
sizeId?: number | null | undefined;
|
|
3626
|
+
colorIds?: number[] | null | undefined;
|
|
3627
|
+
packageSizeId?: number | null | undefined;
|
|
3628
|
+
price?: number | null | undefined;
|
|
3629
|
+
currency?: string | null | undefined;
|
|
3630
|
+
catalog?: string | null | undefined;
|
|
3631
|
+
catalogId?: number | null | undefined;
|
|
3632
|
+
colors?: string[] | null | undefined;
|
|
3633
|
+
measurementLength?: number | null | undefined;
|
|
3634
|
+
measurementWidth?: number | null | undefined;
|
|
3635
|
+
photoUrls?: string[] | null | undefined;
|
|
3636
|
+
size?: string | null | undefined;
|
|
3637
|
+
isDraft?: boolean | null | undefined;
|
|
3638
|
+
isArchived?: boolean | null | undefined;
|
|
3639
|
+
availableQuantity?: number | null | undefined;
|
|
3640
|
+
material?: number[] | null | undefined;
|
|
3641
|
+
manufacturerLabelling?: string | null | undefined;
|
|
3642
|
+
labels?: string[] | null | undefined;
|
|
3643
|
+
};
|
|
3644
|
+
createdAt?: Date | null | undefined;
|
|
3645
|
+
platformUrl?: string | null | undefined;
|
|
3646
|
+
};
|
|
3647
|
+
};
|
|
2585
3648
|
} | {
|
|
2586
3649
|
type: "LIFECYCLE_COMPLETED";
|
|
2587
3650
|
data: {
|
|
@@ -2590,8 +3653,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2590
3653
|
} | {
|
|
2591
3654
|
type: "LIFECYCLE_STARTED";
|
|
2592
3655
|
data: {
|
|
2593
|
-
accountId: string;
|
|
2594
3656
|
caseId: string;
|
|
3657
|
+
accountId: string;
|
|
2595
3658
|
};
|
|
2596
3659
|
} | {
|
|
2597
3660
|
type: "REPUBLISHING";
|
|
@@ -2605,6 +3668,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2605
3668
|
roundStep?: number | null | undefined;
|
|
2606
3669
|
maxRounds?: number | null | undefined;
|
|
2607
3670
|
} | null | undefined;
|
|
3671
|
+
isTransfer?: boolean | null | undefined;
|
|
3672
|
+
sourceAccountId?: string | null | undefined;
|
|
3673
|
+
targetAccountId?: string | null | undefined;
|
|
3674
|
+
targetUserId?: number | null | undefined;
|
|
3675
|
+
};
|
|
3676
|
+
} | {
|
|
3677
|
+
type: "REPUBLISHING_RETRY";
|
|
3678
|
+
data: {
|
|
3679
|
+
maxAttempts: number;
|
|
3680
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3681
|
+
attemptNumber: number;
|
|
3682
|
+
previousHistoryId: string;
|
|
3683
|
+
originalFailureDate: Date;
|
|
3684
|
+
fields?: {
|
|
3685
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3686
|
+
autoFixable: boolean;
|
|
3687
|
+
error?: string | null | undefined;
|
|
3688
|
+
}[] | null | undefined;
|
|
3689
|
+
priceDropPayload?: {
|
|
3690
|
+
value: number;
|
|
3691
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3692
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3693
|
+
roundStep?: number | null | undefined;
|
|
3694
|
+
maxRounds?: number | null | undefined;
|
|
3695
|
+
} | null | undefined;
|
|
2608
3696
|
};
|
|
2609
3697
|
} | {
|
|
2610
3698
|
type: "SCHEDULED";
|
|
@@ -2612,113 +3700,63 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2612
3700
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2613
3701
|
publishingDate?: Date | null | undefined;
|
|
2614
3702
|
};
|
|
3703
|
+
} | {
|
|
3704
|
+
type: "SCHEDULED_RETRY";
|
|
3705
|
+
data: {
|
|
3706
|
+
maxAttempts: number;
|
|
3707
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3708
|
+
attemptNumber: number;
|
|
3709
|
+
previousHistoryId: string;
|
|
3710
|
+
originalFailureDate: Date;
|
|
3711
|
+
fields?: {
|
|
3712
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3713
|
+
autoFixable: boolean;
|
|
3714
|
+
error?: string | null | undefined;
|
|
3715
|
+
}[] | null | undefined;
|
|
3716
|
+
};
|
|
2615
3717
|
} | null | undefined;
|
|
2616
3718
|
accountId?: string | null | undefined;
|
|
2617
|
-
targetDate?: Date | null | undefined;
|
|
2618
3719
|
requestId?: string | null | undefined;
|
|
3720
|
+
targetDate?: Date | null | undefined;
|
|
2619
3721
|
} | null | undefined;
|
|
2620
|
-
platforms?: {
|
|
2621
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2622
|
-
id: string;
|
|
2623
|
-
createdAt: Date;
|
|
2624
|
-
itemId: string | number;
|
|
2625
|
-
updatedAt: Date;
|
|
2626
|
-
accountId: string;
|
|
2627
|
-
platformId: string;
|
|
2628
|
-
platformUrl: string;
|
|
2629
|
-
platformPrice: number;
|
|
2630
|
-
publishedAt: Date;
|
|
2631
|
-
conversationId?: string | null | undefined;
|
|
2632
|
-
account?: {
|
|
2633
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2634
|
-
userId: string | number;
|
|
2635
|
-
name: string;
|
|
2636
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2637
|
-
accountId: string;
|
|
2638
|
-
locale?: string | null | undefined;
|
|
2639
|
-
night?: {
|
|
2640
|
-
startsAt: Date;
|
|
2641
|
-
endsAt: Date;
|
|
2642
|
-
} | null | undefined;
|
|
2643
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2644
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2645
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2646
|
-
} | null | undefined;
|
|
2647
|
-
viewsCount?: number | null | undefined;
|
|
2648
|
-
favoritesCount?: number | null | undefined;
|
|
2649
|
-
}[] | null | undefined;
|
|
2650
3722
|
}[];
|
|
2651
3723
|
order: {
|
|
2652
3724
|
type: "SALE" | "PURCHASE";
|
|
2653
3725
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
2654
|
-
id: string;
|
|
2655
3726
|
date: Date;
|
|
2656
|
-
|
|
3727
|
+
id: string;
|
|
2657
3728
|
accountId: string;
|
|
2658
|
-
|
|
3729
|
+
price: number;
|
|
2659
3730
|
isPrepared: boolean;
|
|
2660
|
-
|
|
2661
|
-
orderId: string;
|
|
2662
|
-
itemOnPlatformId: string;
|
|
2663
|
-
itemOnPlatform?: {
|
|
2664
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2665
|
-
id: string;
|
|
2666
|
-
createdAt: Date;
|
|
2667
|
-
itemId: string | number;
|
|
2668
|
-
updatedAt: Date;
|
|
2669
|
-
accountId: string;
|
|
2670
|
-
platformId: string;
|
|
2671
|
-
platformUrl: string;
|
|
2672
|
-
platformPrice: number;
|
|
2673
|
-
publishedAt: Date;
|
|
2674
|
-
conversationId?: string | null | undefined;
|
|
2675
|
-
account?: {
|
|
2676
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2677
|
-
userId: string | number;
|
|
2678
|
-
name: string;
|
|
2679
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2680
|
-
accountId: string;
|
|
2681
|
-
locale?: string | null | undefined;
|
|
2682
|
-
night?: {
|
|
2683
|
-
startsAt: Date;
|
|
2684
|
-
endsAt: Date;
|
|
2685
|
-
} | null | undefined;
|
|
2686
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2687
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2688
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2689
|
-
} | null | undefined;
|
|
2690
|
-
viewsCount?: number | null | undefined;
|
|
2691
|
-
favoritesCount?: number | null | undefined;
|
|
2692
|
-
} | null | undefined;
|
|
2693
|
-
}[] | null | undefined;
|
|
3731
|
+
platformOrderId: string;
|
|
2694
3732
|
conversationId?: string | null | undefined;
|
|
2695
3733
|
transactionId?: string | null | undefined;
|
|
2696
3734
|
labels?: {
|
|
2697
3735
|
id: string;
|
|
2698
|
-
fileId: string;
|
|
2699
3736
|
orderId: string;
|
|
3737
|
+
fileId: string;
|
|
2700
3738
|
nonCroppedFileId: string;
|
|
2701
3739
|
originalFileId: string;
|
|
2702
3740
|
file?: {
|
|
2703
3741
|
path: string;
|
|
2704
3742
|
id: string;
|
|
3743
|
+
createdAt: Date;
|
|
2705
3744
|
userId: string | number;
|
|
2706
3745
|
signedUrl: string;
|
|
2707
|
-
createdAt: Date;
|
|
2708
3746
|
} | null | undefined;
|
|
2709
3747
|
originalFile?: {
|
|
2710
3748
|
path: string;
|
|
2711
3749
|
id: string;
|
|
3750
|
+
createdAt: Date;
|
|
2712
3751
|
userId: string | number;
|
|
2713
3752
|
signedUrl: string;
|
|
2714
|
-
createdAt: Date;
|
|
2715
3753
|
} | null | undefined;
|
|
2716
3754
|
nonCroppedFile?: {
|
|
2717
3755
|
path: string;
|
|
2718
3756
|
id: string;
|
|
3757
|
+
createdAt: Date;
|
|
2719
3758
|
userId: string | number;
|
|
2720
3759
|
signedUrl: string;
|
|
2721
|
-
createdAt: Date;
|
|
2722
3760
|
} | null | undefined;
|
|
2723
3761
|
}[] | null | undefined;
|
|
2724
3762
|
pickupPoints?: {
|
|
@@ -2742,6 +3780,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2742
3780
|
longitude?: number | null | undefined;
|
|
2743
3781
|
} | null | undefined;
|
|
2744
3782
|
}[] | null | undefined;
|
|
3783
|
+
items?: {
|
|
3784
|
+
orderId: string;
|
|
3785
|
+
itemOnPlatformId: string;
|
|
3786
|
+
itemOnPlatform?: {
|
|
3787
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3788
|
+
id: string;
|
|
3789
|
+
createdAt: Date;
|
|
3790
|
+
accountId: string;
|
|
3791
|
+
itemId: string | number;
|
|
3792
|
+
platformId: string;
|
|
3793
|
+
platformUrl: string;
|
|
3794
|
+
updatedAt: Date;
|
|
3795
|
+
platformPrice: number;
|
|
3796
|
+
publishedAt: Date;
|
|
3797
|
+
favoritesCount?: number | null | undefined;
|
|
3798
|
+
viewsCount?: number | null | undefined;
|
|
3799
|
+
conversationId?: string | null | undefined;
|
|
3800
|
+
account?: {
|
|
3801
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3802
|
+
name: string;
|
|
3803
|
+
userId: string | number;
|
|
3804
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3805
|
+
accountId: string;
|
|
3806
|
+
locale?: string | null | undefined;
|
|
3807
|
+
night?: {
|
|
3808
|
+
startsAt: Date;
|
|
3809
|
+
endsAt: Date;
|
|
3810
|
+
} | null | undefined;
|
|
3811
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3812
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3813
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3814
|
+
} | null | undefined;
|
|
3815
|
+
} | null | undefined;
|
|
3816
|
+
}[] | null | undefined;
|
|
2745
3817
|
};
|
|
2746
3818
|
}[];
|
|
2747
3819
|
currentPage: number;
|
|
@@ -2752,63 +3824,97 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2752
3824
|
rows: {
|
|
2753
3825
|
items: {
|
|
2754
3826
|
id: string | number;
|
|
2755
|
-
userId: string | number;
|
|
2756
|
-
createdAt: Date;
|
|
2757
3827
|
name: string;
|
|
3828
|
+
createdAt: Date;
|
|
3829
|
+
userId: string | number;
|
|
2758
3830
|
updatedAt: Date;
|
|
2759
3831
|
sold: boolean;
|
|
2760
|
-
customerId?: string | number | null | undefined;
|
|
2761
|
-
description?: string | null | undefined;
|
|
2762
|
-
state?: number | null | undefined;
|
|
2763
|
-
colorIds?: number[] | null | undefined;
|
|
2764
|
-
packageSizeId?: number | null | undefined;
|
|
2765
|
-
sizeId?: number | null | undefined;
|
|
2766
|
-
labels?: {
|
|
2767
|
-
itemId: string | number;
|
|
2768
|
-
labelId: string | number;
|
|
2769
|
-
label?: {
|
|
2770
|
-
id: string | number;
|
|
2771
|
-
createdAt: Date;
|
|
2772
|
-
name: string;
|
|
2773
|
-
isUserLabel: boolean;
|
|
2774
|
-
itemCount?: number | null | undefined;
|
|
2775
|
-
userId?: string | number | null | undefined;
|
|
2776
|
-
} | null | undefined;
|
|
2777
|
-
}[] | null | undefined;
|
|
2778
3832
|
fees?: {
|
|
2779
3833
|
value: number;
|
|
2780
3834
|
type: string;
|
|
2781
3835
|
id: string | number;
|
|
2782
|
-
userId: string | number;
|
|
2783
|
-
createdAt: Date;
|
|
2784
3836
|
name: string;
|
|
3837
|
+
createdAt: Date;
|
|
3838
|
+
userId: string | number;
|
|
3839
|
+
updatedAt: Date;
|
|
2785
3840
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2786
3841
|
startDate: Date;
|
|
2787
3842
|
active: boolean;
|
|
2788
|
-
updatedAt: Date;
|
|
2789
3843
|
description?: string | null | undefined;
|
|
2790
|
-
endDate?: Date | null | undefined;
|
|
2791
3844
|
itemId?: string | number | null | undefined;
|
|
3845
|
+
endDate?: Date | null | undefined;
|
|
2792
3846
|
parentFeeId?: string | number | null | undefined;
|
|
2793
3847
|
}[] | null | undefined;
|
|
3848
|
+
description?: string | null | undefined;
|
|
2794
3849
|
categoryId?: number | null | undefined;
|
|
3850
|
+
sizeId?: number | null | undefined;
|
|
3851
|
+
colorIds?: number[] | null | undefined;
|
|
3852
|
+
packageSizeId?: number | null | undefined;
|
|
2795
3853
|
brandId?: string | number | null | undefined;
|
|
2796
3854
|
estimatedPrice?: number | null | undefined;
|
|
2797
3855
|
purchaseDate?: Date | null | undefined;
|
|
2798
3856
|
sellingDate?: Date | null | undefined;
|
|
2799
|
-
|
|
3857
|
+
state?: number | null | undefined;
|
|
3858
|
+
labels?: {
|
|
3859
|
+
itemId: string | number;
|
|
3860
|
+
labelId: string | number;
|
|
3861
|
+
label?: {
|
|
3862
|
+
id: string | number;
|
|
3863
|
+
name: string;
|
|
3864
|
+
createdAt: Date;
|
|
3865
|
+
isUserLabel: boolean;
|
|
3866
|
+
itemCount?: number | null | undefined;
|
|
3867
|
+
userId?: string | number | null | undefined;
|
|
3868
|
+
} | null | undefined;
|
|
3869
|
+
}[] | null | undefined;
|
|
2800
3870
|
files?: {
|
|
2801
|
-
fileId: string;
|
|
2802
3871
|
itemId: string | number;
|
|
3872
|
+
fileId: string;
|
|
3873
|
+
index?: number | null | undefined;
|
|
2803
3874
|
file?: {
|
|
2804
3875
|
path: string;
|
|
2805
3876
|
id: string;
|
|
3877
|
+
createdAt: Date;
|
|
2806
3878
|
userId: string | number;
|
|
2807
3879
|
signedUrl: string;
|
|
2808
|
-
createdAt: Date;
|
|
2809
3880
|
} | null | undefined;
|
|
2810
|
-
index?: number | null | undefined;
|
|
2811
3881
|
}[] | null | undefined;
|
|
3882
|
+
platforms?: {
|
|
3883
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3884
|
+
id: string;
|
|
3885
|
+
createdAt: Date;
|
|
3886
|
+
accountId: string;
|
|
3887
|
+
itemId: string | number;
|
|
3888
|
+
platformId: string;
|
|
3889
|
+
platformUrl: string;
|
|
3890
|
+
updatedAt: Date;
|
|
3891
|
+
platformPrice: number;
|
|
3892
|
+
publishedAt: Date;
|
|
3893
|
+
favoritesCount?: number | null | undefined;
|
|
3894
|
+
viewsCount?: number | null | undefined;
|
|
3895
|
+
conversationId?: string | null | undefined;
|
|
3896
|
+
account?: {
|
|
3897
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3898
|
+
name: string;
|
|
3899
|
+
userId: string | number;
|
|
3900
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3901
|
+
accountId: string;
|
|
3902
|
+
locale?: string | null | undefined;
|
|
3903
|
+
night?: {
|
|
3904
|
+
startsAt: Date;
|
|
3905
|
+
endsAt: Date;
|
|
3906
|
+
} | null | undefined;
|
|
3907
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3908
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3909
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3910
|
+
} | null | undefined;
|
|
3911
|
+
}[] | null | undefined;
|
|
3912
|
+
fields?: {
|
|
3913
|
+
value: string;
|
|
3914
|
+
itemId: string | number;
|
|
3915
|
+
fieldId: string | number;
|
|
3916
|
+
}[] | null | undefined;
|
|
3917
|
+
sku?: string | null | undefined;
|
|
2812
3918
|
sex?: string | null | undefined;
|
|
2813
3919
|
purchasePrice?: number | null | undefined;
|
|
2814
3920
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -2816,10 +3922,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2816
3922
|
sellingPrice?: number | null | undefined;
|
|
2817
3923
|
sellingPlaceId?: string | number | null | undefined;
|
|
2818
3924
|
feesSum?: number | null | undefined;
|
|
3925
|
+
customerId?: string | number | null | undefined;
|
|
2819
3926
|
customer?: {
|
|
2820
|
-
email: string;
|
|
2821
3927
|
id: string | number;
|
|
2822
3928
|
userId: string | number;
|
|
3929
|
+
email: string;
|
|
2823
3930
|
firstName: string;
|
|
2824
3931
|
lastName: string;
|
|
2825
3932
|
birthDate: Date;
|
|
@@ -2834,13 +3941,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2834
3941
|
customerPaidDate?: Date | null | undefined;
|
|
2835
3942
|
customerPaidType?: string | null | undefined;
|
|
2836
3943
|
contractId?: string | number | null | undefined;
|
|
2837
|
-
fields?: {
|
|
2838
|
-
value: string;
|
|
2839
|
-
itemId: string | number;
|
|
2840
|
-
fieldId: string | number;
|
|
2841
|
-
}[] | null | undefined;
|
|
2842
3944
|
lastHistory?: {
|
|
2843
|
-
type: "
|
|
3945
|
+
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2844
3946
|
id: string;
|
|
2845
3947
|
createdAt: Date;
|
|
2846
3948
|
itemId: string | number;
|
|
@@ -2871,6 +3973,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2871
3973
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2872
3974
|
accountId?: string | null | undefined;
|
|
2873
3975
|
reason?: string | null | undefined;
|
|
3976
|
+
fields?: {
|
|
3977
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3978
|
+
autoFixable: boolean;
|
|
3979
|
+
error?: string | null | undefined;
|
|
3980
|
+
}[] | null | undefined;
|
|
3981
|
+
itemHistoryId?: string | null | undefined;
|
|
2874
3982
|
};
|
|
2875
3983
|
} | {
|
|
2876
3984
|
type: "IMAGE_PROCESSING_DONE";
|
|
@@ -2886,6 +3994,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2886
3994
|
}[] | null | undefined;
|
|
2887
3995
|
originalPhashes?: string[] | null | undefined;
|
|
2888
3996
|
};
|
|
3997
|
+
} | {
|
|
3998
|
+
type: "IMPORTED";
|
|
3999
|
+
data: {
|
|
4000
|
+
post: {
|
|
4001
|
+
platformId: string;
|
|
4002
|
+
post: {
|
|
4003
|
+
status?: string | null | undefined;
|
|
4004
|
+
title?: string | null | undefined;
|
|
4005
|
+
description?: string | null | undefined;
|
|
4006
|
+
brand?: string | null | undefined;
|
|
4007
|
+
statusId?: number | null | undefined;
|
|
4008
|
+
sizeId?: number | null | undefined;
|
|
4009
|
+
colorIds?: number[] | null | undefined;
|
|
4010
|
+
packageSizeId?: number | null | undefined;
|
|
4011
|
+
price?: number | null | undefined;
|
|
4012
|
+
currency?: string | null | undefined;
|
|
4013
|
+
catalog?: string | null | undefined;
|
|
4014
|
+
catalogId?: number | null | undefined;
|
|
4015
|
+
colors?: string[] | null | undefined;
|
|
4016
|
+
measurementLength?: number | null | undefined;
|
|
4017
|
+
measurementWidth?: number | null | undefined;
|
|
4018
|
+
photoUrls?: string[] | null | undefined;
|
|
4019
|
+
size?: string | null | undefined;
|
|
4020
|
+
isDraft?: boolean | null | undefined;
|
|
4021
|
+
isArchived?: boolean | null | undefined;
|
|
4022
|
+
availableQuantity?: number | null | undefined;
|
|
4023
|
+
material?: number[] | null | undefined;
|
|
4024
|
+
manufacturerLabelling?: string | null | undefined;
|
|
4025
|
+
labels?: string[] | null | undefined;
|
|
4026
|
+
};
|
|
4027
|
+
createdAt?: Date | null | undefined;
|
|
4028
|
+
platformUrl?: string | null | undefined;
|
|
4029
|
+
};
|
|
4030
|
+
};
|
|
2889
4031
|
} | {
|
|
2890
4032
|
type: "LIFECYCLE_COMPLETED";
|
|
2891
4033
|
data: {
|
|
@@ -2894,8 +4036,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2894
4036
|
} | {
|
|
2895
4037
|
type: "LIFECYCLE_STARTED";
|
|
2896
4038
|
data: {
|
|
2897
|
-
accountId: string;
|
|
2898
4039
|
caseId: string;
|
|
4040
|
+
accountId: string;
|
|
2899
4041
|
};
|
|
2900
4042
|
} | {
|
|
2901
4043
|
type: "REPUBLISHING";
|
|
@@ -2909,6 +4051,31 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2909
4051
|
roundStep?: number | null | undefined;
|
|
2910
4052
|
maxRounds?: number | null | undefined;
|
|
2911
4053
|
} | null | undefined;
|
|
4054
|
+
isTransfer?: boolean | null | undefined;
|
|
4055
|
+
sourceAccountId?: string | null | undefined;
|
|
4056
|
+
targetAccountId?: string | null | undefined;
|
|
4057
|
+
targetUserId?: number | null | undefined;
|
|
4058
|
+
};
|
|
4059
|
+
} | {
|
|
4060
|
+
type: "REPUBLISHING_RETRY";
|
|
4061
|
+
data: {
|
|
4062
|
+
maxAttempts: number;
|
|
4063
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4064
|
+
attemptNumber: number;
|
|
4065
|
+
previousHistoryId: string;
|
|
4066
|
+
originalFailureDate: Date;
|
|
4067
|
+
fields?: {
|
|
4068
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4069
|
+
autoFixable: boolean;
|
|
4070
|
+
error?: string | null | undefined;
|
|
4071
|
+
}[] | null | undefined;
|
|
4072
|
+
priceDropPayload?: {
|
|
4073
|
+
value: number;
|
|
4074
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
4075
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
4076
|
+
roundStep?: number | null | undefined;
|
|
4077
|
+
maxRounds?: number | null | undefined;
|
|
4078
|
+
} | null | undefined;
|
|
2912
4079
|
};
|
|
2913
4080
|
} | {
|
|
2914
4081
|
type: "SCHEDULED";
|
|
@@ -2916,113 +4083,63 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2916
4083
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2917
4084
|
publishingDate?: Date | null | undefined;
|
|
2918
4085
|
};
|
|
4086
|
+
} | {
|
|
4087
|
+
type: "SCHEDULED_RETRY";
|
|
4088
|
+
data: {
|
|
4089
|
+
maxAttempts: number;
|
|
4090
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4091
|
+
attemptNumber: number;
|
|
4092
|
+
previousHistoryId: string;
|
|
4093
|
+
originalFailureDate: Date;
|
|
4094
|
+
fields?: {
|
|
4095
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4096
|
+
autoFixable: boolean;
|
|
4097
|
+
error?: string | null | undefined;
|
|
4098
|
+
}[] | null | undefined;
|
|
4099
|
+
};
|
|
2919
4100
|
} | null | undefined;
|
|
2920
4101
|
accountId?: string | null | undefined;
|
|
2921
|
-
targetDate?: Date | null | undefined;
|
|
2922
4102
|
requestId?: string | null | undefined;
|
|
4103
|
+
targetDate?: Date | null | undefined;
|
|
2923
4104
|
} | null | undefined;
|
|
2924
|
-
platforms?: {
|
|
2925
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2926
|
-
id: string;
|
|
2927
|
-
createdAt: Date;
|
|
2928
|
-
itemId: string | number;
|
|
2929
|
-
updatedAt: Date;
|
|
2930
|
-
accountId: string;
|
|
2931
|
-
platformId: string;
|
|
2932
|
-
platformUrl: string;
|
|
2933
|
-
platformPrice: number;
|
|
2934
|
-
publishedAt: Date;
|
|
2935
|
-
conversationId?: string | null | undefined;
|
|
2936
|
-
account?: {
|
|
2937
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2938
|
-
userId: string | number;
|
|
2939
|
-
name: string;
|
|
2940
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2941
|
-
accountId: string;
|
|
2942
|
-
locale?: string | null | undefined;
|
|
2943
|
-
night?: {
|
|
2944
|
-
startsAt: Date;
|
|
2945
|
-
endsAt: Date;
|
|
2946
|
-
} | null | undefined;
|
|
2947
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2948
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2949
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2950
|
-
} | null | undefined;
|
|
2951
|
-
viewsCount?: number | null | undefined;
|
|
2952
|
-
favoritesCount?: number | null | undefined;
|
|
2953
|
-
}[] | null | undefined;
|
|
2954
4105
|
}[];
|
|
2955
4106
|
order: {
|
|
2956
4107
|
type: "SALE" | "PURCHASE";
|
|
2957
4108
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
2958
|
-
id: string;
|
|
2959
4109
|
date: Date;
|
|
2960
|
-
|
|
4110
|
+
id: string;
|
|
2961
4111
|
accountId: string;
|
|
2962
|
-
|
|
4112
|
+
price: number;
|
|
2963
4113
|
isPrepared: boolean;
|
|
2964
|
-
|
|
2965
|
-
orderId: string;
|
|
2966
|
-
itemOnPlatformId: string;
|
|
2967
|
-
itemOnPlatform?: {
|
|
2968
|
-
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
2969
|
-
id: string;
|
|
2970
|
-
createdAt: Date;
|
|
2971
|
-
itemId: string | number;
|
|
2972
|
-
updatedAt: Date;
|
|
2973
|
-
accountId: string;
|
|
2974
|
-
platformId: string;
|
|
2975
|
-
platformUrl: string;
|
|
2976
|
-
platformPrice: number;
|
|
2977
|
-
publishedAt: Date;
|
|
2978
|
-
conversationId?: string | null | undefined;
|
|
2979
|
-
account?: {
|
|
2980
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2981
|
-
userId: string | number;
|
|
2982
|
-
name: string;
|
|
2983
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2984
|
-
accountId: string;
|
|
2985
|
-
locale?: string | null | undefined;
|
|
2986
|
-
night?: {
|
|
2987
|
-
startsAt: Date;
|
|
2988
|
-
endsAt: Date;
|
|
2989
|
-
} | null | undefined;
|
|
2990
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2991
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2992
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2993
|
-
} | null | undefined;
|
|
2994
|
-
viewsCount?: number | null | undefined;
|
|
2995
|
-
favoritesCount?: number | null | undefined;
|
|
2996
|
-
} | null | undefined;
|
|
2997
|
-
}[] | null | undefined;
|
|
4114
|
+
platformOrderId: string;
|
|
2998
4115
|
conversationId?: string | null | undefined;
|
|
2999
4116
|
transactionId?: string | null | undefined;
|
|
3000
4117
|
labels?: {
|
|
3001
4118
|
id: string;
|
|
3002
|
-
fileId: string;
|
|
3003
4119
|
orderId: string;
|
|
4120
|
+
fileId: string;
|
|
3004
4121
|
nonCroppedFileId: string;
|
|
3005
4122
|
originalFileId: string;
|
|
3006
4123
|
file?: {
|
|
3007
4124
|
path: string;
|
|
3008
4125
|
id: string;
|
|
4126
|
+
createdAt: Date;
|
|
3009
4127
|
userId: string | number;
|
|
3010
4128
|
signedUrl: string;
|
|
3011
|
-
createdAt: Date;
|
|
3012
4129
|
} | null | undefined;
|
|
3013
4130
|
originalFile?: {
|
|
3014
4131
|
path: string;
|
|
3015
4132
|
id: string;
|
|
4133
|
+
createdAt: Date;
|
|
3016
4134
|
userId: string | number;
|
|
3017
4135
|
signedUrl: string;
|
|
3018
|
-
createdAt: Date;
|
|
3019
4136
|
} | null | undefined;
|
|
3020
4137
|
nonCroppedFile?: {
|
|
3021
4138
|
path: string;
|
|
3022
4139
|
id: string;
|
|
4140
|
+
createdAt: Date;
|
|
3023
4141
|
userId: string | number;
|
|
3024
4142
|
signedUrl: string;
|
|
3025
|
-
createdAt: Date;
|
|
3026
4143
|
} | null | undefined;
|
|
3027
4144
|
}[] | null | undefined;
|
|
3028
4145
|
pickupPoints?: {
|
|
@@ -3046,6 +4163,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3046
4163
|
longitude?: number | null | undefined;
|
|
3047
4164
|
} | null | undefined;
|
|
3048
4165
|
}[] | null | undefined;
|
|
4166
|
+
items?: {
|
|
4167
|
+
orderId: string;
|
|
4168
|
+
itemOnPlatformId: string;
|
|
4169
|
+
itemOnPlatform?: {
|
|
4170
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
4171
|
+
id: string;
|
|
4172
|
+
createdAt: Date;
|
|
4173
|
+
accountId: string;
|
|
4174
|
+
itemId: string | number;
|
|
4175
|
+
platformId: string;
|
|
4176
|
+
platformUrl: string;
|
|
4177
|
+
updatedAt: Date;
|
|
4178
|
+
platformPrice: number;
|
|
4179
|
+
publishedAt: Date;
|
|
4180
|
+
favoritesCount?: number | null | undefined;
|
|
4181
|
+
viewsCount?: number | null | undefined;
|
|
4182
|
+
conversationId?: string | null | undefined;
|
|
4183
|
+
account?: {
|
|
4184
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4185
|
+
name: string;
|
|
4186
|
+
userId: string | number;
|
|
4187
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4188
|
+
accountId: string;
|
|
4189
|
+
locale?: string | null | undefined;
|
|
4190
|
+
night?: {
|
|
4191
|
+
startsAt: Date;
|
|
4192
|
+
endsAt: Date;
|
|
4193
|
+
} | null | undefined;
|
|
4194
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4195
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4196
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4197
|
+
} | null | undefined;
|
|
4198
|
+
} | null | undefined;
|
|
4199
|
+
}[] | null | undefined;
|
|
3049
4200
|
};
|
|
3050
4201
|
}[];
|
|
3051
4202
|
currentPage: number;
|