@gobodo/gobodo-api-promise 0.1.224 → 0.1.225
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/README.md +4 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +3 -3
- package/dist/api/AIApi.d.ts +99 -99
- package/dist/api/AIApi.d.ts.map +1 -1
- package/dist/api/AIApi.js +86 -86
- package/dist/api/AIConversationsApi.d.ts +162 -162
- package/dist/api/AIConversationsApi.d.ts.map +1 -1
- package/dist/api/AIConversationsApi.js +140 -140
- package/dist/api/AILaunchTemplatesApi.d.ts +78 -78
- package/dist/api/AILaunchTemplatesApi.d.ts.map +1 -1
- package/dist/api/AILaunchTemplatesApi.js +68 -68
- package/dist/api/AIPersonasApi.d.ts +232 -232
- package/dist/api/AIPersonasApi.d.ts.map +1 -1
- package/dist/api/AIPersonasApi.js +200 -200
- package/dist/api/APIClientTenantsApi.d.ts +36 -36
- package/dist/api/APIClientTenantsApi.d.ts.map +1 -1
- package/dist/api/AbilitiesApi.d.ts +22 -22
- package/dist/api/AbilitiesApi.d.ts.map +1 -1
- package/dist/api/AbilitiesApi.js +20 -20
- package/dist/api/ActionTypesApi.d.ts +1 -1
- package/dist/api/AdCampaignsApi.d.ts +50 -50
- package/dist/api/AdCampaignsApi.d.ts.map +1 -1
- package/dist/api/AdCampaignsApi.js +44 -44
- package/dist/api/AdManagementApi.d.ts +85 -85
- package/dist/api/AdManagementApi.d.ts.map +1 -1
- package/dist/api/AdManagementApi.js +74 -74
- package/dist/api/AdminAPIClientConfigApi.d.ts +15 -15
- package/dist/api/AdminAPIClientConfigApi.d.ts.map +1 -1
- package/dist/api/AdminAPIClientConfigApi.js +14 -14
- package/dist/api/AdminDataManagementApi.d.ts +8 -8
- package/dist/api/AdminDataManagementApi.d.ts.map +1 -1
- package/dist/api/AdminDataManagementApi.js +8 -8
- package/dist/api/AdminRequestLogConfigApi.d.ts +15 -15
- package/dist/api/AdminRequestLogConfigApi.d.ts.map +1 -1
- package/dist/api/AdminRequestLogConfigApi.js +14 -14
- package/dist/api/AdsApi.d.ts +36 -36
- package/dist/api/AdsApi.d.ts.map +1 -1
- package/dist/api/AdsApi.js +32 -32
- package/dist/api/ApcopayApi.d.ts +78 -78
- package/dist/api/ApcopayApi.d.ts.map +1 -1
- package/dist/api/ApcopayApi.js +68 -68
- package/dist/api/ApiClientTenantsApi.js +32 -32
- package/dist/api/ApprovalsApi.d.ts +85 -85
- package/dist/api/ApprovalsApi.d.ts.map +1 -1
- package/dist/api/ApprovalsApi.js +74 -74
- package/dist/api/AttachmentsApi.d.ts +6 -6
- package/dist/api/AuthenticationApi.d.ts +12 -12
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/AutomationInvokeApi.d.ts +8 -8
- package/dist/api/AutomationInvokeApi.d.ts.map +1 -1
- package/dist/api/AutomationInvokeApi.js +8 -8
- package/dist/api/AutomationRulesApi.d.ts +57 -57
- package/dist/api/AutomationRulesApi.d.ts.map +1 -1
- package/dist/api/AutomationRulesApi.js +50 -50
- package/dist/api/AutomationTemplatesApi.d.ts +50 -50
- package/dist/api/AutomationTemplatesApi.d.ts.map +1 -1
- package/dist/api/AutomationTemplatesApi.js +44 -44
- package/dist/api/BatchApi.d.ts +106 -106
- package/dist/api/BatchApi.d.ts.map +1 -1
- package/dist/api/BatchApi.js +92 -92
- package/dist/api/CategoriesApi.d.ts +50 -50
- package/dist/api/CategoriesApi.d.ts.map +1 -1
- package/dist/api/CategoriesApi.js +44 -44
- package/dist/api/CircleAccountsApi.d.ts +71 -71
- package/dist/api/CircleAccountsApi.d.ts.map +1 -1
- package/dist/api/CircleAccountsApi.js +62 -62
- package/dist/api/CommentsApi.d.ts +78 -78
- package/dist/api/CommentsApi.d.ts.map +1 -1
- package/dist/api/CommentsApi.js +68 -68
- package/dist/api/ContentManagementApi.d.ts +218 -218
- package/dist/api/ContentManagementApi.d.ts.map +1 -1
- package/dist/api/ContentManagementApi.js +188 -188
- package/dist/api/ConversationsApi.d.ts +64 -64
- package/dist/api/ConversationsApi.d.ts.map +1 -1
- package/dist/api/ConversationsApi.js +56 -56
- package/dist/api/CurrencyApi.d.ts +57 -57
- package/dist/api/CurrencyApi.d.ts.map +1 -1
- package/dist/api/CurrencyApi.js +50 -50
- package/dist/api/DataSheetImportsApi.d.ts +106 -106
- package/dist/api/DataSheetImportsApi.d.ts.map +1 -1
- package/dist/api/DataSheetImportsApi.js +92 -92
- package/dist/api/DataSyncApi.d.ts +78 -78
- package/dist/api/DataSyncApi.d.ts.map +1 -1
- package/dist/api/DataSyncApi.js +68 -68
- package/dist/api/DefaultApi.d.ts +72 -72
- package/dist/api/DefaultApi.d.ts.map +1 -1
- package/dist/api/DefaultApi.js +62 -62
- package/dist/api/DocumentPartTypesApi.d.ts +36 -36
- package/dist/api/DocumentPartTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentPartTypesApi.js +32 -32
- package/dist/api/DocumentPartsApi.d.ts +78 -78
- package/dist/api/DocumentPartsApi.d.ts.map +1 -1
- package/dist/api/DocumentPartsApi.js +68 -68
- package/dist/api/DocumentTypesApi.d.ts +15 -15
- package/dist/api/DocumentTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentTypesApi.js +14 -14
- package/dist/api/DocumentsApi.d.ts +162 -162
- package/dist/api/DocumentsApi.d.ts.map +1 -1
- package/dist/api/DocumentsApi.js +140 -140
- package/dist/api/DynamoDBSyncApi.d.ts +22 -22
- package/dist/api/DynamoDBSyncApi.d.ts.map +1 -1
- package/dist/api/DynamoDBSyncApi.js +20 -20
- package/dist/api/EmailApi.d.ts +8 -8
- package/dist/api/EmailApi.d.ts.map +1 -1
- package/dist/api/EmailApi.js +8 -8
- package/dist/api/EmailsApi.d.ts +29 -29
- package/dist/api/EmailsApi.d.ts.map +1 -1
- package/dist/api/EmailsApi.js +26 -26
- package/dist/api/EntryPartsApi.d.ts +85 -85
- package/dist/api/EntryPartsApi.d.ts.map +1 -1
- package/dist/api/EntryPartsApi.js +74 -74
- package/dist/api/FacebookApi.d.ts +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.d.ts +99 -99
- package/dist/api/FieldsApi.d.ts.map +1 -1
- package/dist/api/FieldsApi.js +86 -86
- package/dist/api/FilesApi.d.ts +50 -50
- package/dist/api/FilesApi.d.ts.map +1 -1
- package/dist/api/FilesApi.js +44 -44
- package/dist/api/FormsApi.d.ts +99 -99
- package/dist/api/FormsApi.d.ts.map +1 -1
- package/dist/api/FormsApi.js +86 -86
- package/dist/api/FunctionsApi.d.ts +183 -183
- package/dist/api/FunctionsApi.d.ts.map +1 -1
- package/dist/api/FunctionsApi.js +158 -158
- package/dist/api/GeocodeApi.d.ts +22 -22
- package/dist/api/GeocodeApi.d.ts.map +1 -1
- package/dist/api/GeocodeApi.js +20 -20
- package/dist/api/GobodoFlowN8nCatalogApi.d.ts +15 -15
- package/dist/api/GobodoFlowN8nCatalogApi.d.ts.map +1 -1
- package/dist/api/GobodoFlowN8nCatalogApi.js +14 -14
- package/dist/api/GobodoFlowWebhooksApi.d.ts +50 -50
- package/dist/api/GobodoFlowWebhooksApi.d.ts.map +1 -1
- package/dist/api/GobodoFlowWebhooksApi.js +44 -44
- package/dist/api/GobodoFlowsApi.d.ts +127 -127
- package/dist/api/GobodoFlowsApi.d.ts.map +1 -1
- package/dist/api/GobodoFlowsApi.js +110 -110
- package/dist/api/GobodoManagementApi.d.ts +141 -141
- package/dist/api/GobodoManagementApi.d.ts.map +1 -1
- package/dist/api/GobodoManagementApi.js +122 -122
- package/dist/api/GoogleApi.d.ts +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.d.ts +155 -155
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +134 -134
- package/dist/api/GraphActionsApi.d.ts +134 -134
- package/dist/api/GraphActionsApi.d.ts.map +1 -1
- package/dist/api/GraphActionsApi.js +116 -116
- package/dist/api/GraphObjectPermissionsApi.d.ts +141 -141
- package/dist/api/GraphObjectPermissionsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectPermissionsApi.js +122 -122
- package/dist/api/GraphObjectTypesApi.d.ts +267 -267
- package/dist/api/GraphObjectTypesApi.d.ts.map +1 -1
- package/dist/api/GraphObjectTypesApi.js +230 -230
- package/dist/api/GraphObjectsApi.d.ts +442 -442
- package/dist/api/GraphObjectsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectsApi.js +380 -380
- package/dist/api/GraphRelationshipTypesApi.d.ts +211 -211
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +182 -182
- package/dist/api/GraphRelationshipsApi.d.ts +211 -211
- package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipsApi.js +182 -182
- package/dist/api/GraphSchemasApi.d.ts +169 -169
- package/dist/api/GraphSchemasApi.d.ts.map +1 -1
- package/dist/api/GraphSchemasApi.js +146 -146
- package/dist/api/GraphTraversalApi.d.ts +57 -57
- package/dist/api/GraphTraversalApi.d.ts.map +1 -1
- package/dist/api/GraphTraversalApi.js +50 -50
- package/dist/api/GraphsApi.d.ts +218 -218
- package/dist/api/GraphsApi.d.ts.map +1 -1
- package/dist/api/GraphsApi.js +188 -188
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +4 -4
- package/dist/api/ImagesApi.d.ts +43 -43
- package/dist/api/ImagesApi.d.ts.map +1 -1
- package/dist/api/ImagesApi.js +38 -38
- package/dist/api/IntegrationsApi.d.ts +85 -85
- package/dist/api/IntegrationsApi.d.ts.map +1 -1
- package/dist/api/IntegrationsApi.js +74 -74
- package/dist/api/InvitesApi.d.ts +36 -36
- package/dist/api/InvitesApi.d.ts.map +1 -1
- package/dist/api/InvitesApi.js +32 -32
- package/dist/api/LaunchTemplatesApi.d.ts +113 -113
- package/dist/api/LaunchTemplatesApi.d.ts.map +1 -1
- package/dist/api/LaunchTemplatesApi.js +98 -98
- package/dist/api/LegacyAdministratorsApi.d.ts +64 -64
- package/dist/api/LegacyAdministratorsApi.d.ts.map +1 -1
- package/dist/api/LegacyAdministratorsApi.js +56 -56
- package/dist/api/LikesApi.d.ts +92 -92
- package/dist/api/LikesApi.d.ts.map +1 -1
- package/dist/api/LikesApi.js +80 -80
- package/dist/api/LinkedINApi.d.ts +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LinksApi.d.ts +64 -64
- package/dist/api/LinksApi.d.ts.map +1 -1
- package/dist/api/LinksApi.js +56 -56
- package/dist/api/LiveMeetingsApi.d.ts +15 -15
- package/dist/api/LiveMeetingsApi.d.ts.map +1 -1
- package/dist/api/LiveMeetingsApi.js +14 -14
- package/dist/api/MeetingEventsApi.d.ts +176 -176
- package/dist/api/MeetingEventsApi.d.ts.map +1 -1
- package/dist/api/MeetingEventsApi.js +152 -152
- package/dist/api/MenuItemsApi.d.ts +43 -43
- package/dist/api/MenuItemsApi.d.ts.map +1 -1
- package/dist/api/MenuItemsApi.js +38 -38
- package/dist/api/MenusApi.d.ts +43 -43
- package/dist/api/MenusApi.d.ts.map +1 -1
- package/dist/api/MenusApi.js +38 -38
- package/dist/api/NotificationsApi.d.ts +99 -99
- package/dist/api/NotificationsApi.d.ts.map +1 -1
- package/dist/api/NotificationsApi.js +86 -86
- package/dist/api/PageLayoutsApi.d.ts +71 -71
- package/dist/api/PageLayoutsApi.d.ts.map +1 -1
- package/dist/api/PageLayoutsApi.js +62 -62
- package/dist/api/PagesApi.d.ts +127 -127
- package/dist/api/PagesApi.d.ts.map +1 -1
- package/dist/api/PagesApi.js +110 -110
- package/dist/api/PasswordResetApi.d.ts +2 -2
- package/dist/api/PasswordResetApi.js +2 -2
- package/dist/api/PayPalAccountsApi.d.ts +3 -3
- package/dist/api/PhoneNumbersApi.d.ts +36 -36
- package/dist/api/PhoneNumbersApi.d.ts.map +1 -1
- package/dist/api/PhoneNumbersApi.js +32 -32
- package/dist/api/PostsApi.d.ts +64 -64
- package/dist/api/PostsApi.d.ts.map +1 -1
- package/dist/api/PostsApi.js +56 -56
- package/dist/api/PrivateMessagesApi.d.ts +120 -120
- package/dist/api/PrivateMessagesApi.d.ts.map +1 -1
- package/dist/api/PrivateMessagesApi.js +104 -104
- package/dist/api/ProcessDefinitionsApi.d.ts +50 -50
- package/dist/api/ProcessDefinitionsApi.d.ts.map +1 -1
- package/dist/api/ProcessDefinitionsApi.js +44 -44
- package/dist/api/ProxyServersApi.d.ts +99 -99
- package/dist/api/ProxyServersApi.d.ts.map +1 -1
- package/dist/api/ProxyServersApi.js +86 -86
- package/dist/api/PublicationsApi.d.ts +64 -64
- package/dist/api/PublicationsApi.d.ts.map +1 -1
- package/dist/api/PublicationsApi.js +56 -56
- package/dist/api/RBACAPIClientsApi.d.ts +43 -43
- package/dist/api/RBACAPIClientsApi.d.ts.map +1 -1
- package/dist/api/RBACAPIClientsApi.js +38 -38
- package/dist/api/RBACAbstractedAPIApi.d.ts +43 -43
- package/dist/api/RBACAbstractedAPIApi.d.ts.map +1 -1
- package/dist/api/RBACAbstractedAPIApi.js +38 -38
- package/dist/api/RBACPoliciesApi.d.ts +120 -120
- package/dist/api/RBACPoliciesApi.d.ts.map +1 -1
- package/dist/api/RBACPoliciesApi.js +104 -104
- package/dist/api/RBACPrincipalRolesApi.d.ts +43 -43
- package/dist/api/RBACPrincipalRolesApi.d.ts.map +1 -1
- package/dist/api/RBACPrincipalRolesApi.js +38 -38
- package/dist/api/RBACRESTAppAccessControlApi.d.ts +8 -8
- package/dist/api/RBACRESTAppAccessControlApi.d.ts.map +1 -1
- package/dist/api/RBACRESTAppAccessControlApi.js +8 -8
- package/dist/api/RBACRoleAssignmentsApi.d.ts +8 -8
- package/dist/api/RBACRoleAssignmentsApi.d.ts.map +1 -1
- package/dist/api/RBACRoleAssignmentsApi.js +8 -8
- package/dist/api/RBACRolesApi.d.ts +57 -57
- package/dist/api/RBACRolesApi.d.ts.map +1 -1
- package/dist/api/RBACRolesApi.js +50 -50
- package/dist/api/RBACSchemaAccessControlApi.d.ts +8 -8
- package/dist/api/RBACSchemaAccessControlApi.d.ts.map +1 -1
- package/dist/api/RBACSchemaAccessControlApi.js +8 -8
- package/dist/api/RBACSiteAccessControlApi.d.ts +8 -8
- package/dist/api/RBACSiteAccessControlApi.d.ts.map +1 -1
- package/dist/api/RBACSiteAccessControlApi.js +8 -8
- package/dist/api/RequestLogsApi.d.ts +29 -29
- package/dist/api/RequestLogsApi.d.ts.map +1 -1
- package/dist/api/RequestLogsApi.js +26 -26
- package/dist/api/RestApplicationsApi.d.ts +85 -85
- package/dist/api/RestApplicationsApi.d.ts.map +1 -1
- package/dist/api/RestApplicationsApi.js +74 -74
- package/dist/api/ScheduledAutomationApi.d.ts +36 -36
- package/dist/api/ScheduledAutomationApi.d.ts.map +1 -1
- package/dist/api/ScheduledAutomationApi.js +32 -32
- package/dist/api/SchemaViewsApi.d.ts +36 -36
- package/dist/api/SchemaViewsApi.d.ts.map +1 -1
- package/dist/api/SchemaViewsApi.js +32 -32
- package/dist/api/ScreensApi.d.ts +15 -15
- package/dist/api/ScreensApi.d.ts.map +1 -1
- package/dist/api/ScreensApi.js +14 -14
- package/dist/api/SearchApi.d.ts +43 -43
- package/dist/api/SearchApi.d.ts.map +1 -1
- package/dist/api/SearchApi.js +38 -38
- package/dist/api/SitesApi.d.ts +134 -134
- package/dist/api/SitesApi.d.ts.map +1 -1
- package/dist/api/SitesApi.js +116 -116
- package/dist/api/SocialAuthApi.d.ts +50 -50
- package/dist/api/SocialAuthApi.d.ts.map +1 -1
- package/dist/api/SocialAuthApi.js +44 -44
- package/dist/api/SocialAuthConfigApi.d.ts +36 -36
- package/dist/api/SocialAuthConfigApi.d.ts.map +1 -1
- package/dist/api/SocialAuthConfigApi.js +32 -32
- package/dist/api/SocialGroupsApi.d.ts +162 -162
- package/dist/api/SocialGroupsApi.d.ts.map +1 -1
- package/dist/api/SocialGroupsApi.js +140 -140
- package/dist/api/SocialIntegrationApi.d.ts +5 -5
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/SqlSyncApi.d.ts +22 -22
- package/dist/api/SqlSyncApi.d.ts.map +1 -1
- package/dist/api/SqlSyncApi.js +20 -20
- package/dist/api/SquareAccountsApi.d.ts +22 -22
- package/dist/api/SquareAccountsApi.d.ts.map +1 -1
- package/dist/api/SquareAccountsApi.js +20 -20
- package/dist/api/StripeAccountsApi.d.ts +645 -645
- package/dist/api/StripeAccountsApi.d.ts.map +1 -1
- package/dist/api/StripeAccountsApi.js +462 -462
- package/dist/api/SyncApi.d.ts +8 -8
- package/dist/api/SyncApi.d.ts.map +1 -1
- package/dist/api/SyncApi.js +8 -8
- package/dist/api/TabDefinitionsApi.d.ts +29 -29
- package/dist/api/TabDefinitionsApi.d.ts.map +1 -1
- package/dist/api/TabDefinitionsApi.js +26 -26
- package/dist/api/TabSetsApi.d.ts +50 -50
- package/dist/api/TabSetsApi.d.ts.map +1 -1
- package/dist/api/TabSetsApi.js +44 -44
- package/dist/api/TagsApi.d.ts +1 -1
- package/dist/api/TemplatesApi.d.ts +64 -64
- package/dist/api/TemplatesApi.d.ts.map +1 -1
- package/dist/api/TemplatesApi.js +56 -56
- package/dist/api/ThemeMappingsApi.d.ts +57 -57
- package/dist/api/ThemeMappingsApi.d.ts.map +1 -1
- package/dist/api/ThemeMappingsApi.js +50 -50
- package/dist/api/TopicsApi.d.ts +78 -78
- package/dist/api/TopicsApi.d.ts.map +1 -1
- package/dist/api/TopicsApi.js +68 -68
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.d.ts +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/URLMappingsApi.d.ts +57 -57
- package/dist/api/URLMappingsApi.d.ts.map +1 -1
- package/dist/api/URLMappingsApi.js +50 -50
- package/dist/api/UserManagerAdministrationApi.d.ts +190 -190
- package/dist/api/UserManagerAdministrationApi.d.ts.map +1 -1
- package/dist/api/UserManagerAdministrationApi.js +164 -164
- package/dist/api/UserTagsApi.d.ts +22 -22
- package/dist/api/UserTagsApi.d.ts.map +1 -1
- package/dist/api/UserTagsApi.js +20 -20
- package/dist/api/UsersApi.d.ts +113 -113
- package/dist/api/UsersApi.d.ts.map +1 -1
- package/dist/api/UsersApi.js +98 -98
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.d.ts +71 -71
- package/dist/api/VideosApi.d.ts.map +1 -1
- package/dist/api/VideosApi.js +62 -62
- package/dist/api/ViewsApi.d.ts +36 -36
- package/dist/api/ViewsApi.d.ts.map +1 -1
- package/dist/api/ViewsApi.js +32 -32
- package/dist/api/WalletsApi.d.ts +134 -134
- package/dist/api/WalletsApi.d.ts.map +1 -1
- package/dist/api/WalletsApi.js +116 -116
- package/dist/api/WidgetsApi.d.ts +106 -106
- package/dist/api/WidgetsApi.d.ts.map +1 -1
- package/dist/api/WidgetsApi.js +92 -92
- package/dist/model/AIConfigRequest.d.ts +1 -1
- package/dist/model/AIConfigRequest.js +2 -2
- package/dist/model/AIConfigResponse.d.ts +1 -1
- package/dist/model/AIConfigResponse.js +2 -2
- package/dist/model/AIConversationInput.d.ts +1 -1
- package/dist/model/AIConversationInput.js +2 -2
- package/dist/model/AIConversationResponse.d.ts +1 -1
- package/dist/model/AIConversationResponse.js +2 -2
- package/dist/model/AIMessageInput.d.ts +1 -1
- package/dist/model/AIMessageInput.js +2 -2
- package/dist/model/AIMessageResponse.d.ts +1 -1
- package/dist/model/AIMessageResponse.js +2 -2
- package/dist/model/AIParticipantRequest.d.ts +1 -1
- package/dist/model/AIParticipantRequest.js +2 -2
- package/dist/model/AIParticipantResponse.d.ts +1 -1
- package/dist/model/AIParticipantResponse.js +2 -2
- package/dist/model/AIPersonaBuilderApplyRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderApplyRequest.js +2 -2
- package/dist/model/AIPersonaBuilderCreateRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderCreateRequest.js +2 -2
- package/dist/model/AIPersonaBuilderPreviewRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderPreviewRequest.js +2 -2
- package/dist/model/AIPersonaBuilderStartRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderStartRequest.js +2 -2
- package/dist/model/AIPersonaBuilderStateResponse.d.ts +1 -1
- package/dist/model/AIPersonaBuilderStateResponse.js +2 -2
- package/dist/model/AIPersonaBuilderSuggestRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderSuggestRequest.js +2 -2
- package/dist/model/AIPersonaBuilderSuggestionResponse.d.ts +1 -1
- package/dist/model/AIPersonaBuilderSuggestionResponse.js +2 -2
- package/dist/model/AIPersonaMemoryListResponse.d.ts +1 -1
- package/dist/model/AIPersonaMemoryListResponse.js +2 -2
- package/dist/model/AIPersonaMemoryRequest.d.ts +1 -1
- package/dist/model/AIPersonaMemoryRequest.js +2 -2
- package/dist/model/AIPersonaMemoryResponse.d.ts +1 -1
- package/dist/model/AIPersonaMemoryResponse.js +2 -2
- package/dist/model/AIPersonaPreviewRequest.d.ts +1 -1
- package/dist/model/AIPersonaPreviewRequest.js +2 -2
- package/dist/model/AIPersonaPreviewResponse.d.ts +1 -1
- package/dist/model/AIPersonaPreviewResponse.js +2 -2
- package/dist/model/AIPersonaPromotionRequest.d.ts +1 -1
- package/dist/model/AIPersonaPromotionRequest.js +2 -2
- package/dist/model/AIPersonaRequest.d.ts +1 -1
- package/dist/model/AIPersonaRequest.js +2 -2
- package/dist/model/AIPersonaResponse.d.ts +1 -1
- package/dist/model/AIPersonaResponse.js +2 -2
- package/dist/model/AIPersonaSourceListResponse.d.ts +1 -1
- package/dist/model/AIPersonaSourceListResponse.js +2 -2
- package/dist/model/AIPersonaSourceRequest.d.ts +1 -1
- package/dist/model/AIPersonaSourceRequest.js +2 -2
- package/dist/model/AIPersonaSourceResponse.d.ts +1 -1
- package/dist/model/AIPersonaSourceResponse.js +2 -2
- package/dist/model/AIPersonaSpeechRequest.d.ts +1 -1
- package/dist/model/AIPersonaSpeechRequest.js +2 -2
- package/dist/model/AIPersonaSpeechResponse.d.ts +1 -1
- package/dist/model/AIPersonaSpeechResponse.js +2 -2
- package/dist/model/AIPersonaTestRequest.d.ts +1 -1
- package/dist/model/AIPersonaTestRequest.js +2 -2
- package/dist/model/AIPersonaTrainingApplyRequest.d.ts +1 -1
- package/dist/model/AIPersonaTrainingApplyRequest.js +2 -2
- package/dist/model/AIPersonaTrainingApplyResponse.d.ts +1 -1
- package/dist/model/AIPersonaTrainingApplyResponse.js +2 -2
- package/dist/model/AIPersonaTrainingDraftResponse.d.ts +1 -1
- package/dist/model/AIPersonaTrainingDraftResponse.js +2 -2
- package/dist/model/AIPersonaTrainingPurgeRequest.d.ts +1 -1
- package/dist/model/AIPersonaTrainingPurgeRequest.js +2 -2
- package/dist/model/AIPersonaTrainingPurgeResponse.d.ts +1 -1
- package/dist/model/AIPersonaTrainingPurgeResponse.js +2 -2
- package/dist/model/AIPersonaTrainingSourceRequest.d.ts +1 -1
- package/dist/model/AIPersonaTrainingSourceRequest.js +2 -2
- package/dist/model/AIPromptRequest.d.ts +1 -1
- package/dist/model/AIPromptRequest.js +2 -2
- package/dist/model/AIPromptResponse.d.ts +1 -1
- package/dist/model/AIPromptResponse.js +2 -2
- package/dist/model/AIProviderInfo.d.ts +1 -1
- package/dist/model/AIProviderInfo.js +2 -2
- package/dist/model/AISpeechRequest.d.ts +1 -1
- package/dist/model/AISpeechRequest.js +2 -2
- package/dist/model/APIClient.d.ts +1 -1
- package/dist/model/APIClient.js +2 -2
- package/dist/model/Aba.d.ts +1 -1
- package/dist/model/Aba.js +2 -2
- package/dist/model/AbilityResponse.d.ts +1 -1
- package/dist/model/AbilityResponse.js +2 -2
- package/dist/model/Account.d.ts +1 -1
- package/dist/model/Account.js +2 -2
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/AchCreditTransfer.d.ts +1 -1
- package/dist/model/AchCreditTransfer.js +2 -2
- package/dist/model/AchDebit.d.ts +1 -1
- package/dist/model/AchDebit.js +2 -2
- package/dist/model/AcssDebit.d.ts +1 -1
- package/dist/model/AcssDebit.js +2 -2
- package/dist/model/AddInvoiceItem.d.ts +1 -1
- package/dist/model/AddInvoiceItem.js +2 -2
- package/dist/model/AddMembersInput.d.ts +1 -1
- package/dist/model/AddMembersInput.js +2 -2
- package/dist/model/AdditionalDocument.d.ts +1 -1
- package/dist/model/AdditionalDocument.js +2 -2
- package/dist/model/AdditionalTosAcceptances.d.ts +1 -1
- package/dist/model/AdditionalTosAcceptances.js +2 -2
- package/dist/model/Address.d.ts +1 -1
- package/dist/model/Address.js +2 -2
- package/dist/model/AddressKana.d.ts +1 -1
- package/dist/model/AddressKana.js +2 -2
- package/dist/model/AddressKanji.d.ts +1 -1
- package/dist/model/AddressKanji.js +2 -2
- package/dist/model/AddressResponse.d.ts +1 -1
- package/dist/model/AddressResponse.js +2 -2
- package/dist/model/AdministratorPayload.d.ts +1 -1
- package/dist/model/AdministratorPayload.js +2 -2
- package/dist/model/Affirm.d.ts +1 -1
- package/dist/model/Affirm.js +2 -2
- package/dist/model/AfterCompletion.d.ts +1 -1
- package/dist/model/AfterCompletion.js +2 -2
- package/dist/model/AfterExpiration.d.ts +1 -1
- package/dist/model/AfterExpiration.js +2 -2
- package/dist/model/AfterpayClearpay.d.ts +1 -1
- package/dist/model/AfterpayClearpay.js +2 -2
- package/dist/model/AirtableSyncConfigInput.d.ts +1 -1
- package/dist/model/AirtableSyncConfigInput.js +2 -2
- package/dist/model/AirtableSyncRuleInput.d.ts +1 -1
- package/dist/model/AirtableSyncRuleInput.js +2 -2
- package/dist/model/Alipay.d.ts +1 -1
- package/dist/model/Alipay.js +2 -2
- package/dist/model/AlipayHandleRedirect.d.ts +1 -1
- package/dist/model/AlipayHandleRedirect.js +2 -2
- package/dist/model/Alternative.d.ts +1 -1
- package/dist/model/Alternative.js +2 -2
- package/dist/model/AmexExpressCheckout.d.ts +1 -1
- package/dist/model/AmexExpressCheckout.js +2 -2
- package/dist/model/AmountDetails.d.ts +1 -1
- package/dist/model/AmountDetails.js +2 -2
- package/dist/model/ApcopayAccountsResponse.d.ts +1 -1
- package/dist/model/ApcopayAccountsResponse.js +2 -2
- package/dist/model/ApcopayClientInput.d.ts +1 -1
- package/dist/model/ApcopayClientInput.js +2 -2
- package/dist/model/ApcopayCustomerAccountSummary.d.ts +1 -1
- package/dist/model/ApcopayCustomerAccountSummary.js +2 -2
- package/dist/model/ApcopayHppSessionInput.d.ts +1 -1
- package/dist/model/ApcopayHppSessionInput.js +2 -2
- package/dist/model/ApcopayMitChargeInput.d.ts +1 -1
- package/dist/model/ApcopayMitChargeInput.js +2 -2
- package/dist/model/ApcopayPaymentLinkInput.d.ts +1 -1
- package/dist/model/ApcopayPaymentLinkInput.js +2 -2
- package/dist/model/ApcopayPaymentSessionResponse.d.ts +1 -1
- package/dist/model/ApcopayPaymentSessionResponse.js +2 -2
- package/dist/model/ApcopayPayoutHppInput.d.ts +1 -1
- package/dist/model/ApcopayPayoutHppInput.js +2 -2
- package/dist/model/ApcopayPayoutInput.d.ts +1 -1
- package/dist/model/ApcopayPayoutInput.js +2 -2
- package/dist/model/ApcopayStatusResponse.d.ts +1 -1
- package/dist/model/ApcopayStatusResponse.js +2 -2
- package/dist/model/ApcopayTenantConfigRequest.d.ts +1 -1
- package/dist/model/ApcopayTenantConfigRequest.js +2 -2
- package/dist/model/ApcopayTenantConfigResponse.d.ts +1 -1
- package/dist/model/ApcopayTenantConfigResponse.js +2 -2
- package/dist/model/ApcopayTransactionResponse.d.ts +1 -1
- package/dist/model/ApcopayTransactionResponse.js +2 -2
- package/dist/model/ApiClientAllowRequest.d.ts +1 -1
- package/dist/model/ApiClientAllowRequest.js +2 -2
- package/dist/model/ApiClientAllowResponse.d.ts +1 -1
- package/dist/model/ApiClientAllowResponse.js +2 -2
- package/dist/model/ApiClientAllowlistResponse.d.ts +1 -1
- package/dist/model/ApiClientAllowlistResponse.js +2 -2
- package/dist/model/ApiClientGlobalConfigRequest.d.ts +1 -1
- package/dist/model/ApiClientGlobalConfigRequest.js +2 -2
- package/dist/model/ApiClientGlobalConfigResponse.d.ts +1 -1
- package/dist/model/ApiClientGlobalConfigResponse.js +2 -2
- package/dist/model/ApiClientPoliciesResponse.d.ts +1 -1
- package/dist/model/ApiClientPoliciesResponse.js +2 -2
- package/dist/model/ApiClientPolicySummary.d.ts +1 -1
- package/dist/model/ApiClientPolicySummary.js +2 -2
- package/dist/model/ApiClientRoleSummary.d.ts +1 -1
- package/dist/model/ApiClientRoleSummary.js +2 -2
- package/dist/model/ApiClientRolesResponse.d.ts +1 -1
- package/dist/model/ApiClientRolesResponse.js +2 -2
- package/dist/model/ApiClientSuccessResponse.d.ts +1 -1
- package/dist/model/ApiClientSuccessResponse.js +2 -2
- package/dist/model/ApiClientSummary.d.ts +1 -1
- package/dist/model/ApiClientSummary.js +2 -2
- package/dist/model/ApiClientTenantConfigRequest.d.ts +1 -1
- package/dist/model/ApiClientTenantConfigRequest.js +2 -2
- package/dist/model/ApiClientTenantConfigResponse.d.ts +1 -1
- package/dist/model/ApiClientTenantConfigResponse.js +2 -2
- package/dist/model/ApplePay.d.ts +1 -1
- package/dist/model/ApplePay.js +2 -2
- package/dist/model/Application.d.ts +1 -1
- package/dist/model/Application.js +2 -2
- package/dist/model/ApplicationFee.d.ts +10 -10
- package/dist/model/ApplicationFee.d.ts.map +1 -1
- package/dist/model/ApplicationFee.js +30 -30
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/AppliesTo.d.ts +1 -1
- package/dist/model/AppliesTo.js +2 -2
- package/dist/model/ApprovalActionRequest.d.ts +1 -1
- package/dist/model/ApprovalActionRequest.js +2 -2
- package/dist/model/ApprovalProcessInput.d.ts +1 -1
- package/dist/model/ApprovalProcessInput.js +2 -2
- package/dist/model/ApprovalProcessResponse.d.ts +1 -1
- package/dist/model/ApprovalProcessResponse.js +2 -2
- package/dist/model/ApprovalRequestResponse.d.ts +1 -1
- package/dist/model/ApprovalRequestResponse.js +2 -2
- package/dist/model/ApprovalSubmitRequest.d.ts +1 -1
- package/dist/model/ApprovalSubmitRequest.js +2 -2
- package/dist/model/Article.d.ts +10 -10
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +27 -27
- package/dist/model/AttachmentData.d.ts +9 -9
- package/dist/model/AttachmentData.js +23 -23
- package/dist/model/AuBecsDebit.d.ts +1 -1
- package/dist/model/AuBecsDebit.js +2 -2
- package/dist/model/Auth0ConfigInput.d.ts +1 -1
- package/dist/model/Auth0ConfigInput.js +2 -2
- package/dist/model/Auth0ConfigResponse.d.ts +1 -1
- package/dist/model/Auth0ConfigResponse.js +2 -2
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AuthorizationCheckResponse.d.ts +1 -1
- package/dist/model/AuthorizationCheckResponse.js +2 -2
- package/dist/model/AutomaticPaymentMethods.d.ts +1 -1
- package/dist/model/AutomaticPaymentMethods.js +2 -2
- package/dist/model/AutomaticTax.d.ts +1 -1
- package/dist/model/AutomaticTax.js +2 -2
- package/dist/model/AutomationActionGraphEdgeInput.d.ts +1 -1
- package/dist/model/AutomationActionGraphEdgeInput.js +2 -2
- package/dist/model/AutomationActionGraphInput.d.ts +1 -1
- package/dist/model/AutomationActionGraphInput.js +2 -2
- package/dist/model/AutomationActionGraphNodeInput.d.ts +1 -1
- package/dist/model/AutomationActionGraphNodeInput.js +2 -2
- package/dist/model/AutomationActionInput.d.ts +1 -1
- package/dist/model/AutomationActionInput.js +2 -2
- package/dist/model/AutomationActionResultResponse.d.ts +1 -1
- package/dist/model/AutomationActionResultResponse.js +2 -2
- package/dist/model/AutomationConditionInput.d.ts +1 -1
- package/dist/model/AutomationConditionInput.js +2 -2
- package/dist/model/AutomationCriteriaInput.d.ts +1 -1
- package/dist/model/AutomationCriteriaInput.js +2 -2
- package/dist/model/AutomationExecutionLogResponse.d.ts +1 -1
- package/dist/model/AutomationExecutionLogResponse.js +2 -2
- package/dist/model/AutomationInstanceInput.d.ts +1 -1
- package/dist/model/AutomationInstanceInput.js +2 -2
- package/dist/model/AutomationInstanceResponse.d.ts +1 -1
- package/dist/model/AutomationInstanceResponse.js +2 -2
- package/dist/model/AutomationInvokeRequest.d.ts +1 -1
- package/dist/model/AutomationInvokeRequest.js +2 -2
- package/dist/model/AutomationRuleInput.d.ts +1 -1
- package/dist/model/AutomationRuleInput.js +2 -2
- package/dist/model/AutomationRuleResponse.d.ts +1 -1
- package/dist/model/AutomationRuleResponse.js +2 -2
- package/dist/model/AutomationTemplateResponse.d.ts +1 -1
- package/dist/model/AutomationTemplateResponse.js +2 -2
- package/dist/model/AutomationTestRequest.d.ts +1 -1
- package/dist/model/AutomationTestRequest.js +2 -2
- package/dist/model/AvailablePlan.d.ts +1 -1
- package/dist/model/AvailablePlan.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/BacsDebit.d.ts +1 -1
- package/dist/model/BacsDebit.js +2 -2
- package/dist/model/BacsDebitPayments.d.ts +1 -1
- package/dist/model/BacsDebitPayments.js +2 -2
- package/dist/model/Balance.d.ts +18 -18
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +73 -73
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BalanceTransaction.d.ts +1 -1
- package/dist/model/BalanceTransaction.js +2 -2
- package/dist/model/BalanceTransactionSource.d.ts +1 -1
- package/dist/model/BalanceTransactionSource.js +2 -2
- package/dist/model/Bancontact.d.ts +1 -1
- package/dist/model/Bancontact.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/BankTransfer.d.ts +1 -1
- package/dist/model/BankTransfer.js +2 -2
- package/dist/model/Base64AttachmentUpload.d.ts +1 -1
- package/dist/model/Base64AttachmentUpload.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/Base64ImportUpload.d.ts +1 -1
- package/dist/model/Base64ImportUpload.js +2 -2
- package/dist/model/Base64Upload.d.ts +1 -1
- package/dist/model/Base64Upload.js +2 -2
- package/dist/model/Base64VideoUpload.d.ts +1 -1
- package/dist/model/Base64VideoUpload.js +2 -2
- package/dist/model/BatchExecuteResult.d.ts +1 -1
- package/dist/model/BatchExecuteResult.js +2 -2
- package/dist/model/BatchExecutionListResponse.d.ts +1 -1
- package/dist/model/BatchExecutionListResponse.js +2 -2
- package/dist/model/BatchExecutionResponse.d.ts +1 -1
- package/dist/model/BatchExecutionResponse.js +2 -2
- package/dist/model/BatchExecutionSummaryResponse.d.ts +1 -1
- package/dist/model/BatchExecutionSummaryResponse.js +2 -2
- package/dist/model/BatchFailedRecordResponse.d.ts +1 -1
- package/dist/model/BatchFailedRecordResponse.js +2 -2
- package/dist/model/BatchOperationDetailResponse.d.ts +1 -1
- package/dist/model/BatchOperationDetailResponse.js +2 -2
- package/dist/model/BatchOperationListResponse.d.ts +1 -1
- package/dist/model/BatchOperationListResponse.js +2 -2
- package/dist/model/BatchOperationResponse.d.ts +1 -1
- package/dist/model/BatchOperationResponse.js +2 -2
- package/dist/model/BatchOperationSummaryResponse.d.ts +1 -1
- package/dist/model/BatchOperationSummaryResponse.js +2 -2
- package/dist/model/BatchStartInput.d.ts +1 -1
- package/dist/model/BatchStartInput.js +2 -2
- package/dist/model/BatchStartResponse.d.ts +1 -1
- package/dist/model/BatchStartResponse.js +2 -2
- package/dist/model/BatchUpdateInput.d.ts +1 -1
- package/dist/model/BatchUpdateInput.js +2 -2
- package/dist/model/BillingDetails.d.ts +1 -1
- package/dist/model/BillingDetails.js +2 -2
- package/dist/model/BillingThresholds.d.ts +1 -1
- package/dist/model/BillingThresholds.js +2 -2
- package/dist/model/Blik.d.ts +1 -1
- package/dist/model/Blik.js +2 -2
- package/dist/model/Blocked.d.ts +1 -1
- package/dist/model/Blocked.js +2 -2
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/Boleto.d.ts +1 -1
- package/dist/model/Boleto.js +2 -2
- package/dist/model/BoletoDisplayDetails.d.ts +1 -1
- package/dist/model/BoletoDisplayDetails.js +2 -2
- package/dist/model/Branding.d.ts +1 -1
- package/dist/model/Branding.js +2 -2
- package/dist/model/Breakdown.d.ts +1 -1
- package/dist/model/Breakdown.js +2 -2
- package/dist/model/BulkUpsertActionPayload.d.ts +1 -1
- package/dist/model/BulkUpsertActionPayload.js +2 -2
- package/dist/model/BulkUpsertRelationshipPayload.d.ts +1 -1
- package/dist/model/BulkUpsertRelationshipPayload.js +2 -2
- package/dist/model/BusinessProfile.d.ts +1 -1
- package/dist/model/BusinessProfile.js +2 -2
- package/dist/model/CancellationDetails.d.ts +1 -1
- package/dist/model/CancellationDetails.js +2 -2
- package/dist/model/Card.d.ts +1 -1
- package/dist/model/Card.js +2 -2
- package/dist/model/CardAwaitNotification.d.ts +1 -1
- package/dist/model/CardAwaitNotification.js +2 -2
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/CardIssuing.d.ts +1 -1
- package/dist/model/CardIssuing.js +2 -2
- package/dist/model/CardPayments.d.ts +1 -1
- package/dist/model/CardPayments.js +2 -2
- package/dist/model/CardPresent.d.ts +1 -1
- package/dist/model/CardPresent.js +2 -2
- package/dist/model/CashBalance.d.ts +1 -1
- package/dist/model/CashBalance.js +2 -2
- package/dist/model/Cashapp.d.ts +1 -1
- package/dist/model/Cashapp.js +2 -2
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +1 -1
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +2 -2
- package/dist/model/CashoutProvidersResponse.d.ts +1 -1
- package/dist/model/CashoutProvidersResponse.js +2 -2
- package/dist/model/Charge.d.ts +25 -25
- package/dist/model/Charge.d.ts.map +1 -1
- package/dist/model/Charge.js +77 -77
- package/dist/model/CheckoutSessionInput.d.ts +1 -1
- package/dist/model/CheckoutSessionInput.js +2 -2
- package/dist/model/CheckoutSessionResponse.d.ts +1 -1
- package/dist/model/CheckoutSessionResponse.js +2 -2
- package/dist/model/Checks.d.ts +1 -1
- package/dist/model/Checks.js +2 -2
- package/dist/model/ClerkConfigInput.d.ts +1 -1
- package/dist/model/ClerkConfigInput.js +2 -2
- package/dist/model/ClerkConfigResponse.d.ts +1 -1
- package/dist/model/ClerkConfigResponse.js +2 -2
- package/dist/model/ClientPermissionPayload.d.ts +1 -1
- package/dist/model/ClientPermissionPayload.js +2 -2
- package/dist/model/CognitoConfigInput.d.ts +1 -1
- package/dist/model/CognitoConfigInput.js +2 -2
- package/dist/model/CognitoConfigResponse.d.ts +1 -1
- package/dist/model/CognitoConfigResponse.js +2 -2
- package/dist/model/CommentInput.d.ts +1 -1
- package/dist/model/CommentInput.js +2 -2
- package/dist/model/CommentResponse.d.ts +1 -1
- package/dist/model/CommentResponse.js +2 -2
- package/dist/model/Company.d.ts +1 -1
- package/dist/model/Company.js +2 -2
- package/dist/model/CompletedSessions.d.ts +1 -1
- package/dist/model/CompletedSessions.js +2 -2
- package/dist/model/Computed.d.ts +1 -1
- package/dist/model/Computed.js +2 -2
- package/dist/model/Consent.d.ts +1 -1
- package/dist/model/Consent.js +2 -2
- package/dist/model/ConsentCollection.d.ts +1 -1
- package/dist/model/ConsentCollection.js +2 -2
- package/dist/model/ConsoleOrganizationInput.d.ts +1 -1
- package/dist/model/ConsoleOrganizationInput.js +2 -2
- package/dist/model/ConsoleOrganizationResponse.d.ts +1 -1
- package/dist/model/ConsoleOrganizationResponse.js +2 -2
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/ContainerAccessControlPolicyGroups.d.ts +1 -1
- package/dist/model/ContainerAccessControlPolicyGroups.js +2 -2
- package/dist/model/ContainerAccessControlResponse.d.ts +1 -1
- package/dist/model/ContainerAccessControlResponse.js +2 -2
- package/dist/model/ContainerAccessControlRoleGroups.d.ts +1 -1
- package/dist/model/ContainerAccessControlRoleGroups.js +2 -2
- package/dist/model/Controller.d.ts +1 -1
- package/dist/model/Controller.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/Coupon.d.ts +1 -1
- package/dist/model/Coupon.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateCircleAccountInput.d.ts +1 -1
- package/dist/model/CreateCircleAccountInput.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateOrphanStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateOrphanStripeCustomerInput.js +2 -2
- package/dist/model/CreatePayPalAccountInput.d.ts +1 -1
- package/dist/model/CreatePayPalAccountInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/CreditedItems.d.ts +1 -1
- package/dist/model/CreditedItems.js +2 -2
- package/dist/model/CurrencyConversion.d.ts +1 -1
- package/dist/model/CurrencyConversion.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyOption.d.ts +1 -1
- package/dist/model/CurrencyOption.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettingsInput.d.ts +1 -1
- package/dist/model/CurrencySettingsInput.js +2 -2
- package/dist/model/CurrencySettingsResponse.d.ts +1 -1
- package/dist/model/CurrencySettingsResponse.js +2 -2
- package/dist/model/CurrentPhase.d.ts +1 -1
- package/dist/model/CurrentPhase.js +2 -2
- package/dist/model/CustomField.d.ts +1 -1
- package/dist/model/CustomField.js +2 -2
- package/dist/model/CustomText.d.ts +1 -1
- package/dist/model/CustomText.js +2 -2
- package/dist/model/CustomUnitAmount.d.ts +1 -1
- package/dist/model/CustomUnitAmount.js +2 -2
- package/dist/model/Customer.d.ts +10 -10
- package/dist/model/Customer.d.ts.map +1 -1
- package/dist/model/Customer.js +27 -27
- package/dist/model/CustomerAcceptance.d.ts +1 -1
- package/dist/model/CustomerAcceptance.js +2 -2
- package/dist/model/CustomerBalance.d.ts +1 -1
- package/dist/model/CustomerBalance.js +2 -2
- package/dist/model/CustomerDetails.d.ts +1 -1
- package/dist/model/CustomerDetails.js +2 -2
- package/dist/model/CustomerNotification.d.ts +1 -1
- package/dist/model/CustomerNotification.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/CustomerTaxId.d.ts +1 -1
- package/dist/model/CustomerTaxId.js +2 -2
- package/dist/model/Dashboard.d.ts +1 -1
- package/dist/model/Dashboard.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +19 -19
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +57 -57
- package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.d.ts +1 -1
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DataSyncInput.d.ts +1 -1
- package/dist/model/DataSyncInput.js +2 -2
- package/dist/model/DataSyncResponse.d.ts +1 -1
- package/dist/model/DataSyncResponse.js +2 -2
- package/dist/model/DeclineOn.d.ts +1 -1
- package/dist/model/DeclineOn.js +2 -2
- package/dist/model/DefaultSettings.d.ts +10 -10
- package/dist/model/DefaultSettings.d.ts.map +1 -1
- package/dist/model/DefaultSettings.js +30 -30
- package/dist/model/DeliveryEstimate.d.ts +1 -1
- package/dist/model/DeliveryEstimate.js +2 -2
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Discount.d.ts +1 -1
- package/dist/model/Discount.js +2 -2
- package/dist/model/DiscountAmount.d.ts +1 -1
- package/dist/model/DiscountAmount.js +2 -2
- package/dist/model/DisplayBankTransferInstructions.d.ts +1 -1
- package/dist/model/DisplayBankTransferInstructions.js +2 -2
- package/dist/model/DisplayDetails.d.ts +1 -1
- package/dist/model/DisplayDetails.js +2 -2
- package/dist/model/Dob.d.ts +1 -1
- package/dist/model/Dob.js +2 -2
- package/dist/model/Document.d.ts +10 -10
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +27 -27
- package/dist/model/DocumentInput.d.ts +1 -1
- package/dist/model/DocumentInput.js +2 -2
- package/dist/model/DocumentPart.d.ts +37 -37
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +105 -105
- package/dist/model/DocumentPartInput.d.ts +1 -1
- package/dist/model/DocumentPartInput.js +2 -2
- package/dist/model/DocumentPartResponse.d.ts +1 -1
- package/dist/model/DocumentPartResponse.js +2 -2
- package/dist/model/DocumentPartType.d.ts +15 -15
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +45 -45
- package/dist/model/DocumentPartTypeResponse.d.ts +1 -1
- package/dist/model/DocumentPartTypeResponse.js +2 -2
- package/dist/model/DocumentResponse.d.ts +1 -1
- package/dist/model/DocumentResponse.js +2 -2
- package/dist/model/DocumentType.d.ts +19 -19
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +54 -54
- package/dist/model/DocumentTypeResponse.d.ts +1 -1
- package/dist/model/DocumentTypeResponse.js +2 -2
- package/dist/model/DomainCreateInput.d.ts +1 -1
- package/dist/model/DomainCreateInput.js +2 -2
- package/dist/model/DomainCreateResponse.d.ts +1 -1
- package/dist/model/DomainCreateResponse.js +2 -2
- package/dist/model/DomainMappingInput.d.ts +1 -1
- package/dist/model/DomainMappingInput.js +2 -2
- package/dist/model/DomainMappingResponse.d.ts +1 -1
- package/dist/model/DomainMappingResponse.js +2 -2
- package/dist/model/Dropdown.d.ts +1 -1
- package/dist/model/Dropdown.js +2 -2
- package/dist/model/DynamoDbSyncTenantConfigRequest.d.ts +1 -1
- package/dist/model/DynamoDbSyncTenantConfigRequest.js +2 -2
- package/dist/model/DynamoDbSyncTenantConfigResponse.d.ts +1 -1
- package/dist/model/DynamoDbSyncTenantConfigResponse.js +2 -2
- package/dist/model/EmailAddress.d.ts +1 -1
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/EmailSent.d.ts +1 -1
- package/dist/model/EmailSent.js +2 -2
- package/dist/model/EndBehavior.d.ts +1 -1
- package/dist/model/EndBehavior.js +2 -2
- package/dist/model/Eps.d.ts +1 -1
- package/dist/model/Eps.js +2 -2
- package/dist/model/Errors.d.ts +1 -1
- package/dist/model/Errors.js +2 -2
- package/dist/model/EuBankTransfer.d.ts +1 -1
- package/dist/model/EuBankTransfer.js +2 -2
- package/dist/model/EventBridgeSettings.d.ts +1 -1
- package/dist/model/EventBridgeSettings.js +2 -2
- package/dist/model/ExtendedAuthorization.d.ts +1 -1
- package/dist/model/ExtendedAuthorization.js +2 -2
- package/dist/model/ExternalAccount.d.ts +1 -1
- package/dist/model/ExternalAccount.js +2 -2
- package/dist/model/ExternalAccountCollection.d.ts +1 -1
- package/dist/model/ExternalAccountCollection.js +2 -2
- package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +1 -1
- package/dist/model/ExternalAccountCollectionPageTypeToken.js +2 -2
- package/dist/model/Familymart.d.ts +1 -1
- package/dist/model/Familymart.js +2 -2
- package/dist/model/Feature.d.ts +1 -1
- package/dist/model/Feature.js +2 -2
- package/dist/model/FeeDetail.d.ts +1 -1
- package/dist/model/FeeDetail.js +2 -2
- package/dist/model/FeeRefund.d.ts +1 -1
- package/dist/model/FeeRefund.js +2 -2
- package/dist/model/FeeRefundCollection.d.ts +1 -1
- package/dist/model/FeeRefundCollection.js +2 -2
- package/dist/model/Field.d.ts +1 -1
- package/dist/model/Field.js +2 -2
- package/dist/model/Fieldmapping.d.ts +1 -1
- package/dist/model/Fieldmapping.js +2 -2
- package/dist/model/Fieldmapping1.d.ts +1 -1
- package/dist/model/Fieldmapping1.js +2 -2
- package/dist/model/Fieldmapping2.d.ts +1 -1
- package/dist/model/Fieldmapping2.js +2 -2
- package/dist/model/Fieldmapping3.d.ts +1 -1
- package/dist/model/Fieldmapping3.js +2 -2
- package/dist/model/Fieldmapping4.d.ts +1 -1
- package/dist/model/Fieldmapping4.js +2 -2
- package/dist/model/Fieldmapping5.d.ts +1 -1
- package/dist/model/Fieldmapping5.js +2 -2
- package/dist/model/Fields.d.ts +70 -70
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +192 -192
- package/dist/model/File.d.ts +1 -1
- package/dist/model/File.js +2 -2
- package/dist/model/FileLink.d.ts +1 -1
- package/dist/model/FileLink.js +2 -2
- package/dist/model/FileLinkCollection.d.ts +1 -1
- package/dist/model/FileLinkCollection.js +2 -2
- package/dist/model/Filter.d.ts +1 -1
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.d.ts +1 -1
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/FinancialAddress.d.ts +1 -1
- package/dist/model/FinancialAddress.js +2 -2
- package/dist/model/FinancialConnections.d.ts +1 -1
- package/dist/model/FinancialConnections.js +2 -2
- package/dist/model/FirebaseConfigInput.d.ts +1 -1
- package/dist/model/FirebaseConfigInput.js +2 -2
- package/dist/model/FirebaseConfigResponse.d.ts +1 -1
- package/dist/model/FirebaseConfigResponse.js +2 -2
- package/dist/model/FixedAmount.d.ts +1 -1
- package/dist/model/FixedAmount.js +2 -2
- package/dist/model/FlowConditionEvaluateResponse.d.ts +1 -1
- package/dist/model/FlowConditionEvaluateResponse.js +2 -2
- package/dist/model/FlowConditionInput.d.ts +1 -1
- package/dist/model/FlowConditionInput.js +2 -2
- package/dist/model/FlowExecuteRequest.d.ts +1 -1
- package/dist/model/FlowExecuteRequest.js +2 -2
- package/dist/model/FlowExecuteResponse.d.ts +1 -1
- package/dist/model/FlowExecuteResponse.js +2 -2
- package/dist/model/FlowExecutionDetailResponse.d.ts +1 -1
- package/dist/model/FlowExecutionDetailResponse.js +2 -2
- package/dist/model/FlowExecutionListResponse.d.ts +1 -1
- package/dist/model/FlowExecutionListResponse.js +2 -2
- package/dist/model/FlowExecutionSummaryResponse.d.ts +1 -1
- package/dist/model/FlowExecutionSummaryResponse.js +2 -2
- package/dist/model/FlowLoopConfigInput.d.ts +1 -1
- package/dist/model/FlowLoopConfigInput.js +2 -2
- package/dist/model/FlowN8nNodeCatalogResponse.d.ts +1 -1
- package/dist/model/FlowN8nNodeCatalogResponse.js +2 -2
- package/dist/model/FlowN8nNodeTypeLookupRequest.d.ts +1 -1
- package/dist/model/FlowN8nNodeTypeLookupRequest.js +2 -2
- package/dist/model/FlowN8nNodeTypeSummary.d.ts +1 -1
- package/dist/model/FlowN8nNodeTypeSummary.js +2 -2
- package/dist/model/FlowQueryInput.d.ts +1 -1
- package/dist/model/FlowQueryInput.js +2 -2
- package/dist/model/FlowRunResponse.d.ts +1 -1
- package/dist/model/FlowRunResponse.js +2 -2
- package/dist/model/FlowScheduleConfigInput.d.ts +1 -1
- package/dist/model/FlowScheduleConfigInput.js +2 -2
- package/dist/model/FlowStepInput.d.ts +1 -1
- package/dist/model/FlowStepInput.js +2 -2
- package/dist/model/FlowStepResponse.d.ts +1 -1
- package/dist/model/FlowStepResponse.js +2 -2
- package/dist/model/FlowStepTransitionInput.d.ts +1 -1
- package/dist/model/FlowStepTransitionInput.js +2 -2
- package/dist/model/FlowStepsInput.d.ts +1 -1
- package/dist/model/FlowStepsInput.js +2 -2
- package/dist/model/FlowStepsResponse.d.ts +1 -1
- package/dist/model/FlowStepsResponse.js +2 -2
- package/dist/model/FlowTriggerConfigInput.d.ts +1 -1
- package/dist/model/FlowTriggerConfigInput.js +2 -2
- package/dist/model/FlowWebhookEvaluateConditionRequest.d.ts +1 -1
- package/dist/model/FlowWebhookEvaluateConditionRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteActionRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteActionRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteFlowRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteFlowRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteFunctionRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteFunctionRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteQueryRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteQueryRequest.js +2 -2
- package/dist/model/FlowWebhookPrepareLoopRequest.d.ts +1 -1
- package/dist/model/FlowWebhookPrepareLoopRequest.js +2 -2
- package/dist/model/FlowWorkflowStepsRequest.d.ts +1 -1
- package/dist/model/FlowWorkflowStepsRequest.js +2 -2
- package/dist/model/Form.d.ts +1 -1
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.d.ts +9 -9
- package/dist/model/FormSection.d.ts.map +1 -1
- package/dist/model/FormSection.js +23 -23
- package/dist/model/FormSubmission.d.ts +1 -1
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Fpx.d.ts +1 -1
- package/dist/model/Fpx.js +2 -2
- package/dist/model/FraudDetails.d.ts +1 -1
- package/dist/model/FraudDetails.js +2 -2
- package/dist/model/FromInvoice.d.ts +1 -1
- package/dist/model/FromInvoice.js +2 -2
- package/dist/model/FromQuote.d.ts +1 -1
- package/dist/model/FromQuote.js +2 -2
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/FunctionSettingsInput.d.ts +1 -1
- package/dist/model/FunctionSettingsInput.js +2 -2
- package/dist/model/FunctionSettingsResponse.d.ts +1 -1
- package/dist/model/FunctionSettingsResponse.js +2 -2
- package/dist/model/FutureRequirements.d.ts +1 -1
- package/dist/model/FutureRequirements.js +2 -2
- package/dist/model/GeneratedFrom.d.ts +1 -1
- package/dist/model/GeneratedFrom.js +2 -2
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeocodeResponse.d.ts +1 -1
- package/dist/model/GeocodeResponse.js +2 -2
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/Giropay.d.ts +1 -1
- package/dist/model/Giropay.js +2 -2
- package/dist/model/GobodoFlowInput.d.ts +1 -1
- package/dist/model/GobodoFlowInput.js +2 -2
- package/dist/model/GobodoFlowResponse.d.ts +1 -1
- package/dist/model/GobodoFlowResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/GooglePay.d.ts +1 -1
- package/dist/model/GooglePay.js +2 -2
- package/dist/model/Grabpay.d.ts +1 -1
- package/dist/model/Grabpay.js +2 -2
- package/dist/model/Graph.d.ts +56 -56
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +150 -150
- package/dist/model/GraphAction.d.ts +1 -1
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +1 -1
- package/dist/model/GraphActionResponse.js +2 -2
- package/dist/model/GraphActionTypeInput.d.ts +1 -1
- package/dist/model/GraphActionTypeInput.js +2 -2
- package/dist/model/GraphActionTypeResponse.d.ts +1 -1
- package/dist/model/GraphActionTypeResponse.js +2 -2
- package/dist/model/GraphInput.d.ts +1 -1
- package/dist/model/GraphInput.js +2 -2
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.d.ts +21 -21
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +59 -59
- package/dist/model/GraphObjectCountResponse.d.ts +1 -1
- package/dist/model/GraphObjectCountResponse.js +2 -2
- package/dist/model/GraphObjectPayload.d.ts +1 -1
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectResponse.d.ts +1 -1
- package/dist/model/GraphObjectResponse.js +2 -2
- package/dist/model/GraphObjectType.d.ts +42 -42
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +106 -106
- package/dist/model/GraphObjectTypeDefinitionSummary.d.ts +1 -1
- package/dist/model/GraphObjectTypeDefinitionSummary.js +2 -2
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.d.ts +42 -42
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +106 -106
- package/dist/model/GraphObjectTypeSummaryEntry.d.ts +1 -1
- package/dist/model/GraphObjectTypeSummaryEntry.js +2 -2
- package/dist/model/GraphObjectTypeSummaryReport.d.ts +1 -1
- package/dist/model/GraphObjectTypeSummaryReport.js +2 -2
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRebuildDatasetRequest.d.ts +1 -1
- package/dist/model/GraphRebuildDatasetRequest.js +2 -2
- package/dist/model/GraphRebuildPriorityRequest.d.ts +1 -1
- package/dist/model/GraphRebuildPriorityRequest.js +2 -2
- package/dist/model/GraphRebuildPriorityResponse.d.ts +1 -1
- package/dist/model/GraphRebuildPriorityResponse.js +2 -2
- package/dist/model/GraphRebuildRequest.d.ts +1 -1
- package/dist/model/GraphRebuildRequest.js +2 -2
- package/dist/model/GraphRebuildStatusResponse.d.ts +1 -1
- package/dist/model/GraphRebuildStatusResponse.js +2 -2
- package/dist/model/GraphRelationship.d.ts +12 -12
- package/dist/model/GraphRelationship.d.ts.map +1 -1
- package/dist/model/GraphRelationship.js +30 -30
- package/dist/model/GraphRelationshipPayload.d.ts +1 -1
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipResponse.js +2 -2
- package/dist/model/GraphRelationshipType.d.ts +41 -41
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +117 -117
- package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeInput.js +2 -2
- package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphRelationshipTypeSummaryEntry.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeSummaryEntry.js +2 -2
- package/dist/model/GraphResponse.d.ts +1 -1
- package/dist/model/GraphResponse.js +2 -2
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +1 -1
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/GroupPermissionPayload.d.ts +1 -1
- package/dist/model/GroupPermissionPayload.js +2 -2
- package/dist/model/HostedConfirmation.d.ts +1 -1
- package/dist/model/HostedConfirmation.js +2 -2
- package/dist/model/Iban.d.ts +1 -1
- package/dist/model/Iban.js +2 -2
- package/dist/model/Ideal.d.ts +10 -10
- package/dist/model/Ideal.d.ts.map +1 -1
- package/dist/model/Ideal.js +30 -30
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/IncrementalAuthorization.d.ts +1 -1
- package/dist/model/IncrementalAuthorization.js +2 -2
- package/dist/model/IndexFilter.d.ts +1 -1
- package/dist/model/IndexFilter.js +2 -2
- package/dist/model/InheritedPayload.d.ts +1 -1
- package/dist/model/InheritedPayload.js +2 -2
- package/dist/model/InputPart.d.ts +10 -10
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +27 -27
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/Installments.d.ts +1 -1
- package/dist/model/Installments.js +2 -2
- package/dist/model/IntegrationInstanceInput.d.ts +1 -1
- package/dist/model/IntegrationInstanceInput.js +2 -2
- package/dist/model/InteracPresent.d.ts +1 -1
- package/dist/model/InteracPresent.js +2 -2
- package/dist/model/InviteMembersInput.d.ts +1 -1
- package/dist/model/InviteMembersInput.js +2 -2
- package/dist/model/Invoice.d.ts +29 -29
- package/dist/model/Invoice.d.ts.map +1 -1
- package/dist/model/Invoice.js +91 -91
- package/dist/model/InvoiceCreation.d.ts +1 -1
- package/dist/model/InvoiceCreation.js +2 -2
- package/dist/model/InvoiceData.d.ts +1 -1
- package/dist/model/InvoiceData.js +2 -2
- package/dist/model/InvoiceFromPricebookInput.d.ts +1 -1
- package/dist/model/InvoiceFromPricebookInput.js +2 -2
- package/dist/model/InvoiceInput.d.ts +1 -1
- package/dist/model/InvoiceInput.js +2 -2
- package/dist/model/InvoiceItem.d.ts +15 -15
- package/dist/model/InvoiceItem.d.ts.map +1 -1
- package/dist/model/InvoiceItem.js +47 -47
- package/dist/model/InvoiceLineItem.d.ts +10 -10
- package/dist/model/InvoiceLineItem.d.ts.map +1 -1
- package/dist/model/InvoiceLineItem.js +30 -30
- package/dist/model/InvoiceLineItemCollection.d.ts +1 -1
- package/dist/model/InvoiceLineItemCollection.js +2 -2
- package/dist/model/InvoiceLineItemInput.d.ts +1 -1
- package/dist/model/InvoiceLineItemInput.js +2 -2
- package/dist/model/InvoiceResponse.d.ts +1 -1
- package/dist/model/InvoiceResponse.js +2 -2
- package/dist/model/InvoiceSettings.d.ts +1 -1
- package/dist/model/InvoiceSettings.js +2 -2
- package/dist/model/IpAddressLocation.d.ts +1 -1
- package/dist/model/IpAddressLocation.js +2 -2
- package/dist/model/Item.d.ts +1 -1
- package/dist/model/Item.js +2 -2
- package/dist/model/ItemReason.d.ts +1 -1
- package/dist/model/ItemReason.js +2 -2
- package/dist/model/JsonArray.d.ts +1 -1
- package/dist/model/JsonArray.js +2 -2
- package/dist/model/JsonNull.d.ts +28 -28
- package/dist/model/JsonNull.d.ts.map +1 -1
- package/dist/model/JsonNull.js +82 -82
- package/dist/model/JsonObject.d.ts +1 -1
- package/dist/model/JsonObject.js +2 -2
- package/dist/model/JsonPrimitive.d.ts +33 -33
- package/dist/model/JsonPrimitive.d.ts.map +1 -1
- package/dist/model/JsonPrimitive.js +94 -94
- package/dist/model/JsonValue.d.ts +1 -1
- package/dist/model/JsonValue.js +2 -2
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/KeycloakConfigInput.d.ts +1 -1
- package/dist/model/KeycloakConfigInput.js +2 -2
- package/dist/model/KeycloakConfigResponse.d.ts +1 -1
- package/dist/model/KeycloakConfigResponse.js +2 -2
- package/dist/model/Klarna.d.ts +1 -1
- package/dist/model/Klarna.js +2 -2
- package/dist/model/Konbini.d.ts +1 -1
- package/dist/model/Konbini.js +2 -2
- package/dist/model/KonbiniDisplayDetails.d.ts +1 -1
- package/dist/model/KonbiniDisplayDetails.js +2 -2
- package/dist/model/Label.d.ts +1 -1
- package/dist/model/Label.js +2 -2
- package/dist/model/LaunchTemplateExecutionRequest.d.ts +1 -1
- package/dist/model/LaunchTemplateExecutionRequest.js +2 -2
- package/dist/model/LaunchTemplateExecutionResponse.d.ts +1 -1
- package/dist/model/LaunchTemplateExecutionResponse.js +2 -2
- package/dist/model/LaunchTemplateInput.d.ts +1 -1
- package/dist/model/LaunchTemplateInput.js +2 -2
- package/dist/model/LaunchTemplateObject.d.ts +1 -1
- package/dist/model/LaunchTemplateObject.js +2 -2
- package/dist/model/LaunchTemplateResponse.d.ts +1 -1
- package/dist/model/LaunchTemplateResponse.js +2 -2
- package/dist/model/Lawson.d.ts +1 -1
- package/dist/model/Lawson.js +2 -2
- package/dist/model/Level3.d.ts +1 -1
- package/dist/model/Level3.js +2 -2
- package/dist/model/LineItem.d.ts +1 -1
- package/dist/model/LineItem.js +2 -2
- package/dist/model/LineItemCollection.d.ts +1 -1
- package/dist/model/LineItemCollection.js +2 -2
- package/dist/model/LineItemInput.d.ts +1 -1
- package/dist/model/LineItemInput.js +2 -2
- package/dist/model/Link.d.ts +1 -1
- package/dist/model/Link.js +2 -2
- package/dist/model/LinkInput.d.ts +1 -1
- package/dist/model/LinkInput.js +2 -2
- package/dist/model/LinkResponse.d.ts +1 -1
- package/dist/model/LinkResponse.js +2 -2
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/Location.d.ts +1 -1
- package/dist/model/Location.js +2 -2
- package/dist/model/MainPhoto.d.ts +1 -1
- package/dist/model/MainPhoto.js +2 -2
- package/dist/model/MainPhotoInput.d.ts +1 -1
- package/dist/model/MainPhotoInput.js +2 -2
- package/dist/model/Mandate.d.ts +1 -1
- package/dist/model/Mandate.js +2 -2
- package/dist/model/MandateOptions.d.ts +1 -1
- package/dist/model/MandateOptions.js +2 -2
- package/dist/model/Masterpass.d.ts +1 -1
- package/dist/model/Masterpass.js +2 -2
- package/dist/model/Maximum.d.ts +1 -1
- package/dist/model/Maximum.js +2 -2
- package/dist/model/MediaType.d.ts +9 -9
- package/dist/model/MediaType.d.ts.map +1 -1
- package/dist/model/MediaType.js +23 -23
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +1 -1
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.d.ts +10 -10
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +31 -31
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +1 -1
- package/dist/model/MemberManagerConfigInput.js +2 -2
- package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
- package/dist/model/MemberManagerConfigResponse.js +2 -2
- package/dist/model/MemberManagerInput.d.ts +1 -1
- package/dist/model/MemberManagerInput.js +2 -2
- package/dist/model/MemberManagerResponse.d.ts +1 -1
- package/dist/model/MemberManagerResponse.js +2 -2
- package/dist/model/MemberManagerSecretInput.d.ts +1 -1
- package/dist/model/MemberManagerSecretInput.js +2 -2
- package/dist/model/MemberManagerSecretResponse.d.ts +1 -1
- package/dist/model/MemberManagerSecretResponse.js +2 -2
- package/dist/model/MemoryCandidate.d.ts +1 -1
- package/dist/model/MemoryCandidate.js +2 -2
- package/dist/model/MenuInput.d.ts +1 -1
- package/dist/model/MenuInput.js +2 -2
- package/dist/model/MenuItemInput.d.ts +1 -1
- package/dist/model/MenuItemInput.js +2 -2
- package/dist/model/MenuItemResponse.d.ts +1 -1
- package/dist/model/MenuItemResponse.js +2 -2
- package/dist/model/MenuResponse.d.ts +1 -1
- package/dist/model/MenuResponse.js +2 -2
- package/dist/model/Message.d.ts +1 -1
- package/dist/model/Message.js +2 -2
- package/dist/model/Minimum.d.ts +1 -1
- package/dist/model/Minimum.js +2 -2
- package/dist/model/Ministop.d.ts +1 -1
- package/dist/model/Ministop.js +2 -2
- package/dist/model/MonthlyEstimatedRevenue.d.ts +1 -1
- package/dist/model/MonthlyEstimatedRevenue.js +2 -2
- package/dist/model/MultiUse.d.ts +1 -1
- package/dist/model/MultiUse.js +2 -2
- package/dist/model/Multibanco.d.ts +1 -1
- package/dist/model/Multibanco.js +2 -2
- package/dist/model/Multicapture.d.ts +1 -1
- package/dist/model/Multicapture.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +1 -1
- package/dist/model/MultivaluedMapStringString.js +2 -2
- package/dist/model/N8nSettings.d.ts +1 -1
- package/dist/model/N8nSettings.js +2 -2
- package/dist/model/NetworkToken.d.ts +1 -1
- package/dist/model/NetworkToken.js +2 -2
- package/dist/model/Networks.d.ts +1 -1
- package/dist/model/Networks.js +2 -2
- package/dist/model/NextAction.d.ts +1 -1
- package/dist/model/NextAction.js +2 -2
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettingsInput.d.ts +1 -1
- package/dist/model/NumberSettingsInput.js +2 -2
- package/dist/model/NumberSettingsResponse.d.ts +1 -1
- package/dist/model/NumberSettingsResponse.js +2 -2
- package/dist/model/Numeric.d.ts +1 -1
- package/dist/model/Numeric.js +2 -2
- package/dist/model/ObjectSettingsInput.d.ts +1 -1
- package/dist/model/ObjectSettingsInput.js +2 -2
- package/dist/model/ObjectSettingsResponse.d.ts +1 -1
- package/dist/model/ObjectSettingsResponse.js +2 -2
- package/dist/model/Objecttype.d.ts +42 -42
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +106 -106
- package/dist/model/Offline.d.ts +1 -1
- package/dist/model/Offline.js +2 -2
- package/dist/model/OnActionCreateRelatedConfigInput.d.ts +1 -1
- package/dist/model/OnActionCreateRelatedConfigInput.js +2 -2
- package/dist/model/OnActionEmailConfigInput.d.ts +1 -1
- package/dist/model/OnActionEmailConfigInput.js +2 -2
- package/dist/model/OnActionFieldChangeLogActivityConfigInput.d.ts +1 -1
- package/dist/model/OnActionFieldChangeLogActivityConfigInput.js +2 -2
- package/dist/model/OnActionFieldEqualsConfigInput.d.ts +1 -1
- package/dist/model/OnActionFieldEqualsConfigInput.js +2 -2
- package/dist/model/OnActionInvokeFunctionConfigInput.d.ts +1 -1
- package/dist/model/OnActionInvokeFunctionConfigInput.js +2 -2
- package/dist/model/OnActionNotifyConfigInput.d.ts +1 -1
- package/dist/model/OnActionNotifyConfigInput.js +2 -2
- package/dist/model/OnActionWorkflowConfigInput.d.ts +1 -1
- package/dist/model/OnActionWorkflowConfigInput.js +2 -2
- package/dist/model/OnChildChangeParentUpdateConfigInput.d.ts +1 -1
- package/dist/model/OnChildChangeParentUpdateConfigInput.js +2 -2
- package/dist/model/OnFieldChangeLogActivityConfigInput.d.ts +1 -1
- package/dist/model/OnFieldChangeLogActivityConfigInput.js +2 -2
- package/dist/model/OnRecordCreateRelatedConfigInput.d.ts +1 -1
- package/dist/model/OnRecordCreateRelatedConfigInput.js +2 -2
- package/dist/model/OnRecordEmailConfigInput.d.ts +1 -1
- package/dist/model/OnRecordEmailConfigInput.js +2 -2
- package/dist/model/OnRecordFieldEqualsConfigInput.d.ts +1 -1
- package/dist/model/OnRecordFieldEqualsConfigInput.js +2 -2
- package/dist/model/OnRecordInvokeFunctionConfigInput.d.ts +1 -1
- package/dist/model/OnRecordInvokeFunctionConfigInput.js +2 -2
- package/dist/model/OnRecordNotifyConfigInput.d.ts +1 -1
- package/dist/model/OnRecordNotifyConfigInput.js +2 -2
- package/dist/model/OnRecordWorkflowConfigInput.d.ts +1 -1
- package/dist/model/OnRecordWorkflowConfigInput.js +2 -2
- package/dist/model/OnRelationshipCreateRelatedConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipCreateRelatedConfigInput.js +2 -2
- package/dist/model/OnRelationshipEmailConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipEmailConfigInput.js +2 -2
- package/dist/model/OnRelationshipFieldChangeLogActivityConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipFieldChangeLogActivityConfigInput.js +2 -2
- package/dist/model/OnRelationshipFieldEqualsConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipFieldEqualsConfigInput.js +2 -2
- package/dist/model/OnRelationshipInvokeFunctionConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipInvokeFunctionConfigInput.js +2 -2
- package/dist/model/OnRelationshipNotifyConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipNotifyConfigInput.js +2 -2
- package/dist/model/OnRelationshipWorkflowConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipWorkflowConfigInput.js +2 -2
- package/dist/model/Online.d.ts +1 -1
- package/dist/model/Online.js +2 -2
- package/dist/model/Option.d.ts +1 -1
- package/dist/model/Option.js +2 -2
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Outcome.d.ts +1 -1
- package/dist/model/Outcome.js +2 -2
- package/dist/model/Overcapture.d.ts +1 -1
- package/dist/model/Overcapture.js +2 -2
- package/dist/model/OwnershipDeclaration.d.ts +1 -1
- package/dist/model/OwnershipDeclaration.js +2 -2
- package/dist/model/Oxxo.d.ts +1 -1
- package/dist/model/Oxxo.js +2 -2
- package/dist/model/OxxoDisplayDetails.d.ts +1 -1
- package/dist/model/OxxoDisplayDetails.js +2 -2
- package/dist/model/P24.d.ts +1 -1
- package/dist/model/P24.js +2 -2
- package/dist/model/PackageDimensions.d.ts +1 -1
- package/dist/model/PackageDimensions.js +2 -2
- package/dist/model/PageInput.d.ts +1 -1
- package/dist/model/PageInput.js +2 -2
- package/dist/model/PageLayoutCloneInput.d.ts +1 -1
- package/dist/model/PageLayoutCloneInput.js +2 -2
- package/dist/model/PageLayoutInput.d.ts +1 -1
- package/dist/model/PageLayoutInput.js +2 -2
- package/dist/model/PageLayoutResponse.d.ts +1 -1
- package/dist/model/PageLayoutResponse.js +2 -2
- package/dist/model/PageLayoutSection.d.ts +1 -1
- package/dist/model/PageLayoutSection.js +2 -2
- package/dist/model/PageResponse.d.ts +1 -1
- package/dist/model/PageResponse.js +2 -2
- package/dist/model/PageTypeInput.d.ts +1 -1
- package/dist/model/PageTypeInput.js +2 -2
- package/dist/model/PageTypeResponse.d.ts +1 -1
- package/dist/model/PageTypeResponse.js +2 -2
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetCompleteByEmailRequest.d.ts +1 -1
- package/dist/model/PasswordResetCompleteByEmailRequest.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
- package/dist/model/PasswordResetInitiateRequest.js +2 -2
- package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
- package/dist/model/PasswordResetInitiateResponse.js +2 -2
- package/dist/model/PasswordResetRequest.d.ts +1 -1
- package/dist/model/PasswordResetRequest.js +2 -2
- package/dist/model/PasswordResetResponse.d.ts +1 -1
- package/dist/model/PasswordResetResponse.js +2 -2
- package/dist/model/PasswordResetValidateByEmailRequest.d.ts +1 -1
- package/dist/model/PasswordResetValidateByEmailRequest.js +2 -2
- package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
- package/dist/model/PasswordResetValidationResponse.js +2 -2
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +2 -2
- package/dist/model/PauseCollection.d.ts +1 -1
- package/dist/model/PauseCollection.js +2 -2
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntent.d.ts +19 -19
- package/dist/model/PaymentIntent.d.ts.map +1 -1
- package/dist/model/PaymentIntent.js +62 -62
- package/dist/model/PaymentIntentData.d.ts +1 -1
- package/dist/model/PaymentIntentData.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentLink.d.ts +10 -10
- package/dist/model/PaymentLink.d.ts.map +1 -1
- package/dist/model/PaymentLink.js +32 -32
- package/dist/model/PaymentMethod.d.ts +1 -1
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodConfigurationDetails.d.ts +1 -1
- package/dist/model/PaymentMethodConfigurationDetails.js +2 -2
- package/dist/model/PaymentMethodDetails.d.ts +1 -1
- package/dist/model/PaymentMethodDetails.js +2 -2
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodOptions.d.ts +1 -1
- package/dist/model/PaymentMethodOptions.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/PaymentSettings.d.ts +1 -1
- package/dist/model/PaymentSettings.js +2 -2
- package/dist/model/PaymentSource.d.ts +1 -1
- package/dist/model/PaymentSource.js +2 -2
- package/dist/model/PaymentSourceCollection.d.ts +1 -1
- package/dist/model/PaymentSourceCollection.js +2 -2
- package/dist/model/Payments.d.ts +1 -1
- package/dist/model/Payments.js +2 -2
- package/dist/model/Paynow.d.ts +1 -1
- package/dist/model/Paynow.js +2 -2
- package/dist/model/PaynowDisplayQrCode.d.ts +1 -1
- package/dist/model/PaynowDisplayQrCode.js +2 -2
- package/dist/model/Payout.d.ts +12 -12
- package/dist/model/Payout.d.ts.map +1 -1
- package/dist/model/Payout.js +31 -31
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Payouts.d.ts +1 -1
- package/dist/model/Payouts.js +2 -2
- package/dist/model/Paypal.d.ts +1 -1
- package/dist/model/Paypal.js +2 -2
- package/dist/model/Pdf.d.ts +1 -1
- package/dist/model/Pdf.js +2 -2
- package/dist/model/PendingInvoiceItemInterval.d.ts +1 -1
- package/dist/model/PendingInvoiceItemInterval.js +2 -2
- package/dist/model/PendingUpdate.d.ts +1 -1
- package/dist/model/PendingUpdate.js +2 -2
- package/dist/model/Period.d.ts +1 -1
- package/dist/model/Period.js +2 -2
- package/dist/model/PermissionOnlyPayload.d.ts +1 -1
- package/dist/model/PermissionOnlyPayload.js +2 -2
- package/dist/model/Person.d.ts +1 -1
- package/dist/model/Person.js +2 -2
- package/dist/model/Phase.d.ts +11 -11
- package/dist/model/Phase.d.ts.map +1 -1
- package/dist/model/Phase.js +32 -32
- package/dist/model/PhoneNumber.d.ts +27 -27
- package/dist/model/PhoneNumber.d.ts.map +1 -1
- package/dist/model/PhoneNumber.js +86 -86
- package/dist/model/PhoneNumberCollection.d.ts +1 -1
- package/dist/model/PhoneNumberCollection.js +2 -2
- package/dist/model/PiiFieldPrivilegeSuggestion.d.ts +1 -1
- package/dist/model/PiiFieldPrivilegeSuggestion.js +2 -2
- package/dist/model/Pix.d.ts +1 -1
- package/dist/model/Pix.js +2 -2
- package/dist/model/PixDisplayQrCode.d.ts +1 -1
- package/dist/model/PixDisplayQrCode.js +2 -2
- package/dist/model/Plan.d.ts +1 -1
- package/dist/model/Plan.js +2 -2
- package/dist/model/PlatformEntryPartTypeCatalogEntry.d.ts +1 -1
- package/dist/model/PlatformEntryPartTypeCatalogEntry.js +2 -2
- package/dist/model/PlatformEntryPartTypeResponse.d.ts +1 -1
- package/dist/model/PlatformEntryPartTypeResponse.js +2 -2
- package/dist/model/PlatformPageLayoutCatalogEntry.d.ts +1 -1
- package/dist/model/PlatformPageLayoutCatalogEntry.js +2 -2
- package/dist/model/PlatformWidgetCatalogEntry.d.ts +1 -1
- package/dist/model/PlatformWidgetCatalogEntry.js +2 -2
- package/dist/model/PolicyBody.d.ts +1 -1
- package/dist/model/PolicyBody.js +2 -2
- package/dist/model/PolicyDefaultsMigrationResponse.d.ts +1 -1
- package/dist/model/PolicyDefaultsMigrationResponse.js +2 -2
- package/dist/model/PolicyDefaultsTypeGenerationResponse.d.ts +1 -1
- package/dist/model/PolicyDefaultsTypeGenerationResponse.js +2 -2
- package/dist/model/PolicyDefaultsTypeNotFoundResponse.d.ts +1 -1
- package/dist/model/PolicyDefaultsTypeNotFoundResponse.js +2 -2
- package/dist/model/PolicyDocument.d.ts +1 -1
- package/dist/model/PolicyDocument.js +2 -2
- package/dist/model/PolicyRequest.d.ts +1 -1
- package/dist/model/PolicyRequest.js +2 -2
- package/dist/model/PolicyResponse.d.ts +1 -1
- package/dist/model/PolicyResponse.js +2 -2
- package/dist/model/PolicyValidationRequest.d.ts +1 -1
- package/dist/model/PolicyValidationRequest.js +2 -2
- package/dist/model/PolicyValidationResponse.d.ts +1 -1
- package/dist/model/PolicyValidationResponse.js +2 -2
- package/dist/model/Position.d.ts +1 -1
- package/dist/model/Position.js +2 -2
- package/dist/model/PostInput.d.ts +1 -1
- package/dist/model/PostInput.js +2 -2
- package/dist/model/PostResponse.d.ts +1 -1
- package/dist/model/PostResponse.js +2 -2
- package/dist/model/Price.d.ts +1 -1
- package/dist/model/Price.js +2 -2
- package/dist/model/PriceInput.d.ts +1 -1
- package/dist/model/PriceInput.js +2 -2
- package/dist/model/PriceOutput.d.ts +1 -1
- package/dist/model/PriceOutput.js +2 -2
- package/dist/model/PriceResponse.d.ts +1 -1
- package/dist/model/PriceResponse.js +2 -2
- package/dist/model/Pricebook.d.ts +1 -1
- package/dist/model/Pricebook.js +2 -2
- package/dist/model/PricebookInput.d.ts +1 -1
- package/dist/model/PricebookInput.js +2 -2
- package/dist/model/PricebookResponse.d.ts +1 -1
- package/dist/model/PricebookResponse.js +2 -2
- package/dist/model/PrincipalPermissionsResponse.d.ts +1 -1
- package/dist/model/PrincipalPermissionsResponse.js +2 -2
- package/dist/model/PrincipalRolePermissionsEntry.d.ts +1 -1
- package/dist/model/PrincipalRolePermissionsEntry.js +2 -2
- package/dist/model/PrivateMessageConversationPayload.d.ts +1 -1
- package/dist/model/PrivateMessageConversationPayload.js +2 -2
- package/dist/model/PrivateMessageConversationReadRequest.d.ts +1 -1
- package/dist/model/PrivateMessageConversationReadRequest.js +2 -2
- package/dist/model/PrivateMessageConversationReadResponse.d.ts +1 -1
- package/dist/model/PrivateMessageConversationReadResponse.js +2 -2
- package/dist/model/PrivateMessageConversationResponse.d.ts +1 -1
- package/dist/model/PrivateMessageConversationResponse.js +2 -2
- package/dist/model/PrivateMessageDirectConversationRequest.d.ts +1 -1
- package/dist/model/PrivateMessageDirectConversationRequest.js +2 -2
- package/dist/model/PrivateMessageGroupResponse.d.ts +1 -1
- package/dist/model/PrivateMessageGroupResponse.js +2 -2
- package/dist/model/PrivateMessageInput.d.ts +1 -1
- package/dist/model/PrivateMessageInput.js +2 -2
- package/dist/model/PrivateMessageLinkInput.d.ts +1 -1
- package/dist/model/PrivateMessageLinkInput.js +2 -2
- package/dist/model/PrivateMessageResponse.d.ts +1 -1
- package/dist/model/PrivateMessageResponse.js +2 -2
- package/dist/model/ProcessDefinitionInput.d.ts +1 -1
- package/dist/model/ProcessDefinitionInput.js +2 -2
- package/dist/model/ProcessDefinitionResponse.d.ts +1 -1
- package/dist/model/ProcessDefinitionResponse.js +2 -2
- package/dist/model/Processing.d.ts +1 -1
- package/dist/model/Processing.js +2 -2
- package/dist/model/Product.d.ts +1 -1
- package/dist/model/Product.js +2 -2
- package/dist/model/ProductCategoryInput.d.ts +1 -1
- package/dist/model/ProductCategoryInput.js +2 -2
- package/dist/model/ProductCategoryOutput.d.ts +1 -1
- package/dist/model/ProductCategoryOutput.js +2 -2
- package/dist/model/ProductCategoryResponse.d.ts +1 -1
- package/dist/model/ProductCategoryResponse.js +2 -2
- package/dist/model/ProductInput.d.ts +1 -1
- package/dist/model/ProductInput.js +2 -2
- package/dist/model/ProductOutput.d.ts +1 -1
- package/dist/model/ProductOutput.js +2 -2
- package/dist/model/ProductResponse.d.ts +1 -1
- package/dist/model/ProductResponse.js +2 -2
- package/dist/model/Profile.d.ts +1 -1
- package/dist/model/Profile.js +2 -2
- package/dist/model/ProfilePatch.d.ts +1 -1
- package/dist/model/ProfilePatch.js +2 -2
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PromotionCode.d.ts +1 -1
- package/dist/model/PromotionCode.js +2 -2
- package/dist/model/Promptpay.d.ts +1 -1
- package/dist/model/Promptpay.js +2 -2
- package/dist/model/PromptpayDisplayQrCode.d.ts +1 -1
- package/dist/model/PromptpayDisplayQrCode.js +2 -2
- package/dist/model/ProrationDetails.d.ts +1 -1
- package/dist/model/ProrationDetails.js +2 -2
- package/dist/model/Provider.d.ts +1 -1
- package/dist/model/Provider.js +2 -2
- package/dist/model/Provider1.d.ts +1 -1
- package/dist/model/Provider1.js +2 -2
- package/dist/model/ProxyServerInput.d.ts +1 -1
- package/dist/model/ProxyServerInput.js +2 -2
- package/dist/model/ProxyServerResponse.d.ts +1 -1
- package/dist/model/ProxyServerResponse.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseProvidersResponse.d.ts +1 -1
- package/dist/model/PurchaseProvidersResponse.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponse.js +2 -2
- package/dist/model/QrCode.d.ts +1 -1
- package/dist/model/QrCode.js +2 -2
- package/dist/model/Quote.d.ts +24 -24
- package/dist/model/Quote.d.ts.map +1 -1
- package/dist/model/Quote.js +77 -77
- package/dist/model/RadarOptions.d.ts +1 -1
- package/dist/model/RadarOptions.js +2 -2
- package/dist/model/RbacDefinitionContextMigrationResponse.d.ts +1 -1
- package/dist/model/RbacDefinitionContextMigrationResponse.js +2 -2
- package/dist/model/RbacDefinitionContextResponse.d.ts +1 -1
- package/dist/model/RbacDefinitionContextResponse.js +2 -2
- package/dist/model/Receipt.d.ts +1 -1
- package/dist/model/Receipt.js +2 -2
- package/dist/model/Recovery.d.ts +1 -1
- package/dist/model/Recovery.js +2 -2
- package/dist/model/Recurring.d.ts +1 -1
- package/dist/model/Recurring.js +2 -2
- package/dist/model/RecurringInput.d.ts +1 -1
- package/dist/model/RecurringInput.js +2 -2
- package/dist/model/Redirect.d.ts +1 -1
- package/dist/model/Redirect.js +2 -2
- package/dist/model/RedirectToUrl.d.ts +1 -1
- package/dist/model/RedirectToUrl.js +2 -2
- package/dist/model/Refund.d.ts +19 -19
- package/dist/model/Refund.d.ts.map +1 -1
- package/dist/model/Refund.js +62 -62
- package/dist/model/RefundCollection.d.ts +1 -1
- package/dist/model/RefundCollection.js +2 -2
- package/dist/model/Relationship.d.ts +1 -1
- package/dist/model/Relationship.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +1 -1
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/Rendering.d.ts +1 -1
- package/dist/model/Rendering.js +2 -2
- package/dist/model/RenderingOptions.d.ts +1 -1
- package/dist/model/RenderingOptions.js +2 -2
- package/dist/model/RequestLogConfigRequest.d.ts +1 -1
- package/dist/model/RequestLogConfigRequest.js +2 -2
- package/dist/model/RequestLogConfigResponse.d.ts +1 -1
- package/dist/model/RequestLogConfigResponse.js +2 -2
- package/dist/model/RequestLogDetailResponse.d.ts +1 -1
- package/dist/model/RequestLogDetailResponse.js +2 -2
- package/dist/model/RequestLogListItemResponse.d.ts +1 -1
- package/dist/model/RequestLogListItemResponse.js +2 -2
- package/dist/model/RequestLogPageResponse.d.ts +1 -1
- package/dist/model/RequestLogPageResponse.js +2 -2
- package/dist/model/RequestOptions.d.ts +1 -1
- package/dist/model/RequestOptions.js +2 -2
- package/dist/model/RequestOptionsProxyCredential.d.ts +1 -1
- package/dist/model/RequestOptionsProxyCredential.js +2 -2
- package/dist/model/Requirements.d.ts +1 -1
- package/dist/model/Requirements.js +2 -2
- package/dist/model/ResponseProjectionInput.d.ts +1 -1
- package/dist/model/ResponseProjectionInput.js +2 -2
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/Restrictions.d.ts +1 -1
- package/dist/model/Restrictions.js +2 -2
- package/dist/model/Review.d.ts +1 -1
- package/dist/model/Review.js +2 -2
- package/dist/model/RevolutPay.d.ts +1 -1
- package/dist/model/RevolutPay.js +2 -2
- package/dist/model/RoleConflictResponse.d.ts +1 -1
- package/dist/model/RoleConflictResponse.js +2 -2
- package/dist/model/RolePermissionPayload.d.ts +1 -1
- package/dist/model/RolePermissionPayload.js +2 -2
- package/dist/model/RolePermissionsResponse.d.ts +1 -1
- package/dist/model/RolePermissionsResponse.js +2 -2
- package/dist/model/RoleRequest.d.ts +1 -1
- package/dist/model/RoleRequest.js +2 -2
- package/dist/model/RoleResponse.d.ts +1 -1
- package/dist/model/RoleResponse.js +2 -2
- package/dist/model/Rule.d.ts +1 -1
- package/dist/model/Rule.js +2 -2
- package/dist/model/SamsungPay.d.ts +1 -1
- package/dist/model/SamsungPay.js +2 -2
- package/dist/model/Schedule.d.ts +1 -1
- package/dist/model/Schedule.js +2 -2
- package/dist/model/ScheduledAutomationInput.d.ts +1 -1
- package/dist/model/ScheduledAutomationInput.js +2 -2
- package/dist/model/ScheduledAutomationResponse.d.ts +1 -1
- package/dist/model/ScheduledAutomationResponse.js +2 -2
- package/dist/model/Schema.d.ts +1 -1
- package/dist/model/Schema.js +2 -2
- package/dist/model/SchemaAccessControlPolicyGroups.d.ts +1 -1
- package/dist/model/SchemaAccessControlPolicyGroups.js +2 -2
- package/dist/model/SchemaAccessControlResponse.d.ts +1 -1
- package/dist/model/SchemaAccessControlResponse.js +2 -2
- package/dist/model/SchemaAccessControlRoleGroups.d.ts +1 -1
- package/dist/model/SchemaAccessControlRoleGroups.js +2 -2
- package/dist/model/SchemaDeploymentSettingsDto.d.ts +1 -1
- package/dist/model/SchemaDeploymentSettingsDto.js +2 -2
- package/dist/model/SchemaTypePolicyGroup.d.ts +1 -1
- package/dist/model/SchemaTypePolicyGroup.js +2 -2
- package/dist/model/SchemaViewInput.d.ts +1 -1
- package/dist/model/SchemaViewInput.js +2 -2
- package/dist/model/SchemaViewResponse.d.ts +1 -1
- package/dist/model/SchemaViewResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +31 -31
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +88 -88
- package/dist/model/Seicomart.d.ts +1 -1
- package/dist/model/Seicomart.js +2 -2
- package/dist/model/SellerProtection.d.ts +1 -1
- package/dist/model/SellerProtection.js +2 -2
- package/dist/model/SendEmailInput.d.ts +1 -1
- package/dist/model/SendEmailInput.js +2 -2
- package/dist/model/SendEmailResponse.d.ts +1 -1
- package/dist/model/SendEmailResponse.js +2 -2
- package/dist/model/SepaCreditTransfer.d.ts +1 -1
- package/dist/model/SepaCreditTransfer.js +2 -2
- package/dist/model/SepaDebit.d.ts +1 -1
- package/dist/model/SepaDebit.js +2 -2
- package/dist/model/SepaDebitPayments.d.ts +1 -1
- package/dist/model/SepaDebitPayments.js +2 -2
- package/dist/model/Session.d.ts +1 -1
- package/dist/model/Session.js +2 -2
- package/dist/model/Settings.d.ts +1 -1
- package/dist/model/Settings.js +2 -2
- package/dist/model/SetupAttempt.d.ts +10 -10
- package/dist/model/SetupAttempt.d.ts.map +1 -1
- package/dist/model/SetupAttempt.js +32 -32
- package/dist/model/SetupIntent.d.ts +15 -15
- package/dist/model/SetupIntent.d.ts.map +1 -1
- package/dist/model/SetupIntent.js +47 -47
- package/dist/model/ShippingAddress.d.ts +1 -1
- package/dist/model/ShippingAddress.js +2 -2
- package/dist/model/ShippingAddressCollection.d.ts +1 -1
- package/dist/model/ShippingAddressCollection.js +2 -2
- package/dist/model/ShippingCost.d.ts +1 -1
- package/dist/model/ShippingCost.js +2 -2
- package/dist/model/ShippingDetails.d.ts +1 -1
- package/dist/model/ShippingDetails.js +2 -2
- package/dist/model/ShippingOption.d.ts +1 -1
- package/dist/model/ShippingOption.js +2 -2
- package/dist/model/ShippingRate.d.ts +1 -1
- package/dist/model/ShippingRate.js +2 -2
- package/dist/model/SingleUse.d.ts +1 -1
- package/dist/model/SingleUse.js +2 -2
- package/dist/model/SiteInput.d.ts +1 -1
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.d.ts +1 -1
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.d.ts +1 -1
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.d.ts +1 -1
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.d.ts +70 -70
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +192 -192
- package/dist/model/SkinFieldInput.d.ts +1 -1
- package/dist/model/SkinFieldInput.js +2 -2
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SlackNotifyConfigInput.d.ts +1 -1
- package/dist/model/SlackNotifyConfigInput.js +2 -2
- package/dist/model/SocialAuthConfigRequest.d.ts +1 -1
- package/dist/model/SocialAuthConfigRequest.js +2 -2
- package/dist/model/SocialAuthConfigResponse.d.ts +1 -1
- package/dist/model/SocialAuthConfigResponse.js +2 -2
- package/dist/model/SocialAuthDomainGuidanceResponse.d.ts +1 -1
- package/dist/model/SocialAuthDomainGuidanceResponse.js +2 -2
- package/dist/model/SocialAuthLaunchResponse.d.ts +1 -1
- package/dist/model/SocialAuthLaunchResponse.js +2 -2
- package/dist/model/SocialAuthProviderStatus.d.ts +1 -1
- package/dist/model/SocialAuthProviderStatus.js +2 -2
- package/dist/model/SocialAuthStatusResponse.d.ts +1 -1
- package/dist/model/SocialAuthStatusResponse.js +2 -2
- package/dist/model/SocialAuthTenantConfigRequest.d.ts +1 -1
- package/dist/model/SocialAuthTenantConfigRequest.js +2 -2
- package/dist/model/SocialAuthTenantConfigResponse.d.ts +1 -1
- package/dist/model/SocialAuthTenantConfigResponse.js +2 -2
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sofort.d.ts +10 -10
- package/dist/model/Sofort.d.ts.map +1 -1
- package/dist/model/Sofort.js +30 -30
- package/dist/model/SortCode.d.ts +1 -1
- package/dist/model/SortCode.js +2 -2
- package/dist/model/SourceCandidate.d.ts +1 -1
- package/dist/model/SourceCandidate.js +2 -2
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/Spei.d.ts +1 -1
- package/dist/model/Spei.js +2 -2
- package/dist/model/SqlSyncTenantConfigRequest.d.ts +1 -1
- package/dist/model/SqlSyncTenantConfigRequest.js +2 -2
- package/dist/model/SqlSyncTenantConfigResponse.d.ts +1 -1
- package/dist/model/SqlSyncTenantConfigResponse.js +2 -2
- package/dist/model/SqsSettings.d.ts +1 -1
- package/dist/model/SqsSettings.js +2 -2
- package/dist/model/Statement.d.ts +1 -1
- package/dist/model/Statement.js +2 -2
- package/dist/model/StatusDetails.d.ts +1 -1
- package/dist/model/StatusDetails.js +2 -2
- package/dist/model/StatusTransitions.d.ts +1 -1
- package/dist/model/StatusTransitions.js +2 -2
- package/dist/model/StepFunctionsSettings.d.ts +1 -1
- package/dist/model/StepFunctionsSettings.js +2 -2
- package/dist/model/Store.d.ts +1 -1
- package/dist/model/Store.js +2 -2
- package/dist/model/Stores.d.ts +1 -1
- package/dist/model/Stores.js +2 -2
- package/dist/model/StripeAccount.d.ts +1 -1
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCheckoutSession.d.ts +12 -12
- package/dist/model/StripeCheckoutSession.d.ts.map +1 -1
- package/dist/model/StripeCheckoutSession.js +33 -33
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/StripeError.d.ts +1 -1
- package/dist/model/StripeError.js +2 -2
- package/dist/model/StripePaymentIntent.d.ts +15 -15
- package/dist/model/StripePaymentIntent.d.ts.map +1 -1
- package/dist/model/StripePaymentIntent.js +36 -36
- package/dist/model/StripePrice.d.ts +10 -10
- package/dist/model/StripePrice.d.ts.map +1 -1
- package/dist/model/StripePrice.js +31 -31
- package/dist/model/StripeSubscription.d.ts +23 -23
- package/dist/model/StripeSubscription.d.ts.map +1 -1
- package/dist/model/StripeSubscription.js +58 -58
- package/dist/model/StripeTenantConfigRequest.d.ts +1 -1
- package/dist/model/StripeTenantConfigRequest.js +2 -2
- package/dist/model/StripeTenantConfigResponse.d.ts +1 -1
- package/dist/model/StripeTenantConfigResponse.js +2 -2
- package/dist/model/Submit.d.ts +1 -1
- package/dist/model/Submit.js +2 -2
- package/dist/model/Subscription.d.ts +46 -46
- package/dist/model/Subscription.d.ts.map +1 -1
- package/dist/model/Subscription.js +137 -137
- package/dist/model/SubscriptionCollection.d.ts +1 -1
- package/dist/model/SubscriptionCollection.js +2 -2
- package/dist/model/SubscriptionData.d.ts +1 -1
- package/dist/model/SubscriptionData.js +2 -2
- package/dist/model/SubscriptionDetails.d.ts +1 -1
- package/dist/model/SubscriptionDetails.js +2 -2
- package/dist/model/SubscriptionInput.d.ts +1 -1
- package/dist/model/SubscriptionInput.js +2 -2
- package/dist/model/SubscriptionItem.d.ts +1 -1
- package/dist/model/SubscriptionItem.js +2 -2
- package/dist/model/SubscriptionItemCollection.d.ts +1 -1
- package/dist/model/SubscriptionItemCollection.js +2 -2
- package/dist/model/SubscriptionItemInput.d.ts +1 -1
- package/dist/model/SubscriptionItemInput.js +2 -2
- package/dist/model/SubscriptionResponse.d.ts +1 -1
- package/dist/model/SubscriptionResponse.js +2 -2
- package/dist/model/SubscriptionSchedule.d.ts +10 -10
- package/dist/model/SubscriptionSchedule.d.ts.map +1 -1
- package/dist/model/SubscriptionSchedule.js +32 -32
- package/dist/model/SupabaseConfigInput.d.ts +1 -1
- package/dist/model/SupabaseConfigInput.js +2 -2
- package/dist/model/SupabaseConfigResponse.d.ts +1 -1
- package/dist/model/SupabaseConfigResponse.js +2 -2
- package/dist/model/Swift.d.ts +1 -1
- package/dist/model/Swift.js +2 -2
- package/dist/model/SyncPortalStatusResponse.d.ts +1 -1
- package/dist/model/SyncPortalStatusResponse.js +2 -2
- package/dist/model/TabDeployInput.d.ts +1 -1
- package/dist/model/TabDeployInput.js +2 -2
- package/dist/model/TabItem.d.ts +1 -1
- package/dist/model/TabItem.js +2 -2
- package/dist/model/TabItemDefinitionInput.d.ts +1 -1
- package/dist/model/TabItemDefinitionInput.js +2 -2
- package/dist/model/TabItemDefinitionResponse.d.ts +1 -1
- package/dist/model/TabItemDefinitionResponse.js +2 -2
- package/dist/model/TabSetInput.d.ts +1 -1
- package/dist/model/TabSetInput.js +2 -2
- package/dist/model/TabSetResponse.d.ts +1 -1
- package/dist/model/TabSetResponse.js +2 -2
- package/dist/model/Tax.d.ts +1 -1
- package/dist/model/Tax.js +2 -2
- package/dist/model/TaxAmount.d.ts +1 -1
- package/dist/model/TaxAmount.js +2 -2
- package/dist/model/TaxCode.d.ts +1 -1
- package/dist/model/TaxCode.js +2 -2
- package/dist/model/TaxId.d.ts +1 -1
- package/dist/model/TaxId.js +2 -2
- package/dist/model/TaxIdCollection.d.ts +1 -1
- package/dist/model/TaxIdCollection.js +2 -2
- package/dist/model/TaxRate.d.ts +1 -1
- package/dist/model/TaxRate.js +2 -2
- package/dist/model/Template.d.ts +10 -10
- package/dist/model/Template.d.ts.map +1 -1
- package/dist/model/Template.js +27 -27
- package/dist/model/TemplateInput.d.ts +1 -1
- package/dist/model/TemplateInput.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +10 -10
- package/dist/model/TemplateSchema.d.ts.map +1 -1
- package/dist/model/TemplateSchema.js +27 -27
- package/dist/model/TermsOfServiceAcceptance.d.ts +1 -1
- package/dist/model/TermsOfServiceAcceptance.js +2 -2
- package/dist/model/TestClock.d.ts +1 -1
- package/dist/model/TestClock.js +2 -2
- package/dist/model/TestConnectionRequest.d.ts +1 -1
- package/dist/model/TestConnectionRequest.js +2 -2
- package/dist/model/TestConnectionResponse.d.ts +1 -1
- package/dist/model/TestConnectionResponse.js +2 -2
- package/dist/model/Text.d.ts +1 -1
- package/dist/model/Text.js +2 -2
- package/dist/model/TextSettingsInput.d.ts +1 -1
- package/dist/model/TextSettingsInput.js +2 -2
- package/dist/model/TextSettingsResponse.d.ts +1 -1
- package/dist/model/TextSettingsResponse.js +2 -2
- package/dist/model/ThemeMapping.d.ts +1 -1
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/ThreeDSecure.d.ts +1 -1
- package/dist/model/ThreeDSecure.js +2 -2
- package/dist/model/ThreeDSecureUsage.d.ts +1 -1
- package/dist/model/ThreeDSecureUsage.js +2 -2
- package/dist/model/ThresholdReason.d.ts +1 -1
- package/dist/model/ThresholdReason.js +2 -2
- package/dist/model/Tier.d.ts +1 -1
- package/dist/model/Tier.js +2 -2
- package/dist/model/TierInput.d.ts +1 -1
- package/dist/model/TierInput.js +2 -2
- package/dist/model/TierOutput.d.ts +1 -1
- package/dist/model/TierOutput.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/Tip.d.ts +1 -1
- package/dist/model/Tip.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/TosAcceptance.d.ts +1 -1
- package/dist/model/TosAcceptance.js +2 -2
- package/dist/model/TotalDetails.d.ts +1 -1
- package/dist/model/TotalDetails.js +2 -2
- package/dist/model/TotalDiscountAmount.d.ts +1 -1
- package/dist/model/TotalDiscountAmount.js +2 -2
- package/dist/model/TotalTaxAmount.d.ts +1 -1
- package/dist/model/TotalTaxAmount.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/TransactionOutput.d.ts +1 -1
- package/dist/model/TransactionOutput.js +2 -2
- package/dist/model/Transfer.d.ts +10 -10
- package/dist/model/Transfer.d.ts.map +1 -1
- package/dist/model/Transfer.js +32 -32
- package/dist/model/TransferData.d.ts +1 -1
- package/dist/model/TransferData.js +2 -2
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +10 -10
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
- package/dist/model/TransferReversal.d.ts +19 -19
- package/dist/model/TransferReversal.d.ts.map +1 -1
- package/dist/model/TransferReversal.js +58 -58
- package/dist/model/TransferReversalCollection.d.ts +1 -1
- package/dist/model/TransferReversalCollection.js +2 -2
- package/dist/model/TransformQuantity.d.ts +1 -1
- package/dist/model/TransformQuantity.js +2 -2
- package/dist/model/TransformUsage.d.ts +1 -1
- package/dist/model/TransformUsage.js +2 -2
- package/dist/model/TraversalProjectionInput.d.ts +1 -1
- package/dist/model/TraversalProjectionInput.js +2 -2
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/Treasury.d.ts +1 -1
- package/dist/model/Treasury.js +2 -2
- package/dist/model/TrialSettings.d.ts +1 -1
- package/dist/model/TrialSettings.js +2 -2
- package/dist/model/URLMappingInput.d.ts +1 -1
- package/dist/model/URLMappingInput.js +2 -2
- package/dist/model/URLMappingResponse.d.ts +1 -1
- package/dist/model/URLMappingResponse.js +2 -2
- package/dist/model/Upfront.d.ts +1 -1
- package/dist/model/Upfront.js +2 -2
- package/dist/model/UsBankAccount.d.ts +1 -1
- package/dist/model/UsBankAccount.js +2 -2
- package/dist/model/User.d.ts +10 -10
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +31 -31
- package/dist/model/UserDataPayload.d.ts +10 -10
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +31 -31
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +19 -19
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +56 -56
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserPermissionPayload.d.ts +1 -1
- package/dist/model/UserPermissionPayload.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +10 -10
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +31 -31
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +1 -1
- package/dist/model/UsernameReminderRequest.js +2 -2
- package/dist/model/UsernameReminderResponse.d.ts +1 -1
- package/dist/model/UsernameReminderResponse.js +2 -2
- package/dist/model/Verification.d.ts +1 -1
- package/dist/model/Verification.js +2 -2
- package/dist/model/VerifyWithMicrodeposits.d.ts +1 -1
- package/dist/model/VerifyWithMicrodeposits.js +2 -2
- package/dist/model/Video.d.ts +1 -1
- package/dist/model/Video.js +2 -2
- package/dist/model/ViewInput.d.ts +1 -1
- package/dist/model/ViewInput.js +2 -2
- package/dist/model/ViewResponse.d.ts +1 -1
- package/dist/model/ViewResponse.js +2 -2
- package/dist/model/VisaCheckout.d.ts +1 -1
- package/dist/model/VisaCheckout.js +2 -2
- package/dist/model/Wallet.d.ts +1 -1
- package/dist/model/Wallet.js +2 -2
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/Wechat.d.ts +1 -1
- package/dist/model/Wechat.js +2 -2
- package/dist/model/WechatPay.d.ts +1 -1
- package/dist/model/WechatPay.js +2 -2
- package/dist/model/WechatPayDisplayQrCode.d.ts +1 -1
- package/dist/model/WechatPayDisplayQrCode.js +2 -2
- package/dist/model/WechatPayRedirectToAndroidApp.d.ts +1 -1
- package/dist/model/WechatPayRedirectToAndroidApp.js +2 -2
- package/dist/model/WechatPayRedirectToIosApp.d.ts +1 -1
- package/dist/model/WechatPayRedirectToIosApp.js +2 -2
- package/dist/model/WidgetDeployInput.d.ts +1 -1
- package/dist/model/WidgetDeployInput.js +2 -2
- package/dist/model/WidgetDeployMoveInput.d.ts +1 -1
- package/dist/model/WidgetDeployMoveInput.js +2 -2
- package/dist/model/WidgetDeployResponse.d.ts +1 -1
- package/dist/model/WidgetDeployResponse.js +2 -2
- package/dist/model/WidgetDeployUpdateInput.d.ts +1 -1
- package/dist/model/WidgetDeployUpdateInput.js +2 -2
- package/dist/model/WidgetInput.d.ts +1 -1
- package/dist/model/WidgetInput.js +2 -2
- package/dist/model/WidgetResponse.d.ts +1 -1
- package/dist/model/WidgetResponse.js +2 -2
- package/dist/model/WidgetScreenInput.d.ts +1 -1
- package/dist/model/WidgetScreenInput.js +2 -2
- package/dist/model/WysiwygSettingsInput.d.ts +1 -1
- package/dist/model/WysiwygSettingsInput.js +2 -2
- package/dist/model/WysiwygSettingsResponse.d.ts +1 -1
- package/dist/model/WysiwygSettingsResponse.js +2 -2
- package/dist/model/Zengin.d.ts +1 -1
- package/dist/model/Zengin.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +20 -20
- package/dist/model/ZeusPortalCategory.d.ts.map +1 -1
- package/dist/model/ZeusPortalCategory.js +49 -49
- package/dist/model/Zip.d.ts +1 -1
- package/dist/model/Zip.js +2 -2
- package/dist/src/api/AIApi.d.ts +6 -6
- package/dist/src/api/AIConversationsApi.d.ts +10 -10
- package/dist/src/api/AbilitiesApi.d.ts +3 -3
- package/dist/src/api/ActionTypesApi.d.ts +1 -1
- package/dist/src/api/AdCampaignsApi.d.ts +7 -7
- package/dist/src/api/AdManagementApi.d.ts +12 -12
- package/dist/src/api/AdminDataManagementApi.d.ts +1 -1
- package/dist/src/api/AdsApi.d.ts +5 -5
- package/dist/src/api/AttachmentsApi.d.ts +6 -6
- package/dist/src/api/AuthenticationApi.d.ts +11 -11
- package/dist/src/api/BatchApi.d.ts +7 -7
- package/dist/src/api/CategoriesApi.d.ts +7 -7
- package/dist/src/api/CircleAccountsApi.d.ts +10 -10
- package/dist/src/api/CommentsApi.d.ts +9 -9
- package/dist/src/api/ContentManagementApi.d.ts +28 -28
- package/dist/src/api/ConversationsApi.d.ts +8 -8
- package/dist/src/api/CurrencyApi.d.ts +7 -7
- package/dist/src/api/DataSheetImportsApi.d.ts +15 -15
- package/dist/src/api/DataSyncApi.d.ts +9 -9
- package/dist/src/api/DefaultApi.d.ts +12 -12
- package/dist/src/api/DocumentPartTypesApi.d.ts +2 -2
- package/dist/src/api/DocumentTypesApi.d.ts +2 -2
- package/dist/src/api/DocumentsApi.d.ts +14 -14
- package/dist/src/api/DynamoDBSyncApi.d.ts +1 -1
- package/dist/src/api/EmailApi.d.ts +1 -1
- package/dist/src/api/EmailsApi.d.ts +4 -4
- package/dist/src/api/EntryPartsApi.d.ts +12 -12
- package/dist/src/api/FacebookApi.d.ts +1 -1
- package/dist/src/api/FieldsApi.d.ts +8 -8
- package/dist/src/api/FilesApi.d.ts +6 -6
- package/dist/src/api/FormsApi.d.ts +14 -14
- package/dist/src/api/FunctionsApi.d.ts +25 -25
- package/dist/src/api/GeocodeApi.d.ts +3 -3
- package/dist/src/api/GobodoManagementApi.d.ts +17 -17
- package/dist/src/api/GoogleApi.d.ts +1 -1
- package/dist/src/api/GraphActionTypesApi.d.ts +18 -18
- package/dist/src/api/GraphActionsApi.d.ts +11 -11
- package/dist/src/api/GraphObjectPermissionsApi.d.ts +10 -10
- package/dist/src/api/GraphObjectTypesApi.d.ts +33 -33
- package/dist/src/api/GraphObjectsApi.d.ts +45 -45
- package/dist/src/api/GraphRelationshipTypesApi.d.ts +26 -26
- package/dist/src/api/GraphRelationshipsApi.d.ts +21 -21
- package/dist/src/api/GraphSchemasApi.d.ts +20 -20
- package/dist/src/api/GraphTraversalApi.d.ts +7 -7
- package/dist/src/api/GraphsApi.d.ts +27 -27
- package/dist/src/api/IAMApi.d.ts +4 -4
- package/dist/src/api/ImagesApi.d.ts +6 -6
- package/dist/src/api/InvitesApi.d.ts +5 -5
- package/dist/src/api/LaunchTemplatesApi.d.ts +16 -16
- package/dist/src/api/LikesApi.d.ts +13 -13
- package/dist/src/api/LinkedINApi.d.ts +1 -1
- package/dist/src/api/LinksApi.d.ts +9 -9
- package/dist/src/api/LiveMeetingsApi.d.ts +2 -2
- package/dist/src/api/MeetingEventsApi.d.ts +24 -24
- package/dist/src/api/MenuItemsApi.d.ts +6 -6
- package/dist/src/api/MenusApi.d.ts +6 -6
- package/dist/src/api/NotificationsApi.d.ts +14 -14
- package/dist/src/api/PageLayoutsApi.d.ts +6 -6
- package/dist/src/api/PagesApi.d.ts +18 -18
- package/dist/src/api/PasswordResetApi.d.ts +1 -1
- package/dist/src/api/PayPalAccountsApi.d.ts +3 -3
- package/dist/src/api/PhoneNumbersApi.d.ts +5 -5
- package/dist/src/api/PostsApi.d.ts +9 -9
- package/dist/src/api/PrivateMessagesApi.d.ts +15 -15
- package/dist/src/api/ProxyServersApi.d.ts +14 -14
- package/dist/src/api/PublicationsApi.d.ts +9 -9
- package/dist/src/api/RestApplicationsApi.d.ts +8 -8
- package/dist/src/api/SchemaViewsApi.d.ts +5 -5
- package/dist/src/api/ScreensApi.d.ts +2 -2
- package/dist/src/api/SearchApi.d.ts +6 -6
- package/dist/src/api/SitesApi.d.ts +15 -15
- package/dist/src/api/SocialGroupsApi.d.ts +20 -20
- package/dist/src/api/SocialIntegrationApi.d.ts +4 -4
- package/dist/src/api/SquareAccountsApi.d.ts +3 -3
- package/dist/src/api/StripeAccountsApi.d.ts +92 -92
- package/dist/src/api/TabDefinitionsApi.d.ts +4 -4
- package/dist/src/api/TabSetsApi.d.ts +7 -7
- package/dist/src/api/TagsApi.d.ts +1 -1
- package/dist/src/api/TemplatesApi.d.ts +9 -9
- package/dist/src/api/ThemeMappingsApi.d.ts +8 -8
- package/dist/src/api/TopicsApi.d.ts +8 -8
- package/dist/src/api/TwitterApi.d.ts +1 -1
- package/dist/src/api/URLMappingsApi.d.ts +8 -8
- package/dist/src/api/UserManagerAdministrationApi.d.ts +27 -27
- package/dist/src/api/UserTagsApi.d.ts +3 -3
- package/dist/src/api/UsersApi.d.ts +13 -13
- package/dist/src/api/VideosApi.d.ts +10 -10
- package/dist/src/api/ViewsApi.d.ts +5 -5
- package/dist/src/api/WalletsApi.d.ts +17 -17
- package/dist/src/api/WidgetsApi.d.ts +12 -12
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* gobodo-api
|
|
3
3
|
* REST Interface for Gobodo API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.
|
|
5
|
+
* The version of the OpenAPI document: 0.1.225
|
|
6
6
|
* Contact: info@gobodo.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/ /**
|
|
13
13
|
* StripeAccounts service.
|
|
14
14
|
* @module api/StripeAccountsApi
|
|
15
|
-
* @version 0.1.
|
|
15
|
+
* @version 0.1.225
|
|
16
16
|
*/var StripeAccountsApi=exports["default"]=/*#__PURE__*/function(){/**
|
|
17
17
|
* Constructs a new StripeAccountsApi.
|
|
18
18
|
* @alias module:api/StripeAccountsApi
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
* @param {Object} opts Optional parameters
|
|
28
28
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
29
29
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
30
|
-
* @param {String} [cachegroup]
|
|
30
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
31
31
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
32
32
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
33
|
-
* @param {String} [cacheuser]
|
|
33
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
34
34
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
35
35
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
36
36
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
41
41
|
*/_createClass(StripeAccountsApi,[{key:"addStripeInvoiceLineItemWithHttpInfo",value:function addStripeInvoiceLineItemWithHttpInfo(invoiceId,invoiceLineItemInput,opts){opts=opts||{};var postBody=invoiceLineItemInput;// verify the required parameter 'invoiceId' is set
|
|
42
42
|
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling addStripeInvoiceLineItem");}// verify the required parameter 'invoiceLineItemInput' is set
|
|
43
|
-
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling addStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
43
|
+
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling addStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
44
44
|
* Adds a line item to a draft invoice
|
|
45
45
|
* Adds a line item (price + quantity) to a draft invoice. Only draft invoices can be edited.
|
|
46
46
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -48,10 +48,10 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
48
48
|
* @param {Object} opts Optional parameters
|
|
49
49
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
50
50
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
51
|
-
* @param {String} opts.cachegroup
|
|
51
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
52
52
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
53
53
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
54
|
-
* @param {String} opts.cacheuser
|
|
54
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
55
55
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
56
56
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
57
57
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -65,10 +65,10 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
65
65
|
* @param {Object} opts Optional parameters
|
|
66
66
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
67
67
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
68
|
-
* @param {String} [cachegroup]
|
|
68
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
69
69
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
70
70
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
71
|
-
* @param {String} [cacheuser]
|
|
71
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
72
72
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
73
73
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
74
74
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -77,16 +77,16 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
77
77
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
78
78
|
* @param {module:model/PaymentMethodInput} [paymentMethodInput]
|
|
79
79
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
80
|
-
*/},{key:"addStripePaymentMethodWithHttpInfo",value:function addStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=opts['paymentMethodInput'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
80
|
+
*/},{key:"addStripePaymentMethodWithHttpInfo",value:function addStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=opts['paymentMethodInput'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
81
81
|
* Adds payment methods for the customer stored in stripe
|
|
82
82
|
* Retrieves the payment methods for the customer stored in stripe
|
|
83
83
|
* @param {Object} opts Optional parameters
|
|
84
84
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
85
85
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
86
|
-
* @param {String} opts.cachegroup
|
|
86
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
87
87
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
88
88
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
89
|
-
* @param {String} opts.cacheuser
|
|
89
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
90
90
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
91
91
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
92
92
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -103,10 +103,10 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
103
103
|
* @param {Object} opts Optional parameters
|
|
104
104
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
105
105
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
106
|
-
* @param {String} [cachegroup]
|
|
106
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
107
107
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
108
108
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
109
|
-
* @param {String} [cacheuser]
|
|
109
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
110
110
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
111
111
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
112
112
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -116,7 +116,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
116
116
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
117
117
|
*/},{key:"attachCustomerStripePaymentMethodWithHttpInfo",value:function attachCustomerStripePaymentMethodWithHttpInfo(customerID,body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'customerID' is set
|
|
118
118
|
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling attachCustomerStripePaymentMethod");}// verify the required parameter 'body' is set
|
|
119
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
119
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
120
120
|
* Adds payment methods for the customer stored in stripe
|
|
121
121
|
* Retrieves the payment methods for the customer stored in stripe
|
|
122
122
|
* @param {Number} customerID The id of the customer
|
|
@@ -124,10 +124,10 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
124
124
|
* @param {Object} opts Optional parameters
|
|
125
125
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
126
126
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
127
|
-
* @param {String} opts.cachegroup
|
|
127
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
128
128
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
129
129
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
130
|
-
* @param {String} opts.cacheuser
|
|
130
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
131
131
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
132
132
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
133
133
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -142,10 +142,10 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
142
142
|
* @param {Object} opts Optional parameters
|
|
143
143
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
144
144
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
145
|
-
* @param {String} [cachegroup]
|
|
145
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
146
146
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
147
147
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
148
|
-
* @param {String} [cacheuser]
|
|
148
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
149
149
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
150
150
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
151
151
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -154,17 +154,17 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
154
154
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
155
155
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
156
156
|
*/},{key:"attachStripePaymentMethodWithHttpInfo",value:function attachStripePaymentMethodWithHttpInfo(body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'body' is set
|
|
157
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
157
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
158
158
|
* Adds payment methods for the customer stored in stripe
|
|
159
159
|
* Retrieves the payment methods for the customer stored in stripe
|
|
160
160
|
* @param {String} body The payment method id
|
|
161
161
|
* @param {Object} opts Optional parameters
|
|
162
162
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
163
163
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
164
|
-
* @param {String} opts.cachegroup
|
|
164
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
165
165
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
166
166
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
167
|
-
* @param {String} opts.cacheuser
|
|
167
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
168
168
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
169
169
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
170
170
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -179,10 +179,10 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
179
179
|
* @param {Object} opts Optional parameters
|
|
180
180
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
181
181
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
182
|
-
* @param {String} [cachegroup]
|
|
182
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
183
183
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
184
184
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
185
|
-
* @param {String} [cacheuser]
|
|
185
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
186
186
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
187
187
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
188
188
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -191,17 +191,17 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
191
191
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
192
192
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
193
193
|
*/},{key:"cancelStripeSubscriptionWithHttpInfo",value:function cancelStripeSubscriptionWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
194
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
194
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
195
195
|
* Cancels a subscription immediately
|
|
196
196
|
* Immediately cancels a subscription
|
|
197
197
|
* @param {String} subscriptionId The subscription ID
|
|
198
198
|
* @param {Object} opts Optional parameters
|
|
199
199
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
200
200
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
201
|
-
* @param {String} opts.cachegroup
|
|
201
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
202
202
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
203
203
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
204
|
-
* @param {String} opts.cacheuser
|
|
204
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
205
205
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
206
206
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
207
207
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -216,10 +216,10 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
216
216
|
* @param {Object} opts Optional parameters
|
|
217
217
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
218
218
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
219
|
-
* @param {String} [cachegroup]
|
|
219
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
220
220
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
221
221
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
222
|
-
* @param {String} [cacheuser]
|
|
222
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
223
223
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
224
224
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
225
225
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -228,17 +228,17 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
228
228
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
229
229
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
230
230
|
*/},{key:"cancelStripeSubscriptionAtPeriodEndWithHttpInfo",value:function cancelStripeSubscriptionAtPeriodEndWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
231
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/cancel-at-period-end','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
231
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/cancel-at-period-end','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
232
232
|
* Cancels subscription at period end
|
|
233
233
|
* Schedules a subscription to cancel at the end of the current billing period
|
|
234
234
|
* @param {String} subscriptionId The subscription ID
|
|
235
235
|
* @param {Object} opts Optional parameters
|
|
236
236
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
237
237
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
238
|
-
* @param {String} opts.cachegroup
|
|
238
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
239
239
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
240
240
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
241
|
-
* @param {String} opts.cacheuser
|
|
241
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
242
242
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
243
243
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
244
244
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -253,10 +253,10 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
253
253
|
* @param {Object} opts Optional parameters
|
|
254
254
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
255
255
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
256
|
-
* @param {String} [cachegroup]
|
|
256
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
257
257
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
258
258
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
259
|
-
* @param {String} [cacheuser]
|
|
259
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
260
260
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
261
261
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
262
262
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -265,17 +265,17 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
265
265
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
266
266
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AccountSessionResponse} and HTTP response
|
|
267
267
|
*/},{key:"createAccountSessionWithHttpInfo",value:function createAccountSessionWithHttpInfo(accountSessionInput,opts){opts=opts||{};var postBody=accountSessionInput;// verify the required parameter 'accountSessionInput' is set
|
|
268
|
-
if(accountSessionInput===undefined||accountSessionInput===null){throw new Error("Missing the required parameter 'accountSessionInput' when calling createAccountSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_AccountSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/accountSession','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
268
|
+
if(accountSessionInput===undefined||accountSessionInput===null){throw new Error("Missing the required parameter 'accountSessionInput' when calling createAccountSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_AccountSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/accountSession','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
269
269
|
* Creates an Account Session which is used to integrate Stripe's connected UI components
|
|
270
270
|
* Creates an Account Session which is used to integrate Stripe's connected UI components
|
|
271
271
|
* @param {module:model/AccountSessionInput} accountSessionInput Contains the info to create the Account Session
|
|
272
272
|
* @param {Object} opts Optional parameters
|
|
273
273
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
274
274
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
275
|
-
* @param {String} opts.cachegroup
|
|
275
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
276
276
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
277
277
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
278
|
-
* @param {String} opts.cacheuser
|
|
278
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
279
279
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
280
280
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
281
281
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -290,10 +290,10 @@ if(accountSessionInput===undefined||accountSessionInput===null){throw new Error(
|
|
|
290
290
|
* @param {Object} opts Optional parameters
|
|
291
291
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
292
292
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
293
|
-
* @param {String} [cachegroup]
|
|
293
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
294
294
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
295
295
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
296
|
-
* @param {String} [cacheuser]
|
|
296
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
297
297
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
298
298
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
299
299
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -302,17 +302,17 @@ if(accountSessionInput===undefined||accountSessionInput===null){throw new Error(
|
|
|
302
302
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
303
303
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
304
304
|
*/},{key:"createAndLinkStripeAccountWithHttpInfo",value:function createAndLinkStripeAccountWithHttpInfo(createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'createStripeAccountInput' is set
|
|
305
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createAndLinkStripeAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
305
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createAndLinkStripeAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
306
306
|
* Creates a Stripe account for the logged in user
|
|
307
307
|
* Creates a Stripe Account
|
|
308
308
|
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
309
309
|
* @param {Object} opts Optional parameters
|
|
310
310
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
311
311
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
312
|
-
* @param {String} opts.cachegroup
|
|
312
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
313
313
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
314
314
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
315
|
-
* @param {String} opts.cacheuser
|
|
315
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
316
316
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
317
317
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
318
318
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -327,10 +327,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
327
327
|
* @param {Object} opts Optional parameters
|
|
328
328
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
329
329
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
330
|
-
* @param {String} [cachegroup]
|
|
330
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
331
331
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
332
332
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
333
|
-
* @param {String} [cacheuser]
|
|
333
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
334
334
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
335
335
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
336
336
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -339,17 +339,17 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
339
339
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
340
340
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
341
341
|
*/},{key:"createAndLinkStripeCustomerAccountWithHttpInfo",value:function createAndLinkStripeCustomerAccountWithHttpInfo(createStripeCustomerInput,opts){opts=opts||{};var postBody=createStripeCustomerInput;// verify the required parameter 'createStripeCustomerInput' is set
|
|
342
|
-
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling createAndLinkStripeCustomerAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
342
|
+
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling createAndLinkStripeCustomerAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
343
343
|
* Creates a Stripe customer account for the logged in user
|
|
344
344
|
* Creates a Stripe Customer Account
|
|
345
345
|
* @param {module:model/CreateStripeCustomerInput} createStripeCustomerInput Contains the info to create the Stripe Account
|
|
346
346
|
* @param {Object} opts Optional parameters
|
|
347
347
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
348
348
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
349
|
-
* @param {String} opts.cachegroup
|
|
349
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
350
350
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
351
351
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
352
|
-
* @param {String} opts.cacheuser
|
|
352
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
353
353
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
354
354
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
355
355
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -365,10 +365,10 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
365
365
|
* @param {Object} opts Optional parameters
|
|
366
366
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
367
367
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
368
|
-
* @param {String} [cachegroup]
|
|
368
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
369
369
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
370
370
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
371
|
-
* @param {String} [cacheuser]
|
|
371
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
372
372
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
373
373
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
374
374
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -378,7 +378,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
378
378
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
379
379
|
*/},{key:"createApplicationStripePaymentAccountWithHttpInfo",value:function createApplicationStripePaymentAccountWithHttpInfo(applicationid,createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'applicationid' is set
|
|
380
380
|
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling createApplicationStripePaymentAccount");}// verify the required parameter 'createStripeAccountInput' is set
|
|
381
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
381
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
382
382
|
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
383
383
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
384
384
|
* @param {Number} applicationid
|
|
@@ -386,10 +386,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
386
386
|
* @param {Object} opts Optional parameters
|
|
387
387
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
388
388
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
389
|
-
* @param {String} opts.cachegroup
|
|
389
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
390
390
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
391
391
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
392
|
-
* @param {String} opts.cacheuser
|
|
392
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
393
393
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
394
394
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
395
395
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -404,10 +404,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
404
404
|
* @param {Object} opts Optional parameters
|
|
405
405
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
406
406
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
407
|
-
* @param {String} [cachegroup]
|
|
407
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
408
408
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
409
409
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
410
|
-
* @param {String} [cacheuser]
|
|
410
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
411
411
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
412
412
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
413
413
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -416,17 +416,17 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
416
416
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
417
417
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
418
418
|
*/},{key:"createOrphanStripeCustomerWithHttpInfo",value:function createOrphanStripeCustomerWithHttpInfo(createOrphanStripeCustomerInput,opts){opts=opts||{};var postBody=createOrphanStripeCustomerInput;// verify the required parameter 'createOrphanStripeCustomerInput' is set
|
|
419
|
-
if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput===null){throw new Error("Missing the required parameter 'createOrphanStripeCustomerInput' when calling createOrphanStripeCustomer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/orphan','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
419
|
+
if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput===null){throw new Error("Missing the required parameter 'createOrphanStripeCustomerInput' when calling createOrphanStripeCustomer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/orphan','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
420
420
|
* Creates an orphan Stripe customer (admin-only)
|
|
421
421
|
* Creates a Stripe customer not linked to any user, for use with create-invoice/list-invoices by graph customer ID
|
|
422
422
|
* @param {module:model/CreateOrphanStripeCustomerInput} createOrphanStripeCustomerInput Orphan customer input: name (required), optional email, optional metadata
|
|
423
423
|
* @param {Object} opts Optional parameters
|
|
424
424
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
425
425
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
426
|
-
* @param {String} opts.cachegroup
|
|
426
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
427
427
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
428
428
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
429
|
-
* @param {String} opts.cacheuser
|
|
429
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
430
430
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
431
431
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
432
432
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -442,10 +442,10 @@ if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput=
|
|
|
442
442
|
* @param {Object} opts Optional parameters
|
|
443
443
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
444
444
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
445
|
-
* @param {String} [cachegroup]
|
|
445
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
446
446
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
447
447
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
448
|
-
* @param {String} [cacheuser]
|
|
448
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
449
449
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
450
450
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
451
451
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -455,7 +455,7 @@ if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput=
|
|
|
455
455
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
456
456
|
*/},{key:"createSiteStripePaymentAccountWithHttpInfo",value:function createSiteStripePaymentAccountWithHttpInfo(siteid,createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'siteid' is set
|
|
457
457
|
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");}// verify the required parameter 'createStripeAccountInput' is set
|
|
458
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
458
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
459
459
|
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
460
460
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
461
461
|
* @param {Number} siteid
|
|
@@ -463,10 +463,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
463
463
|
* @param {Object} opts Optional parameters
|
|
464
464
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
465
465
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
466
|
-
* @param {String} opts.cachegroup
|
|
466
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
467
467
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
468
468
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
469
|
-
* @param {String} opts.cacheuser
|
|
469
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
470
470
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
471
471
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
472
472
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -481,10 +481,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
481
481
|
* @param {Object} opts Optional parameters
|
|
482
482
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
483
483
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
484
|
-
* @param {String} [cachegroup]
|
|
484
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
485
485
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
486
486
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
487
|
-
* @param {String} [cacheuser]
|
|
487
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
488
488
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
489
489
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
490
490
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -493,17 +493,17 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
493
493
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
494
494
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CheckoutSessionResponse} and HTTP response
|
|
495
495
|
*/},{key:"createStripeCheckoutSessionWithHttpInfo",value:function createStripeCheckoutSessionWithHttpInfo(checkoutSessionInput,opts){opts=opts||{};var postBody=checkoutSessionInput;// verify the required parameter 'checkoutSessionInput' is set
|
|
496
|
-
if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CheckoutSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/checkout/session','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
496
|
+
if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CheckoutSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/checkout/session','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
497
497
|
* Creates a Stripe Checkout Session for hosted payment page
|
|
498
498
|
* Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page. If invoiceId is provided, the session is created for that invoice (line items and customer from the invoice); successUrl and cancelUrl are required in that case, and mode, lineItems, and currency are ignored.
|
|
499
499
|
* @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session. When invoiceId is set, only invoiceId, successUrl, and cancelUrl are required; other fields are optional or ignored.
|
|
500
500
|
* @param {Object} opts Optional parameters
|
|
501
501
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
502
502
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
503
|
-
* @param {String} opts.cachegroup
|
|
503
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
504
504
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
505
505
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
506
|
-
* @param {String} opts.cacheuser
|
|
506
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
507
507
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
508
508
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
509
509
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -518,10 +518,10 @@ if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Erro
|
|
|
518
518
|
* @param {Object} opts Optional parameters
|
|
519
519
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
520
520
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
521
|
-
* @param {String} [cachegroup]
|
|
521
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
522
522
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
523
523
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
524
|
-
* @param {String} [cacheuser]
|
|
524
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
525
525
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
526
526
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
527
527
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -530,17 +530,17 @@ if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Erro
|
|
|
530
530
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
531
531
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
532
532
|
*/},{key:"createStripeInvoiceWithHttpInfo",value:function createStripeInvoiceWithHttpInfo(invoiceInput,opts){opts=opts||{};var postBody=invoiceInput;// verify the required parameter 'invoiceInput' is set
|
|
533
|
-
if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the required parameter 'invoiceInput' when calling createStripeInvoice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
533
|
+
if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the required parameter 'invoiceInput' when calling createStripeInvoice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
534
534
|
* Creates a Stripe invoice
|
|
535
535
|
* Creates an invoice for a customer with line items (products/prices), optionally finalizes and sends it
|
|
536
536
|
* @param {module:model/InvoiceInput} invoiceInput Invoice input: customerId (graph id), lineItems (priceId + quantity), optional collectionMethod, daysUntilDue, autoFinalize, sendAfterFinalize
|
|
537
537
|
* @param {Object} opts Optional parameters
|
|
538
538
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
539
539
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
540
|
-
* @param {String} opts.cachegroup
|
|
540
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
541
541
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
542
542
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
543
|
-
* @param {String} opts.cacheuser
|
|
543
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
544
544
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
545
545
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
546
546
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -555,10 +555,10 @@ if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the r
|
|
|
555
555
|
* @param {Object} opts Optional parameters
|
|
556
556
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
557
557
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
558
|
-
* @param {String} [cachegroup]
|
|
558
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
559
559
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
560
560
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
561
|
-
* @param {String} [cacheuser]
|
|
561
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
562
562
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
563
563
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
564
564
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -567,17 +567,17 @@ if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the r
|
|
|
567
567
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
568
568
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
569
569
|
*/},{key:"createStripeInvoiceFromPricebookWithHttpInfo",value:function createStripeInvoiceFromPricebookWithHttpInfo(invoiceFromPricebookInput,opts){opts=opts||{};var postBody=invoiceFromPricebookInput;// verify the required parameter 'invoiceFromPricebookInput' is set
|
|
570
|
-
if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){throw new Error("Missing the required parameter 'invoiceFromPricebookInput' when calling createStripeInvoiceFromPricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/from-pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
570
|
+
if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){throw new Error("Missing the required parameter 'invoiceFromPricebookInput' when calling createStripeInvoiceFromPricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/from-pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
571
571
|
* Creates a draft invoice from a pricebook
|
|
572
572
|
* Creates a draft Stripe invoice from a pricebook. If lineItems is null or empty, uses entire pricebook (all prices, quantity 1 each). Returns draft invoice for editing before finalize/send.
|
|
573
573
|
* @param {module:model/InvoiceFromPricebookInput} invoiceFromPricebookInput InvoiceFromPricebookInput: customerId or stripeCustomerId, pricebookIdOrKey (required), optional lineItems (subset). When lineItems empty, entire pricebook used.
|
|
574
574
|
* @param {Object} opts Optional parameters
|
|
575
575
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
576
576
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
577
|
-
* @param {String} opts.cachegroup
|
|
577
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
578
578
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
579
579
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
580
|
-
* @param {String} opts.cacheuser
|
|
580
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
581
581
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
582
582
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
583
583
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -592,10 +592,10 @@ if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){thro
|
|
|
592
592
|
* @param {Object} opts Optional parameters
|
|
593
593
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
594
594
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
595
|
-
* @param {String} [cachegroup]
|
|
595
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
596
596
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
597
597
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
598
|
-
* @param {String} [cacheuser]
|
|
598
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
599
599
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
600
600
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
601
601
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -604,17 +604,17 @@ if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){thro
|
|
|
604
604
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
605
605
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentIntentResponse} and HTTP response
|
|
606
606
|
*/},{key:"createStripePaymentIntentWithHttpInfo",value:function createStripePaymentIntentWithHttpInfo(paymentIntentInput,opts){opts=opts||{};var postBody=paymentIntentInput;// verify the required parameter 'paymentIntentInput' is set
|
|
607
|
-
if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("Missing the required parameter 'paymentIntentInput' when calling createStripePaymentIntent");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentIntentResponse["default"];return this.apiClient.callApi('/payments/stripe/payment','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
607
|
+
if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("Missing the required parameter 'paymentIntentInput' when calling createStripePaymentIntent");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentIntentResponse["default"];return this.apiClient.callApi('/payments/stripe/payment','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
608
608
|
* Creates a Payment Intent to initate a Stripe payment
|
|
609
609
|
* Creates a Payment Intent to initate a Stripe payment
|
|
610
610
|
* @param {module:model/PaymentIntentInput} paymentIntentInput Contains the info to create the Stripe Payment Intent
|
|
611
611
|
* @param {Object} opts Optional parameters
|
|
612
612
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
613
613
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
614
|
-
* @param {String} opts.cachegroup
|
|
614
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
615
615
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
616
616
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
617
|
-
* @param {String} opts.cacheuser
|
|
617
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
618
618
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
619
619
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
620
620
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -629,10 +629,10 @@ if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("M
|
|
|
629
629
|
* @param {Object} opts Optional parameters
|
|
630
630
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
631
631
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
632
|
-
* @param {String} [cachegroup]
|
|
632
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
633
633
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
634
634
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
635
|
-
* @param {String} [cacheuser]
|
|
635
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
636
636
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
637
637
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
638
638
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -641,17 +641,17 @@ if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("M
|
|
|
641
641
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
642
642
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
|
|
643
643
|
*/},{key:"createStripePriceWithHttpInfo",value:function createStripePriceWithHttpInfo(priceInput,opts){opts=opts||{};var postBody=priceInput;// verify the required parameter 'priceInput' is set
|
|
644
|
-
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
644
|
+
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
645
645
|
* Creates a new price
|
|
646
646
|
* Creates a new price in Stripe
|
|
647
647
|
* @param {module:model/PriceInput} priceInput Contains the info to create the price
|
|
648
648
|
* @param {Object} opts Optional parameters
|
|
649
649
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
650
650
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
651
|
-
* @param {String} opts.cachegroup
|
|
651
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
652
652
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
653
653
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
654
|
-
* @param {String} opts.cacheuser
|
|
654
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
655
655
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
656
656
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
657
657
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -666,10 +666,10 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
666
666
|
* @param {Object} opts Optional parameters
|
|
667
667
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
668
668
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
669
|
-
* @param {String} [cachegroup]
|
|
669
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
670
670
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
671
671
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
672
|
-
* @param {String} [cacheuser]
|
|
672
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
673
673
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
674
674
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
675
675
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -678,17 +678,17 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
678
678
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
679
679
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PricebookResponse} and HTTP response
|
|
680
680
|
*/},{key:"createStripePricebookWithHttpInfo",value:function createStripePricebookWithHttpInfo(pricebookInput,opts){opts=opts||{};var postBody=pricebookInput;// verify the required parameter 'pricebookInput' is set
|
|
681
|
-
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling createStripePricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
681
|
+
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling createStripePricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
682
682
|
* Creates a new pricebook
|
|
683
683
|
* Creates a new pricebook for grouping prices
|
|
684
684
|
* @param {module:model/PricebookInput} pricebookInput Contains the info to create the pricebook
|
|
685
685
|
* @param {Object} opts Optional parameters
|
|
686
686
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
687
687
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
688
|
-
* @param {String} opts.cachegroup
|
|
688
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
689
689
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
690
690
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
691
|
-
* @param {String} opts.cacheuser
|
|
691
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
692
692
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
693
693
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
694
694
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -703,10 +703,10 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
703
703
|
* @param {Object} opts Optional parameters
|
|
704
704
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
705
705
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
706
|
-
* @param {String} [cachegroup]
|
|
706
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
707
707
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
708
708
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
709
|
-
* @param {String} [cacheuser]
|
|
709
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
710
710
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
711
711
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
712
712
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -715,17 +715,17 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
715
715
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
716
716
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
717
717
|
*/},{key:"createStripeProductWithHttpInfo",value:function createStripeProductWithHttpInfo(productInput,opts){opts=opts||{};var postBody=productInput;// verify the required parameter 'productInput' is set
|
|
718
|
-
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
718
|
+
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
719
719
|
* Creates a new product
|
|
720
720
|
* Creates a new product in Stripe
|
|
721
721
|
* @param {module:model/ProductInput} productInput Contains the info to create the product
|
|
722
722
|
* @param {Object} opts Optional parameters
|
|
723
723
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
724
724
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
725
|
-
* @param {String} opts.cachegroup
|
|
725
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
726
726
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
727
727
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
728
|
-
* @param {String} opts.cacheuser
|
|
728
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
729
729
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
730
730
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
731
731
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -740,10 +740,10 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
740
740
|
* @param {Object} opts Optional parameters
|
|
741
741
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
742
742
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
743
|
-
* @param {String} [cachegroup]
|
|
743
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
744
744
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
745
745
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
746
|
-
* @param {String} [cacheuser]
|
|
746
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
747
747
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
748
748
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
749
749
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -752,17 +752,17 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
752
752
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
753
753
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
754
754
|
*/},{key:"createStripeProductCategoryWithHttpInfo",value:function createStripeProductCategoryWithHttpInfo(productCategoryInput,opts){opts=opts||{};var postBody=productCategoryInput;// verify the required parameter 'productCategoryInput' is set
|
|
755
|
-
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
755
|
+
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
756
756
|
* Creates a new product category
|
|
757
757
|
* Creates a new product category
|
|
758
758
|
* @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
|
|
759
759
|
* @param {Object} opts Optional parameters
|
|
760
760
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
761
761
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
762
|
-
* @param {String} opts.cachegroup
|
|
762
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
763
763
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
764
764
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
765
|
-
* @param {String} opts.cacheuser
|
|
765
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
766
766
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
767
767
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
768
768
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -777,10 +777,10 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
777
777
|
* @param {Object} opts Optional parameters
|
|
778
778
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
779
779
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
780
|
-
* @param {String} [cachegroup]
|
|
780
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
781
781
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
782
782
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
783
|
-
* @param {String} [cacheuser]
|
|
783
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
784
784
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
785
785
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
786
786
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -789,17 +789,17 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
789
789
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
790
790
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
|
|
791
791
|
*/},{key:"createStripeSubscriptionWithHttpInfo",value:function createStripeSubscriptionWithHttpInfo(subscriptionInput,opts){opts=opts||{};var postBody=subscriptionInput;// verify the required parameter 'subscriptionInput' is set
|
|
792
|
-
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
792
|
+
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
793
793
|
* Creates a new subscription
|
|
794
794
|
* Creates a recurring subscription for the logged-in user
|
|
795
795
|
* @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
|
|
796
796
|
* @param {Object} opts Optional parameters
|
|
797
797
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
798
798
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
799
|
-
* @param {String} opts.cachegroup
|
|
799
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
800
800
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
801
801
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
802
|
-
* @param {String} opts.cacheuser
|
|
802
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
803
803
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
804
804
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
805
805
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -811,10 +811,10 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
811
811
|
* @param {Object} opts Optional parameters
|
|
812
812
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
813
813
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
814
|
-
* @param {String} [cachegroup]
|
|
814
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
815
815
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
816
816
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
817
|
-
* @param {String} [cacheuser]
|
|
817
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
818
818
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
819
819
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
820
820
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -822,14 +822,14 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
822
822
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
823
823
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
824
824
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
825
|
-
*/},{key:"deleteStripeAccountWithHttpInfo",value:function deleteStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
825
|
+
*/},{key:"deleteStripeAccountWithHttpInfo",value:function deleteStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
826
826
|
* @param {Object} opts Optional parameters
|
|
827
827
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
828
828
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
829
|
-
* @param {String} opts.cachegroup
|
|
829
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
830
830
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
831
831
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
832
|
-
* @param {String} opts.cacheuser
|
|
832
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
833
833
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
834
834
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
835
835
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -842,10 +842,10 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
842
842
|
* @param {Object} opts Optional parameters
|
|
843
843
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
844
844
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
845
|
-
* @param {String} [cachegroup]
|
|
845
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
846
846
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
847
847
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
848
|
-
* @param {String} [cacheuser]
|
|
848
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
849
849
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
850
850
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
851
851
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -854,15 +854,15 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
854
854
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
855
855
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
856
856
|
*/},{key:"deleteStripeAccountWithIdWithHttpInfo",value:function deleteStripeAccountWithIdWithHttpInfo(accountID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'accountID' is set
|
|
857
|
-
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account/{accountID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
857
|
+
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account/{accountID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
858
858
|
* @param {Number} accountID The id of the account to delete
|
|
859
859
|
* @param {Object} opts Optional parameters
|
|
860
860
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
861
861
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
862
|
-
* @param {String} opts.cachegroup
|
|
862
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
863
863
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
864
864
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
865
|
-
* @param {String} opts.cacheuser
|
|
865
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
866
866
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
867
867
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
868
868
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -877,10 +877,10 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
877
877
|
* @param {Object} opts Optional parameters
|
|
878
878
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
879
879
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
880
|
-
* @param {String} [cachegroup]
|
|
880
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
881
881
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
882
882
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
883
|
-
* @param {String} [cacheuser]
|
|
883
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
884
884
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
885
885
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
886
886
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -889,17 +889,17 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
889
889
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
890
890
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
891
891
|
*/},{key:"deleteStripePaymentMethodWithHttpInfo",value:function deleteStripePaymentMethodWithHttpInfo(paymentMethodID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'paymentMethodID' is set
|
|
892
|
-
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
892
|
+
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
893
893
|
* Adds payment methods for the customer stored in stripe
|
|
894
894
|
* Retrieves the payment methods for the customer stored in stripe
|
|
895
895
|
* @param {String} paymentMethodID The id of the payment method to delete
|
|
896
896
|
* @param {Object} opts Optional parameters
|
|
897
897
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
898
898
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
899
|
-
* @param {String} opts.cachegroup
|
|
899
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
900
900
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
901
901
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
902
|
-
* @param {String} opts.cacheuser
|
|
902
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
903
903
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
904
904
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
905
905
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -914,10 +914,10 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
914
914
|
* @param {Object} opts Optional parameters
|
|
915
915
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
916
916
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
917
|
-
* @param {String} [cachegroup]
|
|
917
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
918
918
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
919
919
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
920
|
-
* @param {String} [cacheuser]
|
|
920
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
921
921
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
922
922
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
923
923
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -926,17 +926,17 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
926
926
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
927
927
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
|
|
928
928
|
*/},{key:"deleteStripePriceWithHttpInfo",value:function deleteStripePriceWithHttpInfo(priceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'priceId' is set
|
|
929
|
-
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
929
|
+
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
930
930
|
* Archives a price
|
|
931
931
|
* Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
|
|
932
932
|
* @param {String} priceId The price ID
|
|
933
933
|
* @param {Object} opts Optional parameters
|
|
934
934
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
935
935
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
936
|
-
* @param {String} opts.cachegroup
|
|
936
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
937
937
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
938
938
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
939
|
-
* @param {String} opts.cacheuser
|
|
939
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
940
940
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
941
941
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
942
942
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -951,10 +951,10 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
951
951
|
* @param {Object} opts Optional parameters
|
|
952
952
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
953
953
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
954
|
-
* @param {String} [cachegroup]
|
|
954
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
955
955
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
956
956
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
957
|
-
* @param {String} [cacheuser]
|
|
957
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
958
958
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
959
959
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
960
960
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -963,17 +963,17 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
963
963
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
964
964
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
965
965
|
*/},{key:"deleteStripePricebookWithHttpInfo",value:function deleteStripePricebookWithHttpInfo(id,opts){opts=opts||{};var postBody=null;// verify the required parameter 'id' is set
|
|
966
|
-
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling deleteStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/pricebook/{id}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
966
|
+
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling deleteStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/pricebook/{id}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
967
967
|
* Deletes a pricebook
|
|
968
968
|
* Deletes a pricebook and removes its links to prices. Does not delete or alter Stripe prices.
|
|
969
969
|
* @param {Number} id The pricebook ID
|
|
970
970
|
* @param {Object} opts Optional parameters
|
|
971
971
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
972
972
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
973
|
-
* @param {String} opts.cachegroup
|
|
973
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
974
974
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
975
975
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
976
|
-
* @param {String} opts.cacheuser
|
|
976
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
977
977
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
978
978
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
979
979
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -988,10 +988,10 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
988
988
|
* @param {Object} opts Optional parameters
|
|
989
989
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
990
990
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
991
|
-
* @param {String} [cachegroup]
|
|
991
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
992
992
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
993
993
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
994
|
-
* @param {String} [cacheuser]
|
|
994
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
995
995
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
996
996
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
997
997
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1000,17 +1000,17 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1000
1000
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1001
1001
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductOutput} and HTTP response
|
|
1002
1002
|
*/},{key:"deleteStripeProductWithHttpInfo",value:function deleteStripeProductWithHttpInfo(productId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'productId' is set
|
|
1003
|
-
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1003
|
+
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1004
1004
|
* Deletes a product
|
|
1005
1005
|
* Deletes a product
|
|
1006
1006
|
* @param {String} productId The product ID
|
|
1007
1007
|
* @param {Object} opts Optional parameters
|
|
1008
1008
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1009
1009
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1010
|
-
* @param {String} opts.cachegroup
|
|
1010
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1011
1011
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1012
1012
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1013
|
-
* @param {String} opts.cacheuser
|
|
1013
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1014
1014
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1015
1015
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1016
1016
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1025,10 +1025,10 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1025
1025
|
* @param {Object} opts Optional parameters
|
|
1026
1026
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1027
1027
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1028
|
-
* @param {String} [cachegroup]
|
|
1028
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1029
1029
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1030
1030
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1031
|
-
* @param {String} [cacheuser]
|
|
1031
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1032
1032
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1033
1033
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1034
1034
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1037,17 +1037,17 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1037
1037
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1038
1038
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1039
1039
|
*/},{key:"deleteStripeProductCategoryWithHttpInfo",value:function deleteStripeProductCategoryWithHttpInfo(categoryId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'categoryId' is set
|
|
1040
|
-
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1040
|
+
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1041
1041
|
* Deletes a category
|
|
1042
1042
|
* Deletes a category
|
|
1043
1043
|
* @param {Number} categoryId The category ID
|
|
1044
1044
|
* @param {Object} opts Optional parameters
|
|
1045
1045
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1046
1046
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1047
|
-
* @param {String} opts.cachegroup
|
|
1047
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1048
1048
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1049
1049
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1050
|
-
* @param {String} opts.cacheuser
|
|
1050
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1051
1051
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1052
1052
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1053
1053
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1062,10 +1062,10 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1062
1062
|
* @param {Object} opts Optional parameters
|
|
1063
1063
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1064
1064
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1065
|
-
* @param {String} [cachegroup]
|
|
1065
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1066
1066
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1067
1067
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1068
|
-
* @param {String} [cacheuser]
|
|
1068
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1069
1069
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1070
1070
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1071
1071
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1074,17 +1074,17 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1074
1074
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1075
1075
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
1076
1076
|
*/},{key:"finalizeStripeInvoiceWithHttpInfo",value:function finalizeStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
1077
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling finalizeStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/finalize','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1077
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling finalizeStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/finalize','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1078
1078
|
* Finalizes a draft invoice
|
|
1079
1079
|
* Finalizes a draft invoice so it can be paid or sent
|
|
1080
1080
|
* @param {String} invoiceId Stripe invoice ID
|
|
1081
1081
|
* @param {Object} opts Optional parameters
|
|
1082
1082
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1083
1083
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1084
|
-
* @param {String} opts.cachegroup
|
|
1084
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1085
1085
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1086
1086
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1087
|
-
* @param {String} opts.cacheuser
|
|
1087
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1088
1088
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1089
1089
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1090
1090
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1097,10 +1097,10 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1097
1097
|
* @param {Object} opts Optional parameters
|
|
1098
1098
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1099
1099
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1100
|
-
* @param {String} [cachegroup]
|
|
1100
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1101
1101
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1102
1102
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1103
|
-
* @param {String} [cacheuser]
|
|
1103
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1104
1104
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1105
1105
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1106
1106
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1108,15 +1108,15 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1108
1108
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1109
1109
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1110
1110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1111
|
-
*/},{key:"get6WithHttpInfo",value:function get6WithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=null;return this.apiClient.callApi('/payments/stripe','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1111
|
+
*/},{key:"get6WithHttpInfo",value:function get6WithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=null;return this.apiClient.callApi('/payments/stripe','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1112
1112
|
* Root for the API
|
|
1113
1113
|
* @param {Object} opts Optional parameters
|
|
1114
1114
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1115
1115
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1116
|
-
* @param {String} opts.cachegroup
|
|
1116
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1117
1117
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1118
1118
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1119
|
-
* @param {String} opts.cacheuser
|
|
1119
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1120
1120
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1121
1121
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1122
1122
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1130,10 +1130,10 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1130
1130
|
* @param {Object} opts Optional parameters
|
|
1131
1131
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1132
1132
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1133
|
-
* @param {String} [cachegroup]
|
|
1133
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1134
1134
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1135
1135
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1136
|
-
* @param {String} [cacheuser]
|
|
1136
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1137
1137
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1138
1138
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1139
1139
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1142,16 +1142,16 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1142
1142
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1143
1143
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponse} and HTTP response
|
|
1144
1144
|
*/},{key:"get7WithHttpInfo",value:function get7WithHttpInfo(id,opts){opts=opts||{};var postBody=null;// verify the required parameter 'id' is set
|
|
1145
|
-
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling get7");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PurgeDataDefaultResponse["default"];return this.apiClient.callApi('/payments/stripe/{id}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1145
|
+
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling get7");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PurgeDataDefaultResponse["default"];return this.apiClient.callApi('/payments/stripe/{id}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1146
1146
|
* Gets and object by id
|
|
1147
1147
|
* @param {Number} id
|
|
1148
1148
|
* @param {Object} opts Optional parameters
|
|
1149
1149
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1150
1150
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1151
|
-
* @param {String} opts.cachegroup
|
|
1151
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1152
1152
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1153
1153
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1154
|
-
* @param {String} opts.cacheuser
|
|
1154
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1155
1155
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1156
1156
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1157
1157
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1166,10 +1166,10 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1166
1166
|
* @param {Object} opts Optional parameters
|
|
1167
1167
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1168
1168
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1169
|
-
* @param {String} [cachegroup]
|
|
1169
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1170
1170
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1171
1171
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1172
|
-
* @param {String} [cacheuser]
|
|
1172
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1173
1173
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1174
1174
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1175
1175
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1178,17 +1178,17 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1178
1178
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1179
1179
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
1180
1180
|
*/},{key:"getApplicationStripePaymentAccountWithHttpInfo",value:function getApplicationStripePaymentAccountWithHttpInfo(applicationid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'applicationid' is set
|
|
1181
|
-
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1181
|
+
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1182
1182
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1183
1183
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1184
1184
|
* @param {Number} applicationid
|
|
1185
1185
|
* @param {Object} opts Optional parameters
|
|
1186
1186
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1187
1187
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1188
|
-
* @param {String} opts.cachegroup
|
|
1188
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1189
1189
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1190
1190
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1191
|
-
* @param {String} opts.cacheuser
|
|
1191
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1192
1192
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1193
1193
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1194
1194
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1203,10 +1203,10 @@ if(applicationid===undefined||applicationid===null){throw new Error("Missing the
|
|
|
1203
1203
|
* @param {Object} opts Optional parameters
|
|
1204
1204
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1205
1205
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1206
|
-
* @param {String} [cachegroup]
|
|
1206
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1207
1207
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1208
1208
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1209
|
-
* @param {String} [cacheuser]
|
|
1209
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1210
1210
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1211
1211
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1212
1212
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1215,17 +1215,17 @@ if(applicationid===undefined||applicationid===null){throw new Error("Missing the
|
|
|
1215
1215
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1216
1216
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
1217
1217
|
*/},{key:"getDefaultCustomerStripePaymentMethodWithHttpInfo",value:function getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'customerID' is set
|
|
1218
|
-
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1218
|
+
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1219
1219
|
* Gets the default payment method
|
|
1220
1220
|
* Retrieves the default payment for the customer stored in stripe
|
|
1221
1221
|
* @param {Number} customerID The id of the customer
|
|
1222
1222
|
* @param {Object} opts Optional parameters
|
|
1223
1223
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1224
1224
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1225
|
-
* @param {String} opts.cachegroup
|
|
1225
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1226
1226
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1227
1227
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1228
|
-
* @param {String} opts.cacheuser
|
|
1228
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1229
1229
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1230
1230
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1231
1231
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1239,10 +1239,10 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1239
1239
|
* @param {Object} opts Optional parameters
|
|
1240
1240
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1241
1241
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1242
|
-
* @param {String} [cachegroup]
|
|
1242
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1243
1243
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1244
1244
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1245
|
-
* @param {String} [cacheuser]
|
|
1245
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1246
1246
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1247
1247
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1248
1248
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1250,16 +1250,16 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1250
1250
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1251
1251
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1252
1252
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
1253
|
-
*/},{key:"getDefaultStripePaymentMethodWithHttpInfo",value:function getDefaultStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1253
|
+
*/},{key:"getDefaultStripePaymentMethodWithHttpInfo",value:function getDefaultStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1254
1254
|
* Gets the default payment method
|
|
1255
1255
|
* Retrieves the default payment for the customer stored in stripe
|
|
1256
1256
|
* @param {Object} opts Optional parameters
|
|
1257
1257
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1258
1258
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1259
|
-
* @param {String} opts.cachegroup
|
|
1259
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1260
1260
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1261
1261
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1262
|
-
* @param {String} opts.cacheuser
|
|
1262
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1263
1263
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1264
1264
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1265
1265
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1274,10 +1274,10 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1274
1274
|
* @param {Object} opts Optional parameters
|
|
1275
1275
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1276
1276
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1277
|
-
* @param {String} [cachegroup]
|
|
1277
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1278
1278
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1279
1279
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1280
|
-
* @param {String} [cacheuser]
|
|
1280
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1281
1281
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1282
1282
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1283
1283
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1286,17 +1286,17 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1286
1286
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1287
1287
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
1288
1288
|
*/},{key:"getSiteStripePaymentAccountWithHttpInfo",value:function getSiteStripePaymentAccountWithHttpInfo(siteid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'siteid' is set
|
|
1289
|
-
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1289
|
+
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1290
1290
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1291
1291
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1292
1292
|
* @param {Number} siteid
|
|
1293
1293
|
* @param {Object} opts Optional parameters
|
|
1294
1294
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1295
1295
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1296
|
-
* @param {String} opts.cachegroup
|
|
1296
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1297
1297
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1298
1298
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1299
|
-
* @param {String} opts.cacheuser
|
|
1299
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1300
1300
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1301
1301
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1302
1302
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1310,10 +1310,10 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1310
1310
|
* @param {Object} opts Optional parameters
|
|
1311
1311
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1312
1312
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1313
|
-
* @param {String} [cachegroup]
|
|
1313
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1314
1314
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1315
1315
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1316
|
-
* @param {String} [cacheuser]
|
|
1316
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1317
1317
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1318
1318
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1319
1319
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1321,16 +1321,16 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1321
1321
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1322
1322
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1323
1323
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
1324
|
-
*/},{key:"getStripeAccountWithHttpInfo",value:function getStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1324
|
+
*/},{key:"getStripeAccountWithHttpInfo",value:function getStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1325
1325
|
* Retrieves the Stripe Account For the Logged In User
|
|
1326
1326
|
* Retrieves the Stripe Customer Account
|
|
1327
1327
|
* @param {Object} opts Optional parameters
|
|
1328
1328
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1329
1329
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1330
|
-
* @param {String} opts.cachegroup
|
|
1330
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1331
1331
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1332
1332
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1333
|
-
* @param {String} opts.cacheuser
|
|
1333
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1334
1334
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1335
1335
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1336
1336
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1345,10 +1345,10 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1345
1345
|
* @param {Object} opts Optional parameters
|
|
1346
1346
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1347
1347
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1348
|
-
* @param {String} [cachegroup]
|
|
1348
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1349
1349
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1350
1350
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1351
|
-
* @param {String} [cacheuser]
|
|
1351
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1352
1352
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1353
1353
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1354
1354
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1357,17 +1357,17 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1357
1357
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1358
1358
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
|
|
1359
1359
|
*/},{key:"getStripeAccountBalanceWithHttpInfo",value:function getStripeAccountBalanceWithHttpInfo(accountID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'accountID' is set
|
|
1360
|
-
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1360
|
+
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1361
1361
|
* Gets the balance of the logged in user
|
|
1362
1362
|
* Gets the balance of the logged in user
|
|
1363
1363
|
* @param {Number} accountID The id of the account we are getting the balance for
|
|
1364
1364
|
* @param {Object} opts Optional parameters
|
|
1365
1365
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1366
1366
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1367
|
-
* @param {String} opts.cachegroup
|
|
1367
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1368
1368
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1369
1369
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1370
|
-
* @param {String} opts.cacheuser
|
|
1370
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1371
1371
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1372
1372
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1373
1373
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1381,10 +1381,10 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1381
1381
|
* @param {Object} opts Optional parameters
|
|
1382
1382
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1383
1383
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1384
|
-
* @param {String} [cachegroup]
|
|
1384
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1385
1385
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1386
1386
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1387
|
-
* @param {String} [cacheuser]
|
|
1387
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1388
1388
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1389
1389
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1390
1390
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1392,16 +1392,16 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1392
1392
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1393
1393
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1394
1394
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
|
|
1395
|
-
*/},{key:"getStripeApiKeyWithHttpInfo",value:function getStripeApiKeyWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['text/plain'];var returnType='String';return this.apiClient.callApi('/payments/stripe/apikey','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1395
|
+
*/},{key:"getStripeApiKeyWithHttpInfo",value:function getStripeApiKeyWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['text/plain'];var returnType='String';return this.apiClient.callApi('/payments/stripe/apikey','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1396
1396
|
* Returns the publishable API key for Stripe
|
|
1397
1397
|
* Returns the publishable API key for Stripe
|
|
1398
1398
|
* @param {Object} opts Optional parameters
|
|
1399
1399
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1400
1400
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1401
|
-
* @param {String} opts.cachegroup
|
|
1401
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1402
1402
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1403
1403
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1404
|
-
* @param {String} opts.cacheuser
|
|
1404
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1405
1405
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1406
1406
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1407
1407
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1415,10 +1415,10 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1415
1415
|
* @param {Object} opts Optional parameters
|
|
1416
1416
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1417
1417
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1418
|
-
* @param {String} [cachegroup]
|
|
1418
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1419
1419
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1420
1420
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1421
|
-
* @param {String} [cacheuser]
|
|
1421
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1422
1422
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1423
1423
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1424
1424
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1426,16 +1426,16 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1426
1426
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1427
1427
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1428
1428
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
|
|
1429
|
-
*/},{key:"getStripeBalanceWithHttpInfo",value:function getStripeBalanceWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1429
|
+
*/},{key:"getStripeBalanceWithHttpInfo",value:function getStripeBalanceWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1430
1430
|
* Gets the balance of the logged in user
|
|
1431
1431
|
* Gets the balance of the logged in user
|
|
1432
1432
|
* @param {Object} opts Optional parameters
|
|
1433
1433
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1434
1434
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1435
|
-
* @param {String} opts.cachegroup
|
|
1435
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1436
1436
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1437
1437
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1438
|
-
* @param {String} opts.cacheuser
|
|
1438
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1439
1439
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1440
1440
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1441
1441
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1450,10 +1450,10 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1450
1450
|
* @param {Object} opts Optional parameters
|
|
1451
1451
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1452
1452
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1453
|
-
* @param {String} [cachegroup]
|
|
1453
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1454
1454
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1455
1455
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1456
|
-
* @param {String} [cacheuser]
|
|
1456
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1457
1457
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1458
1458
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1459
1459
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1462,17 +1462,17 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1462
1462
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1463
1463
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeCheckoutSession} and HTTP response
|
|
1464
1464
|
*/},{key:"getStripeCheckoutSessionWithHttpInfo",value:function getStripeCheckoutSessionWithHttpInfo(sessionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'sessionId' is set
|
|
1465
|
-
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeCheckoutSession["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1465
|
+
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeCheckoutSession["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1466
1466
|
* Retrieves a Stripe Checkout Session
|
|
1467
1467
|
* Retrieves the details of a checkout session by ID
|
|
1468
1468
|
* @param {String} sessionId The checkout session ID
|
|
1469
1469
|
* @param {Object} opts Optional parameters
|
|
1470
1470
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1471
1471
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1472
|
-
* @param {String} opts.cachegroup
|
|
1472
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1473
1473
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1474
1474
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1475
|
-
* @param {String} opts.cacheuser
|
|
1475
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1476
1476
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1477
1477
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1478
1478
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1487,10 +1487,10 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1487
1487
|
* @param {Object} opts Optional parameters
|
|
1488
1488
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1489
1489
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1490
|
-
* @param {String} [cachegroup]
|
|
1490
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1491
1491
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1492
1492
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1493
|
-
* @param {String} [cacheuser]
|
|
1493
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1494
1494
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1495
1495
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1496
1496
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1499,17 +1499,17 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1499
1499
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1500
1500
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePaymentIntent} and HTTP response
|
|
1501
1501
|
*/},{key:"getStripeCheckoutSessionPaymentWithHttpInfo",value:function getStripeCheckoutSessionPaymentWithHttpInfo(sessionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'sessionId' is set
|
|
1502
|
-
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePaymentIntent["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1502
|
+
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePaymentIntent["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1503
1503
|
* Retrieves the payment intent for a checkout session
|
|
1504
1504
|
* Retrieves the payment intent associated with a checkout session to verify payment status
|
|
1505
1505
|
* @param {String} sessionId The checkout session ID
|
|
1506
1506
|
* @param {Object} opts Optional parameters
|
|
1507
1507
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1508
1508
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1509
|
-
* @param {String} opts.cachegroup
|
|
1509
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1510
1510
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1511
1511
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1512
|
-
* @param {String} opts.cacheuser
|
|
1512
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1513
1513
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1514
1514
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1515
1515
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1523,10 +1523,10 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1523
1523
|
* @param {Object} opts Optional parameters
|
|
1524
1524
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1525
1525
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1526
|
-
* @param {String} [cachegroup]
|
|
1526
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1527
1527
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1528
1528
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1529
|
-
* @param {String} [cacheuser]
|
|
1529
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1530
1530
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1531
1531
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1532
1532
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1534,16 +1534,16 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1534
1534
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1535
1535
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1536
1536
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
1537
|
-
*/},{key:"getStripeCustomerAccountWithHttpInfo",value:function getStripeCustomerAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1537
|
+
*/},{key:"getStripeCustomerAccountWithHttpInfo",value:function getStripeCustomerAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1538
1538
|
* Retrieves the Stripe Customer Account For the Logged In User
|
|
1539
1539
|
* Retrieves the Stripe Customer Account
|
|
1540
1540
|
* @param {Object} opts Optional parameters
|
|
1541
1541
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1542
1542
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1543
|
-
* @param {String} opts.cachegroup
|
|
1543
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1544
1544
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1545
1545
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1546
|
-
* @param {String} opts.cacheuser
|
|
1546
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1547
1547
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1548
1548
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1549
1549
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1558,10 +1558,10 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1558
1558
|
* @param {Object} opts Optional parameters
|
|
1559
1559
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1560
1560
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1561
|
-
* @param {String} [cachegroup]
|
|
1561
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1562
1562
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1563
1563
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1564
|
-
* @param {String} [cacheuser]
|
|
1564
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1565
1565
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1566
1566
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1567
1567
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1570,17 +1570,17 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1570
1570
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1571
1571
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
|
|
1572
1572
|
*/},{key:"getStripeCustomerPaymentMethodsWithHttpInfo",value:function getStripeCustomerPaymentMethodsWithHttpInfo(customerID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'customerID' is set
|
|
1573
|
-
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1573
|
+
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1574
1574
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1575
1575
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1576
1576
|
* @param {Number} customerID The customerid to update
|
|
1577
1577
|
* @param {Object} opts Optional parameters
|
|
1578
1578
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1579
1579
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1580
|
-
* @param {String} opts.cachegroup
|
|
1580
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1581
1581
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1582
1582
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1583
|
-
* @param {String} opts.cacheuser
|
|
1583
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1584
1584
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1585
1585
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1586
1586
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1595,10 +1595,10 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1595
1595
|
* @param {Object} opts Optional parameters
|
|
1596
1596
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1597
1597
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1598
|
-
* @param {String} [cachegroup]
|
|
1598
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1599
1599
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1600
1600
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1601
|
-
* @param {String} [cacheuser]
|
|
1601
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1602
1602
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1603
1603
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1604
1604
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1607,17 +1607,17 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1607
1607
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1608
1608
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
1609
1609
|
*/},{key:"getStripeInvoiceWithHttpInfo",value:function getStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
1610
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling getStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1610
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling getStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1611
1611
|
* Retrieves an invoice by Stripe ID
|
|
1612
1612
|
* Gets a single invoice by its Stripe invoice ID (e.g. in_xxx)
|
|
1613
1613
|
* @param {String} invoiceId Stripe invoice ID (e.g. in_xxx)
|
|
1614
1614
|
* @param {Object} opts Optional parameters
|
|
1615
1615
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1616
1616
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1617
|
-
* @param {String} opts.cachegroup
|
|
1617
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1618
1618
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1619
1619
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1620
|
-
* @param {String} opts.cacheuser
|
|
1620
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1621
1621
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1622
1622
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1623
1623
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1631,10 +1631,10 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1631
1631
|
* @param {Object} opts Optional parameters
|
|
1632
1632
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1633
1633
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1634
|
-
* @param {String} [cachegroup]
|
|
1634
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1635
1635
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1636
1636
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1637
|
-
* @param {String} [cacheuser]
|
|
1637
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1638
1638
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1639
1639
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1640
1640
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1642,16 +1642,16 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1642
1642
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1643
1643
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1644
1644
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
|
|
1645
|
-
*/},{key:"getStripePaymentMethodsWithHttpInfo",value:function getStripePaymentMethodsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1645
|
+
*/},{key:"getStripePaymentMethodsWithHttpInfo",value:function getStripePaymentMethodsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1646
1646
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1647
1647
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1648
1648
|
* @param {Object} opts Optional parameters
|
|
1649
1649
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1650
1650
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1651
|
-
* @param {String} opts.cachegroup
|
|
1651
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1652
1652
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1653
1653
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1654
|
-
* @param {String} opts.cacheuser
|
|
1654
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1655
1655
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1656
1656
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1657
1657
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1666,10 +1666,10 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1666
1666
|
* @param {Object} opts Optional parameters
|
|
1667
1667
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1668
1668
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1669
|
-
* @param {String} [cachegroup]
|
|
1669
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1670
1670
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1671
1671
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1672
|
-
* @param {String} [cacheuser]
|
|
1672
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1673
1673
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1674
1674
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1675
1675
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1678,17 +1678,17 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1678
1678
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1679
1679
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
|
|
1680
1680
|
*/},{key:"getStripePriceWithHttpInfo",value:function getStripePriceWithHttpInfo(priceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'priceId' is set
|
|
1681
|
-
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1681
|
+
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1682
1682
|
* Retrieves a price by ID
|
|
1683
1683
|
* Gets the details of a specific price
|
|
1684
1684
|
* @param {String} priceId The price ID
|
|
1685
1685
|
* @param {Object} opts Optional parameters
|
|
1686
1686
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1687
1687
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1688
|
-
* @param {String} opts.cachegroup
|
|
1688
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1689
1689
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1690
1690
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1691
|
-
* @param {String} opts.cacheuser
|
|
1691
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1692
1692
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1693
1693
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1694
1694
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1703,10 +1703,10 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
1703
1703
|
* @param {Object} opts Optional parameters
|
|
1704
1704
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1705
1705
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1706
|
-
* @param {String} [cachegroup]
|
|
1706
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1707
1707
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1708
1708
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1709
|
-
* @param {String} [cacheuser]
|
|
1709
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1710
1710
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1711
1711
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1712
1712
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1715,17 +1715,17 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
1715
1715
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1716
1716
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Pricebook} and HTTP response
|
|
1717
1717
|
*/},{key:"getStripePricebookWithHttpInfo",value:function getStripePricebookWithHttpInfo(idOrKey,opts){opts=opts||{};var postBody=null;// verify the required parameter 'idOrKey' is set
|
|
1718
|
-
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripePricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_Pricebook["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1718
|
+
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripePricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_Pricebook["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1719
1719
|
* Retrieves a pricebook by ID or key
|
|
1720
1720
|
* Gets the details of a specific pricebook by its graph ID or unique key
|
|
1721
1721
|
* @param {String} idOrKey The pricebook ID (numeric) or unique key
|
|
1722
1722
|
* @param {Object} opts Optional parameters
|
|
1723
1723
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1724
1724
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1725
|
-
* @param {String} opts.cachegroup
|
|
1725
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1726
1726
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1727
1727
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1728
|
-
* @param {String} opts.cacheuser
|
|
1728
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1729
1729
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1730
1730
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1731
1731
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1740,10 +1740,10 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1740
1740
|
* @param {Object} opts Optional parameters
|
|
1741
1741
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1742
1742
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1743
|
-
* @param {String} [cachegroup]
|
|
1743
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1744
1744
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1745
1745
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1746
|
-
* @param {String} [cacheuser]
|
|
1746
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1747
1747
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1748
1748
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1749
1749
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1752,17 +1752,17 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1752
1752
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1753
1753
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductOutput} and HTTP response
|
|
1754
1754
|
*/},{key:"getStripeProductWithHttpInfo",value:function getStripeProductWithHttpInfo(productId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'productId' is set
|
|
1755
|
-
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1755
|
+
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1756
1756
|
* Retrieves a product by ID
|
|
1757
1757
|
* Gets the details of a specific product
|
|
1758
1758
|
* @param {String} productId The product ID
|
|
1759
1759
|
* @param {Object} opts Optional parameters
|
|
1760
1760
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1761
1761
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1762
|
-
* @param {String} opts.cachegroup
|
|
1762
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1763
1763
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1764
1764
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1765
|
-
* @param {String} opts.cacheuser
|
|
1765
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1766
1766
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1767
1767
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1768
1768
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1777,10 +1777,10 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1777
1777
|
* @param {Object} opts Optional parameters
|
|
1778
1778
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1779
1779
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1780
|
-
* @param {String} [cachegroup]
|
|
1780
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1781
1781
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1782
1782
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1783
|
-
* @param {String} [cacheuser]
|
|
1783
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1784
1784
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1785
1785
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1786
1786
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1789,17 +1789,17 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1789
1789
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1790
1790
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryOutput} and HTTP response
|
|
1791
1791
|
*/},{key:"getStripeProductCategoryWithHttpInfo",value:function getStripeProductCategoryWithHttpInfo(categoryId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'categoryId' is set
|
|
1792
|
-
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1792
|
+
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1793
1793
|
* Retrieves a category by ID
|
|
1794
1794
|
* Gets the details of a specific category
|
|
1795
1795
|
* @param {Number} categoryId The category ID
|
|
1796
1796
|
* @param {Object} opts Optional parameters
|
|
1797
1797
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1798
1798
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1799
|
-
* @param {String} opts.cachegroup
|
|
1799
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1800
1800
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1801
1801
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1802
|
-
* @param {String} opts.cacheuser
|
|
1802
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1803
1803
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1804
1804
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1805
1805
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1814,10 +1814,10 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1814
1814
|
* @param {Object} opts Optional parameters
|
|
1815
1815
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1816
1816
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1817
|
-
* @param {String} [cachegroup]
|
|
1817
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1818
1818
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1819
1819
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1820
|
-
* @param {String} [cacheuser]
|
|
1820
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1821
1821
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1822
1822
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1823
1823
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1826,17 +1826,17 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1826
1826
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1827
1827
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryOutput} and HTTP response
|
|
1828
1828
|
*/},{key:"getStripeProductCategoryByKeyWithHttpInfo",value:function getStripeProductCategoryByKeyWithHttpInfo(key,opts){opts=opts||{};var postBody=null;// verify the required parameter 'key' is set
|
|
1829
|
-
if(key===undefined||key===null){throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");}var pathParams={'key':key};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/key/{key}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1829
|
+
if(key===undefined||key===null){throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");}var pathParams={'key':key};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/key/{key}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1830
1830
|
* Retrieves a category by unique key
|
|
1831
1831
|
* Gets the details of a specific category by its unique key
|
|
1832
1832
|
* @param {String} key The category key
|
|
1833
1833
|
* @param {Object} opts Optional parameters
|
|
1834
1834
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1835
1835
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1836
|
-
* @param {String} opts.cachegroup
|
|
1836
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1837
1837
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1838
1838
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1839
|
-
* @param {String} opts.cacheuser
|
|
1839
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1840
1840
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1841
1841
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1842
1842
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1850,10 +1850,10 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1850
1850
|
* @param {Object} opts Optional parameters
|
|
1851
1851
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1852
1852
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1853
|
-
* @param {String} [cachegroup]
|
|
1853
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1854
1854
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1855
1855
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1856
|
-
* @param {String} [cacheuser]
|
|
1856
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1857
1857
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1858
1858
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1859
1859
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1861,16 +1861,16 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1861
1861
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1862
1862
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1863
1863
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeSubscription>} and HTTP response
|
|
1864
|
-
*/},{key:"getStripeSubscriptionsWithHttpInfo",value:function getStripeSubscriptionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripeSubscription["default"]];return this.apiClient.callApi('/payments/stripe/subscription','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1864
|
+
*/},{key:"getStripeSubscriptionsWithHttpInfo",value:function getStripeSubscriptionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripeSubscription["default"]];return this.apiClient.callApi('/payments/stripe/subscription','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1865
1865
|
* Lists all subscriptions for the logged-in user
|
|
1866
1866
|
* Retrieves all subscriptions for the current user
|
|
1867
1867
|
* @param {Object} opts Optional parameters
|
|
1868
1868
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1869
1869
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1870
|
-
* @param {String} opts.cachegroup
|
|
1870
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1871
1871
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1872
1872
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1873
|
-
* @param {String} opts.cacheuser
|
|
1873
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1874
1874
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1875
1875
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1876
1876
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1885,10 +1885,10 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1885
1885
|
* @param {Object} opts Optional parameters
|
|
1886
1886
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1887
1887
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1888
|
-
* @param {String} [cachegroup]
|
|
1888
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1889
1889
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1890
1890
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1891
|
-
* @param {String} [cacheuser]
|
|
1891
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1892
1892
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1893
1893
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1894
1894
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1897,17 +1897,17 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1897
1897
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1898
1898
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransactionOutput} and HTTP response
|
|
1899
1899
|
*/},{key:"getStripeTransactionWithHttpInfo",value:function getStripeTransactionWithHttpInfo(idOrKey,opts){opts=opts||{};var postBody=null;// verify the required parameter 'idOrKey' is set
|
|
1900
|
-
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripeTransaction");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransactionOutput["default"];return this.apiClient.callApi('/payments/stripe/transactions/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1900
|
+
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripeTransaction");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransactionOutput["default"];return this.apiClient.callApi('/payments/stripe/transactions/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1901
1901
|
* Get a payment transaction
|
|
1902
1902
|
* Get a single transaction by graph relationship id or key or external id (e.g. pi_xxx, in_xxx)
|
|
1903
1903
|
* @param {String} idOrKey Graph relationship id, key, or external id (e.g. pi_xxx, in_xxx)
|
|
1904
1904
|
* @param {Object} opts Optional parameters
|
|
1905
1905
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1906
1906
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1907
|
-
* @param {String} opts.cachegroup
|
|
1907
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1908
1908
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1909
1909
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1910
|
-
* @param {String} opts.cacheuser
|
|
1910
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1911
1911
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1912
1912
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1913
1913
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1922,10 +1922,10 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1922
1922
|
* @param {Object} opts Optional parameters
|
|
1923
1923
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1924
1924
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1925
|
-
* @param {String} [cachegroup]
|
|
1925
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1926
1926
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1927
1927
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1928
|
-
* @param {String} [cacheuser]
|
|
1928
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1929
1929
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1930
1930
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1931
1931
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1934,17 +1934,17 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1934
1934
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1935
1935
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
1936
1936
|
*/},{key:"getStripeTransferWithHttpInfo",value:function getStripeTransferWithHttpInfo(transferID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'transferID' is set
|
|
1937
|
-
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1937
|
+
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1938
1938
|
* Retrieves the transfer payment with the given transferId
|
|
1939
1939
|
* Retrieves the transfer payment with the given transferId
|
|
1940
1940
|
* @param {String} transferID The id of the transfer
|
|
1941
1941
|
* @param {Object} opts Optional parameters
|
|
1942
1942
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1943
1943
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1944
|
-
* @param {String} opts.cachegroup
|
|
1944
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1945
1945
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1946
1946
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1947
|
-
* @param {String} opts.cacheuser
|
|
1947
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1948
1948
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1949
1949
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1950
1950
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1959,10 +1959,10 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1959
1959
|
* @param {Object} opts Optional parameters
|
|
1960
1960
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1961
1961
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1962
|
-
* @param {String} [cachegroup]
|
|
1962
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1963
1963
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1964
1964
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1965
|
-
* @param {String} [cacheuser]
|
|
1965
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1966
1966
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1967
1967
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1968
1968
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1971,17 +1971,17 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1971
1971
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1972
1972
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
1973
1973
|
*/},{key:"getStripeTransferPaymentMethodDetailsWithHttpInfo",value:function getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'transferID' is set
|
|
1974
|
-
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1974
|
+
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1975
1975
|
* Retrieves the transfer payment details with the given transferId
|
|
1976
1976
|
* Retrieves the transfer payment with the given transferId
|
|
1977
1977
|
* @param {String} transferID The id of the transfer
|
|
1978
1978
|
* @param {Object} opts Optional parameters
|
|
1979
1979
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1980
1980
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1981
|
-
* @param {String} opts.cachegroup
|
|
1981
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
1982
1982
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1983
1983
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1984
|
-
* @param {String} opts.cacheuser
|
|
1984
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1985
1985
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
1986
1986
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1987
1987
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -1996,10 +1996,10 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1996
1996
|
* @param {Object} opts Optional parameters
|
|
1997
1997
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1998
1998
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
1999
|
-
* @param {String} [cachegroup]
|
|
1999
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2000
2000
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2001
2001
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2002
|
-
* @param {String} [cacheuser]
|
|
2002
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2003
2003
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2004
2004
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2005
2005
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2008,17 +2008,17 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
2008
2008
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2009
2009
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
2010
2010
|
*/},{key:"getSubscriptionWithHttpInfo",value:function getSubscriptionWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
2011
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2011
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2012
2012
|
* Retrieves a subscription by ID
|
|
2013
2013
|
* Gets the details of a specific subscription
|
|
2014
2014
|
* @param {String} subscriptionId The subscription ID
|
|
2015
2015
|
* @param {Object} opts Optional parameters
|
|
2016
2016
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2017
2017
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2018
|
-
* @param {String} opts.cachegroup
|
|
2018
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2019
2019
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2020
2020
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2021
|
-
* @param {String} opts.cacheuser
|
|
2021
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2022
2022
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2023
2023
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2024
2024
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2032,10 +2032,10 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2032
2032
|
* @param {Object} opts Optional parameters
|
|
2033
2033
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2034
2034
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2035
|
-
* @param {String} [cachegroup]
|
|
2035
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2036
2036
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2037
2037
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2038
|
-
* @param {String} [cacheuser]
|
|
2038
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2039
2039
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2040
2040
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2041
2041
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2045,16 +2045,16 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2045
2045
|
* @param {Number} [siteId] Optional site id (graph id). When provided, config is for this site and CATEGORY_ADMIN is required on the site. At most one of siteId or appId may be provided.
|
|
2046
2046
|
* @param {Number} [appId] Optional application id (graph id). When provided, config is for this RestApplication and CATEGORY_ADMIN is required on the app. At most one of siteId or appId may be provided.
|
|
2047
2047
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeTenantConfigResponse} and HTTP response
|
|
2048
|
-
*/},{key:"getTenantStripeConfigWithHttpInfo",value:function getTenantStripeConfigWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2048
|
+
*/},{key:"getTenantStripeConfigWithHttpInfo",value:function getTenantStripeConfigWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2049
2049
|
* Get Stripe config for tenant
|
|
2050
2050
|
* Returns the Stripe configuration for a tenant (Site or RestApplication) with masked credentials. Requires CATEGORY_ADMIN on the target tenant. Optional siteId or appId (at most one) identify the tenant; if omitted, the request root category is used.
|
|
2051
2051
|
* @param {Object} opts Optional parameters
|
|
2052
2052
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2053
2053
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2054
|
-
* @param {String} opts.cachegroup
|
|
2054
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2055
2055
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2056
2056
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2057
|
-
* @param {String} opts.cacheuser
|
|
2057
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2058
2058
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2059
2059
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2060
2060
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2071,10 +2071,10 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2071
2071
|
* @param {Object} opts Optional parameters
|
|
2072
2072
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2073
2073
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2074
|
-
* @param {String} [cachegroup]
|
|
2074
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2075
2075
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2076
2076
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2077
|
-
* @param {String} [cacheuser]
|
|
2077
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2078
2078
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2079
2079
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2080
2080
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2083,17 +2083,17 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2083
2083
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2084
2084
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
2085
2085
|
*/},{key:"getUserStripeAccountWithHttpInfo",value:function getUserStripeAccountWithHttpInfo(userID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'userID' is set
|
|
2086
|
-
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2086
|
+
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2087
2087
|
* Retrieves the Stripe Account For the Specified User
|
|
2088
2088
|
* Retrieves the Stripe Account
|
|
2089
2089
|
* @param {Number} userID The id of the user to retrieve the account for
|
|
2090
2090
|
* @param {Object} opts Optional parameters
|
|
2091
2091
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2092
2092
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2093
|
-
* @param {String} opts.cachegroup
|
|
2093
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2094
2094
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2095
2095
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2096
|
-
* @param {String} opts.cacheuser
|
|
2096
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2097
2097
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2098
2098
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2099
2099
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2108,10 +2108,10 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2108
2108
|
* @param {Object} opts Optional parameters
|
|
2109
2109
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2110
2110
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2111
|
-
* @param {String} [cachegroup]
|
|
2111
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2112
2112
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2113
2113
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2114
|
-
* @param {String} [cacheuser]
|
|
2114
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2115
2115
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2116
2116
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2117
2117
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2120,17 +2120,17 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2120
2120
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2121
2121
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
2122
2122
|
*/},{key:"getUserStripeCustomerAccountWithHttpInfo",value:function getUserStripeCustomerAccountWithHttpInfo(userID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'userID' is set
|
|
2123
|
-
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2123
|
+
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2124
2124
|
* Retrieves the Stripe Customer Account For the Logged In User
|
|
2125
2125
|
* Retrieves the Stripe Customer Account
|
|
2126
2126
|
* @param {Number} userID The id of the user to retrieve the account for
|
|
2127
2127
|
* @param {Object} opts Optional parameters
|
|
2128
2128
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2129
2129
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2130
|
-
* @param {String} opts.cachegroup
|
|
2130
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2131
2131
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2132
2132
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2133
|
-
* @param {String} opts.cacheuser
|
|
2133
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2134
2134
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2135
2135
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2136
2136
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2144,10 +2144,10 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2144
2144
|
* @param {Object} opts Optional parameters
|
|
2145
2145
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2146
2146
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2147
|
-
* @param {String} [cachegroup]
|
|
2147
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2148
2148
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2149
2149
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2150
|
-
* @param {String} [cacheuser]
|
|
2150
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2151
2151
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2152
2152
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2153
2153
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2156,16 +2156,16 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2156
2156
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2157
2157
|
* @param {String} [body]
|
|
2158
2158
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2159
|
-
*/},{key:"handleStripeWebhookWithHttpInfo",value:function handleStripeWebhookWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2159
|
+
*/},{key:"handleStripeWebhookWithHttpInfo",value:function handleStripeWebhookWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2160
2160
|
* Handles Stripe webhook events
|
|
2161
2161
|
* Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers. Use for tenant Stripe webhooks or as the forward target from the global webhook.
|
|
2162
2162
|
* @param {Object} opts Optional parameters
|
|
2163
2163
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2164
2164
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2165
|
-
* @param {String} opts.cachegroup
|
|
2165
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2166
2166
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2167
2167
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2168
|
-
* @param {String} opts.cacheuser
|
|
2168
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2169
2169
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2170
2170
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2171
2171
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2180,10 +2180,10 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2180
2180
|
* @param {Object} opts Optional parameters
|
|
2181
2181
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2182
2182
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2183
|
-
* @param {String} [cachegroup]
|
|
2183
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2184
2184
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2185
2185
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2186
|
-
* @param {String} [cacheuser]
|
|
2186
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2187
2187
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2188
2188
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2189
2189
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2192,16 +2192,16 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2192
2192
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2193
2193
|
* @param {String} [body]
|
|
2194
2194
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2195
|
-
*/},{key:"handleStripeWebhookGlobalWithHttpInfo",value:function handleStripeWebhookGlobalWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook/global','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2195
|
+
*/},{key:"handleStripeWebhookGlobalWithHttpInfo",value:function handleStripeWebhookGlobalWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook/global','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2196
2196
|
* Global Stripe webhook (routing only)
|
|
2197
2197
|
* Global Stripe webhook: verifies signature with the system-wide webhook secret and forwards the event to the tenant webhook URL. Register this URL in the system-wide Stripe account. Does not process events locally.
|
|
2198
2198
|
* @param {Object} opts Optional parameters
|
|
2199
2199
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2200
2200
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2201
|
-
* @param {String} opts.cachegroup
|
|
2201
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2202
2202
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2203
2203
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2204
|
-
* @param {String} opts.cacheuser
|
|
2204
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2205
2205
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2206
2206
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2207
2207
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2216,10 +2216,10 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2216
2216
|
* @param {Object} opts Optional parameters
|
|
2217
2217
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2218
2218
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2219
|
-
* @param {String} [cachegroup]
|
|
2219
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2220
2220
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2221
2221
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2222
|
-
* @param {String} [cacheuser]
|
|
2222
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2223
2223
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2224
2224
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2225
2225
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2229,16 +2229,16 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2229
2229
|
* @param {Number} [limit] Max items per page (1-100, default 100)
|
|
2230
2230
|
* @param {String} [startingAfter] Stripe invoice ID for cursor-based pagination
|
|
2231
2231
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Invoice>} and HTTP response
|
|
2232
|
-
*/},{key:"listAllStripeInvoicesWithHttpInfo",value:function listAllStripeInvoicesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys'],'limit':opts['limit'],'startingAfter':opts['startingAfter']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices/all','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2232
|
+
*/},{key:"listAllStripeInvoicesWithHttpInfo",value:function listAllStripeInvoicesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'limit':opts['limit'],'startingAfter':opts['startingAfter']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices/all','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2233
2233
|
* Lists all invoices
|
|
2234
2234
|
* Lists all invoices (root categories graph). Requires MANAGE_SALES_OR_CUSTOMERS on root category or graph.
|
|
2235
2235
|
* @param {Object} opts Optional parameters
|
|
2236
2236
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2237
2237
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2238
|
-
* @param {String} opts.cachegroup
|
|
2238
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2239
2239
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2240
2240
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2241
|
-
* @param {String} opts.cacheuser
|
|
2241
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2242
2242
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2243
2243
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2244
2244
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2254,10 +2254,10 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2254
2254
|
* @param {Object} opts Optional parameters
|
|
2255
2255
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2256
2256
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2257
|
-
* @param {String} [cachegroup]
|
|
2257
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2258
2258
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2259
2259
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2260
|
-
* @param {String} [cacheuser]
|
|
2260
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2261
2261
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2262
2262
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2263
2263
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2265,16 +2265,16 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2265
2265
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2266
2266
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2267
2267
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
|
|
2268
|
-
*/},{key:"listPricesWithHttpInfo",value:function listPricesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2268
|
+
*/},{key:"listPricesWithHttpInfo",value:function listPricesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2269
2269
|
* Lists all prices
|
|
2270
2270
|
* Retrieves all prices
|
|
2271
2271
|
* @param {Object} opts Optional parameters
|
|
2272
2272
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2273
2273
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2274
|
-
* @param {String} opts.cachegroup
|
|
2274
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2275
2275
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2276
2276
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2277
|
-
* @param {String} opts.cacheuser
|
|
2277
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2278
2278
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2279
2279
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2280
2280
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2289,10 +2289,10 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2289
2289
|
* @param {Object} opts Optional parameters
|
|
2290
2290
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2291
2291
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2292
|
-
* @param {String} [cachegroup]
|
|
2292
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2293
2293
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2294
2294
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2295
|
-
* @param {String} [cacheuser]
|
|
2295
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2296
2296
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2297
2297
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2298
2298
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2301,17 +2301,17 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2301
2301
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2302
2302
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Invoice>} and HTTP response
|
|
2303
2303
|
*/},{key:"listStripeInvoicesWithHttpInfo",value:function listStripeInvoicesWithHttpInfo(customerId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'customerId' is set
|
|
2304
|
-
if(customerId===undefined||customerId===null){throw new Error("Missing the required parameter 'customerId' when calling listStripeInvoices");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys'],'customerId':customerId};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2304
|
+
if(customerId===undefined||customerId===null){throw new Error("Missing the required parameter 'customerId' when calling listStripeInvoices");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'customerId':customerId};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2305
2305
|
* Lists invoices for a customer
|
|
2306
2306
|
* Returns invoices for the given graph customer ID
|
|
2307
2307
|
* @param {Number} customerId Graph customer ID
|
|
2308
2308
|
* @param {Object} opts Optional parameters
|
|
2309
2309
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2310
2310
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2311
|
-
* @param {String} opts.cachegroup
|
|
2311
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2312
2312
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2313
2313
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2314
|
-
* @param {String} opts.cacheuser
|
|
2314
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2315
2315
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2316
2316
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2317
2317
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2325,10 +2325,10 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2325
2325
|
* @param {Object} opts Optional parameters
|
|
2326
2326
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2327
2327
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2328
|
-
* @param {String} [cachegroup]
|
|
2328
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2329
2329
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2330
2330
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2331
|
-
* @param {String} [cacheuser]
|
|
2331
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2332
2332
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2333
2333
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2334
2334
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2336,16 +2336,16 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2336
2336
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2337
2337
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2338
2338
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Pricebook>} and HTTP response
|
|
2339
|
-
*/},{key:"listStripePricebooksWithHttpInfo",value:function listStripePricebooksWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Pricebook["default"]];return this.apiClient.callApi('/payments/stripe/pricebook','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2339
|
+
*/},{key:"listStripePricebooksWithHttpInfo",value:function listStripePricebooksWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Pricebook["default"]];return this.apiClient.callApi('/payments/stripe/pricebook','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2340
2340
|
* Lists all pricebooks
|
|
2341
2341
|
* Retrieves all pricebooks
|
|
2342
2342
|
* @param {Object} opts Optional parameters
|
|
2343
2343
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2344
2344
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2345
|
-
* @param {String} opts.cachegroup
|
|
2345
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2346
2346
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2347
2347
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2348
|
-
* @param {String} opts.cacheuser
|
|
2348
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2349
2349
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2350
2350
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2351
2351
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2360,10 +2360,10 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2360
2360
|
* @param {Object} opts Optional parameters
|
|
2361
2361
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2362
2362
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2363
|
-
* @param {String} [cachegroup]
|
|
2363
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2364
2364
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2365
2365
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2366
|
-
* @param {String} [cacheuser]
|
|
2366
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2367
2367
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2368
2368
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2369
2369
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2372,17 +2372,17 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2372
2372
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2373
2373
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/PriceOutput>} and HTTP response
|
|
2374
2374
|
*/},{key:"listStripePricesByPricebookWithHttpInfo",value:function listStripePricesByPricebookWithHttpInfo(idOrKey,opts){opts=opts||{};var postBody=null;// verify the required parameter 'idOrKey' is set
|
|
2375
|
-
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling listStripePricesByPricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_PriceOutput["default"]];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2375
|
+
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling listStripePricesByPricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_PriceOutput["default"]];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2376
2376
|
* Lists all prices for a pricebook
|
|
2377
2377
|
* Retrieves all prices associated with a specific pricebook
|
|
2378
2378
|
* @param {String} idOrKey The pricebook ID (numeric) or unique key
|
|
2379
2379
|
* @param {Object} opts Optional parameters
|
|
2380
2380
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2381
2381
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2382
|
-
* @param {String} opts.cachegroup
|
|
2382
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2383
2383
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2384
2384
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2385
|
-
* @param {String} opts.cacheuser
|
|
2385
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2386
2386
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2387
2387
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2388
2388
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2397,10 +2397,10 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
2397
2397
|
* @param {Object} opts Optional parameters
|
|
2398
2398
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2399
2399
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2400
|
-
* @param {String} [cachegroup]
|
|
2400
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2401
2401
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2402
2402
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2403
|
-
* @param {String} [cacheuser]
|
|
2403
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2404
2404
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2405
2405
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2406
2406
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2409,17 +2409,17 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
2409
2409
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2410
2410
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
|
|
2411
2411
|
*/},{key:"listStripePricesByProductWithHttpInfo",value:function listStripePricesByProductWithHttpInfo(productId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'productId' is set
|
|
2412
|
-
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/product/{productId}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2412
|
+
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/product/{productId}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2413
2413
|
* Lists all prices for a product
|
|
2414
2414
|
* Retrieves all prices associated with a specific product
|
|
2415
2415
|
* @param {String} productId The product ID
|
|
2416
2416
|
* @param {Object} opts Optional parameters
|
|
2417
2417
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2418
2418
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2419
|
-
* @param {String} opts.cachegroup
|
|
2419
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2420
2420
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2421
2421
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2422
|
-
* @param {String} opts.cacheuser
|
|
2422
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2423
2423
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2424
2424
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2425
2425
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2433,10 +2433,10 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2433
2433
|
* @param {Object} opts Optional parameters
|
|
2434
2434
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2435
2435
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2436
|
-
* @param {String} [cachegroup]
|
|
2436
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2437
2437
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2438
2438
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2439
|
-
* @param {String} [cacheuser]
|
|
2439
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2440
2440
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2441
2441
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2442
2442
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2444,16 +2444,16 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2444
2444
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2445
2445
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2446
2446
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProductCategoryOutput>} and HTTP response
|
|
2447
|
-
*/},{key:"listStripeProductCategoriesWithHttpInfo",value:function listStripeProductCategoriesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductCategoryOutput["default"]];return this.apiClient.callApi('/payments/stripe/product-category','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2447
|
+
*/},{key:"listStripeProductCategoriesWithHttpInfo",value:function listStripeProductCategoriesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductCategoryOutput["default"]];return this.apiClient.callApi('/payments/stripe/product-category','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2448
2448
|
* Lists all product categories
|
|
2449
2449
|
* Retrieves all product categories scoped to the current ApplicationRoot
|
|
2450
2450
|
* @param {Object} opts Optional parameters
|
|
2451
2451
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2452
2452
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2453
|
-
* @param {String} opts.cachegroup
|
|
2453
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2454
2454
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2455
2455
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2456
|
-
* @param {String} opts.cacheuser
|
|
2456
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2457
2457
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2458
2458
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2459
2459
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2467,10 +2467,10 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2467
2467
|
* @param {Object} opts Optional parameters
|
|
2468
2468
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2469
2469
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2470
|
-
* @param {String} [cachegroup]
|
|
2470
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2471
2471
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2472
2472
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2473
|
-
* @param {String} [cacheuser]
|
|
2473
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2474
2474
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2475
2475
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2476
2476
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2478,16 +2478,16 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2478
2478
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2479
2479
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2480
2480
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProductOutput>} and HTTP response
|
|
2481
|
-
*/},{key:"listStripeProductsWithHttpInfo",value:function listStripeProductsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductOutput["default"]];return this.apiClient.callApi('/payments/stripe/product','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2481
|
+
*/},{key:"listStripeProductsWithHttpInfo",value:function listStripeProductsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductOutput["default"]];return this.apiClient.callApi('/payments/stripe/product','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2482
2482
|
* Lists all products
|
|
2483
2483
|
* Retrieves all products
|
|
2484
2484
|
* @param {Object} opts Optional parameters
|
|
2485
2485
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2486
2486
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2487
|
-
* @param {String} opts.cachegroup
|
|
2487
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2488
2488
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2489
2489
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2490
|
-
* @param {String} opts.cacheuser
|
|
2490
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2491
2491
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2492
2492
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2493
2493
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2501,10 +2501,10 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2501
2501
|
* @param {Object} opts Optional parameters
|
|
2502
2502
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2503
2503
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2504
|
-
* @param {String} [cachegroup]
|
|
2504
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2505
2505
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2506
2506
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2507
|
-
* @param {String} [cacheuser]
|
|
2507
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2508
2508
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2509
2509
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2510
2510
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2522,16 +2522,16 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2522
2522
|
* @param {Number} [customerId] Optional graph customer ID to filter by payer
|
|
2523
2523
|
* @param {Number} [limit] Max items (1-100, default 100)
|
|
2524
2524
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TransactionOutput>} and HTTP response
|
|
2525
|
-
*/},{key:"listStripeTransactionsWithHttpInfo",value:function listStripeTransactionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys'],'invoiceId':opts['invoiceId'],'userId':opts['userId'],'pageId':opts['pageId'],'applicationId':opts['applicationId'],'applicationType':opts['applicationType'],'productGraphId':opts['productGraphId'],'productStripeId':opts['productStripeId'],'stripeAccountId':opts['stripeAccountId'],'customerId':opts['customerId'],'limit':opts['limit']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_TransactionOutput["default"]];return this.apiClient.callApi('/payments/stripe/transactions','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2525
|
+
*/},{key:"listStripeTransactionsWithHttpInfo",value:function listStripeTransactionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'invoiceId':opts['invoiceId'],'userId':opts['userId'],'pageId':opts['pageId'],'applicationId':opts['applicationId'],'applicationType':opts['applicationType'],'productGraphId':opts['productGraphId'],'productStripeId':opts['productStripeId'],'stripeAccountId':opts['stripeAccountId'],'customerId':opts['customerId'],'limit':opts['limit']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_TransactionOutput["default"]];return this.apiClient.callApi('/payments/stripe/transactions','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2526
2526
|
* List payment transactions
|
|
2527
2527
|
* Lists payment transactions (from graph). Filter by invoiceId, userId, pageId, applicationId+applicationType, stripeAccountId, productGraphId/productStripeId, or customerId. Precedence: invoiceId > userId > pageId > stripeAccountId > application > product > customerId > all. Requires MANAGE_SALES_OR_CUSTOMERS when listing all or using invoice/product/stripeAccount/page/application filters; userId allows own user.
|
|
2528
2528
|
* @param {Object} opts Optional parameters
|
|
2529
2529
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2530
2530
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2531
|
-
* @param {String} opts.cachegroup
|
|
2531
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2532
2532
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2533
2533
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2534
|
-
* @param {String} opts.cacheuser
|
|
2534
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2535
2535
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2536
2536
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2537
2537
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2557,10 +2557,10 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2557
2557
|
* @param {Object} opts Optional parameters
|
|
2558
2558
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2559
2559
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2560
|
-
* @param {String} [cachegroup]
|
|
2560
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2561
2561
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2562
2562
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2563
|
-
* @param {String} [cacheuser]
|
|
2563
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2564
2564
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2565
2565
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2566
2566
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2570,7 +2570,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2570
2570
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PayoutResponse} and HTTP response
|
|
2571
2571
|
*/},{key:"payoutStripeAccountWithHttpInfo",value:function payoutStripeAccountWithHttpInfo(accountID,payoutInput,opts){opts=opts||{};var postBody=payoutInput;// verify the required parameter 'accountID' is set
|
|
2572
2572
|
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling payoutStripeAccount");}// verify the required parameter 'payoutInput' is set
|
|
2573
|
-
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling payoutStripeAccount");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2573
|
+
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling payoutStripeAccount");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2574
2574
|
* Pays out the specified account
|
|
2575
2575
|
* Pays out the specified account
|
|
2576
2576
|
* @param {Number} accountID The id of the account we are paying out
|
|
@@ -2578,10 +2578,10 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2578
2578
|
* @param {Object} opts Optional parameters
|
|
2579
2579
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2580
2580
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2581
|
-
* @param {String} opts.cachegroup
|
|
2581
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2582
2582
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2583
2583
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2584
|
-
* @param {String} opts.cacheuser
|
|
2584
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2585
2585
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2586
2586
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2587
2587
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2597,10 +2597,10 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2597
2597
|
* @param {Object} opts Optional parameters
|
|
2598
2598
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2599
2599
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2600
|
-
* @param {String} [cachegroup]
|
|
2600
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2601
2601
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2602
2602
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2603
|
-
* @param {String} [cacheuser]
|
|
2603
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2604
2604
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2605
2605
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2606
2606
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2610,7 +2610,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2610
2610
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
2611
2611
|
*/},{key:"removeStripeInvoiceLineItemWithHttpInfo",value:function removeStripeInvoiceLineItemWithHttpInfo(invoiceId,lineItemId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
2612
2612
|
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling removeStripeInvoiceLineItem");}// verify the required parameter 'lineItemId' is set
|
|
2613
|
-
if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the required parameter 'lineItemId' when calling removeStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2613
|
+
if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the required parameter 'lineItemId' when calling removeStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2614
2614
|
* Removes a line item from a draft invoice
|
|
2615
2615
|
* Removes a line item from a draft invoice. Only draft invoices can be edited.
|
|
2616
2616
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -2618,10 +2618,10 @@ if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the requi
|
|
|
2618
2618
|
* @param {Object} opts Optional parameters
|
|
2619
2619
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2620
2620
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2621
|
-
* @param {String} opts.cachegroup
|
|
2621
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2622
2622
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2623
2623
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2624
|
-
* @param {String} opts.cacheuser
|
|
2624
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2625
2625
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2626
2626
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2627
2627
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2636,10 +2636,10 @@ if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the requi
|
|
|
2636
2636
|
* @param {Object} opts Optional parameters
|
|
2637
2637
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2638
2638
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2639
|
-
* @param {String} [cachegroup]
|
|
2639
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2640
2640
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2641
2641
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2642
|
-
* @param {String} [cacheuser]
|
|
2642
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2643
2643
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2644
2644
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2645
2645
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2648,17 +2648,17 @@ if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the requi
|
|
|
2648
2648
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2649
2649
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
2650
2650
|
*/},{key:"resumeStripeSubscriptionWithHttpInfo",value:function resumeStripeSubscriptionWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
2651
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/resume','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2651
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/resume','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2652
2652
|
* Resumes a subscription
|
|
2653
2653
|
* Resumes a subscription that was set to cancel at period end
|
|
2654
2654
|
* @param {String} subscriptionId The subscription ID
|
|
2655
2655
|
* @param {Object} opts Optional parameters
|
|
2656
2656
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2657
2657
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2658
|
-
* @param {String} opts.cachegroup
|
|
2658
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2659
2659
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2660
2660
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2661
|
-
* @param {String} opts.cacheuser
|
|
2661
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2662
2662
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2663
2663
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2664
2664
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2673,10 +2673,10 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2673
2673
|
* @param {Object} opts Optional parameters
|
|
2674
2674
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2675
2675
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2676
|
-
* @param {String} [cachegroup]
|
|
2676
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2677
2677
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2678
2678
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2679
|
-
* @param {String} [cacheuser]
|
|
2679
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2680
2680
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2681
2681
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2682
2682
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2685,17 +2685,17 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2685
2685
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2686
2686
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
2687
2687
|
*/},{key:"sendStripeInvoiceWithHttpInfo",value:function sendStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
2688
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling sendStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/send','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2688
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling sendStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/send','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2689
2689
|
* Sends an invoice to the customer
|
|
2690
2690
|
* Sends an open invoice to the customer by email
|
|
2691
2691
|
* @param {String} invoiceId Stripe invoice ID
|
|
2692
2692
|
* @param {Object} opts Optional parameters
|
|
2693
2693
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2694
2694
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2695
|
-
* @param {String} opts.cachegroup
|
|
2695
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2696
2696
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2697
2697
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2698
|
-
* @param {String} opts.cacheuser
|
|
2698
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2699
2699
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2700
2700
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2701
2701
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2711,10 +2711,10 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
2711
2711
|
* @param {Object} opts Optional parameters
|
|
2712
2712
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2713
2713
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2714
|
-
* @param {String} [cachegroup]
|
|
2714
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2715
2715
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2716
2716
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2717
|
-
* @param {String} [cacheuser]
|
|
2717
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2718
2718
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2719
2719
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2720
2720
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2724,7 +2724,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
2724
2724
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
2725
2725
|
*/},{key:"setApplicationStripePaymentAccountWithHttpInfo",value:function setApplicationStripePaymentAccountWithHttpInfo(applicationid,accountid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'applicationid' is set
|
|
2726
2726
|
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling setApplicationStripePaymentAccount");}// verify the required parameter 'accountid' is set
|
|
2727
|
-
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2727
|
+
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2728
2728
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2729
2729
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2730
2730
|
* @param {Number} applicationid
|
|
@@ -2732,10 +2732,10 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2732
2732
|
* @param {Object} opts Optional parameters
|
|
2733
2733
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2734
2734
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2735
|
-
* @param {String} opts.cachegroup
|
|
2735
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2736
2736
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2737
2737
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2738
|
-
* @param {String} opts.cacheuser
|
|
2738
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2739
2739
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2740
2740
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2741
2741
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2751,10 +2751,10 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2751
2751
|
* @param {Object} opts Optional parameters
|
|
2752
2752
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2753
2753
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2754
|
-
* @param {String} [cachegroup]
|
|
2754
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2755
2755
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2756
2756
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2757
|
-
* @param {String} [cacheuser]
|
|
2757
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2758
2758
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2759
2759
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2760
2760
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2764,7 +2764,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2764
2764
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
2765
2765
|
*/},{key:"setDefaultCustomerStripePaymentMethodWithHttpInfo",value:function setDefaultCustomerStripePaymentMethodWithHttpInfo(customerID,body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'customerID' is set
|
|
2766
2766
|
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling setDefaultCustomerStripePaymentMethod");}// verify the required parameter 'body' is set
|
|
2767
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2767
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2768
2768
|
* Adds payment methods for the customer stored in stripe
|
|
2769
2769
|
* Retrieves the payment methods for the customer stored in stripe
|
|
2770
2770
|
* @param {Number} customerID The id of the customer
|
|
@@ -2772,10 +2772,10 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2772
2772
|
* @param {Object} opts Optional parameters
|
|
2773
2773
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2774
2774
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2775
|
-
* @param {String} opts.cachegroup
|
|
2775
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2776
2776
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2777
2777
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2778
|
-
* @param {String} opts.cacheuser
|
|
2778
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2779
2779
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2780
2780
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2781
2781
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2790,10 +2790,10 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2790
2790
|
* @param {Object} opts Optional parameters
|
|
2791
2791
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2792
2792
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2793
|
-
* @param {String} [cachegroup]
|
|
2793
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2794
2794
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2795
2795
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2796
|
-
* @param {String} [cacheuser]
|
|
2796
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2797
2797
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2798
2798
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2799
2799
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2802,17 +2802,17 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2802
2802
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2803
2803
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
2804
2804
|
*/},{key:"setDefaultStripePaymentMethodWithHttpInfo",value:function setDefaultStripePaymentMethodWithHttpInfo(body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'body' is set
|
|
2805
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2805
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2806
2806
|
* Sets the default payment method for the customer stored in stripe
|
|
2807
2807
|
* Retrieves the payment methods for the customer stored in stripe
|
|
2808
2808
|
* @param {String} body The id of the payment method
|
|
2809
2809
|
* @param {Object} opts Optional parameters
|
|
2810
2810
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2811
2811
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2812
|
-
* @param {String} opts.cachegroup
|
|
2812
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2813
2813
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2814
2814
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2815
|
-
* @param {String} opts.cacheuser
|
|
2815
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2816
2816
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2817
2817
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2818
2818
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2828,10 +2828,10 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2828
2828
|
* @param {Object} opts Optional parameters
|
|
2829
2829
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2830
2830
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2831
|
-
* @param {String} [cachegroup]
|
|
2831
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2832
2832
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2833
2833
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2834
|
-
* @param {String} [cacheuser]
|
|
2834
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2835
2835
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2836
2836
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2837
2837
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2841,7 +2841,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2841
2841
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
2842
2842
|
*/},{key:"setSiteStripePaymentAccountWithHttpInfo",value:function setSiteStripePaymentAccountWithHttpInfo(siteid,accountid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'siteid' is set
|
|
2843
2843
|
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling setSiteStripePaymentAccount");}// verify the required parameter 'accountid' is set
|
|
2844
|
-
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setSiteStripePaymentAccount");}var pathParams={'siteid':siteid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2844
|
+
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setSiteStripePaymentAccount");}var pathParams={'siteid':siteid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2845
2845
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2846
2846
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2847
2847
|
* @param {Number} siteid
|
|
@@ -2849,10 +2849,10 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2849
2849
|
* @param {Object} opts Optional parameters
|
|
2850
2850
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2851
2851
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2852
|
-
* @param {String} opts.cachegroup
|
|
2852
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2853
2853
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2854
2854
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2855
|
-
* @param {String} opts.cacheuser
|
|
2855
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2856
2856
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2857
2857
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2858
2858
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2868,10 +2868,10 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2868
2868
|
* @param {Object} opts Optional parameters
|
|
2869
2869
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2870
2870
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2871
|
-
* @param {String} [cachegroup]
|
|
2871
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2872
2872
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2873
2873
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2874
|
-
* @param {String} [cacheuser]
|
|
2874
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2875
2875
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2876
2876
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2877
2877
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2881,7 +2881,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2881
2881
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
2882
2882
|
*/},{key:"setStripeProductCategoryParentWithHttpInfo",value:function setStripeProductCategoryParentWithHttpInfo(categoryId,requestBody,opts){opts=opts||{};var postBody=requestBody;// verify the required parameter 'categoryId' is set
|
|
2883
2883
|
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling setStripeProductCategoryParent");}// verify the required parameter 'requestBody' is set
|
|
2884
|
-
if(requestBody===undefined||requestBody===null){throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2884
|
+
if(requestBody===undefined||requestBody===null){throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2885
2885
|
* Sets or removes parent category
|
|
2886
2886
|
* Sets the parent category for a category, or removes the parent if parentCategoryId is null
|
|
2887
2887
|
* @param {Number} categoryId The category ID
|
|
@@ -2889,10 +2889,10 @@ if(requestBody===undefined||requestBody===null){throw new Error("Missing the req
|
|
|
2889
2889
|
* @param {Object} opts Optional parameters
|
|
2890
2890
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2891
2891
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2892
|
-
* @param {String} opts.cachegroup
|
|
2892
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2893
2893
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2894
2894
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2895
|
-
* @param {String} opts.cacheuser
|
|
2895
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2896
2896
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2897
2897
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2898
2898
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2907,10 +2907,10 @@ if(requestBody===undefined||requestBody===null){throw new Error("Missing the req
|
|
|
2907
2907
|
* @param {Object} opts Optional parameters
|
|
2908
2908
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2909
2909
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2910
|
-
* @param {String} [cachegroup]
|
|
2910
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2911
2911
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2912
2912
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2913
|
-
* @param {String} [cacheuser]
|
|
2913
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2914
2914
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2915
2915
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2916
2916
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2919,17 +2919,17 @@ if(requestBody===undefined||requestBody===null){throw new Error("Missing the req
|
|
|
2919
2919
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2920
2920
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PayoutResponse} and HTTP response
|
|
2921
2921
|
*/},{key:"stripePayoutWithHttpInfo",value:function stripePayoutWithHttpInfo(payoutInput,opts){opts=opts||{};var postBody=payoutInput;// verify the required parameter 'payoutInput' is set
|
|
2922
|
-
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling stripePayout");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2922
|
+
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling stripePayout");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2923
2923
|
* Pays out the account of the logged in user
|
|
2924
2924
|
* Pays out the account of the logged in user
|
|
2925
2925
|
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
2926
2926
|
* @param {Object} opts Optional parameters
|
|
2927
2927
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2928
2928
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2929
|
-
* @param {String} opts.cachegroup
|
|
2929
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2930
2930
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2931
2931
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2932
|
-
* @param {String} opts.cacheuser
|
|
2932
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2933
2933
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2934
2934
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2935
2935
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2944,10 +2944,10 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2944
2944
|
* @param {Object} opts Optional parameters
|
|
2945
2945
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2946
2946
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2947
|
-
* @param {String} [cachegroup]
|
|
2947
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2948
2948
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2949
2949
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2950
|
-
* @param {String} [cacheuser]
|
|
2950
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2951
2951
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2952
2952
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2953
2953
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2956,17 +2956,17 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2956
2956
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2957
2957
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
2958
2958
|
*/},{key:"stripeTransferWithHttpInfo",value:function stripeTransferWithHttpInfo(transferInput,opts){opts=opts||{};var postBody=transferInput;// verify the required parameter 'transferInput' is set
|
|
2959
|
-
if(transferInput===undefined||transferInput===null){throw new Error("Missing the required parameter 'transferInput' when calling stripeTransfer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2959
|
+
if(transferInput===undefined||transferInput===null){throw new Error("Missing the required parameter 'transferInput' when calling stripeTransfer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2960
2960
|
* Sends a transfer payment from the logged in user to the recipient specified in the TransferInput
|
|
2961
2961
|
* Sends a transfer payment from the logged in user to the recipient specified in the TransferInput
|
|
2962
2962
|
* @param {module:model/TransferInput} transferInput Contains the info to create the Transfer
|
|
2963
2963
|
* @param {Object} opts Optional parameters
|
|
2964
2964
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2965
2965
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2966
|
-
* @param {String} opts.cachegroup
|
|
2966
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2967
2967
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2968
2968
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2969
|
-
* @param {String} opts.cacheuser
|
|
2969
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2970
2970
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2971
2971
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2972
2972
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2980,10 +2980,10 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
2980
2980
|
* @param {Object} opts Optional parameters
|
|
2981
2981
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
2982
2982
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
2983
|
-
* @param {String} [cachegroup]
|
|
2983
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
2984
2984
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2985
2985
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2986
|
-
* @param {String} [cacheuser]
|
|
2986
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2987
2987
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
2988
2988
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2989
2989
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -2993,16 +2993,16 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
2993
2993
|
* @param {Number} [siteId] Optional site id. At most one of siteId or appId may be provided.
|
|
2994
2994
|
* @param {Number} [appId] Optional application id. At most one of siteId or appId may be provided.
|
|
2995
2995
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeTenantConfigResponse} and HTTP response
|
|
2996
|
-
*/},{key:"testTenantStripeConnectionWithHttpInfo",value:function testTenantStripeConnectionWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config/test','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2996
|
+
*/},{key:"testTenantStripeConnectionWithHttpInfo",value:function testTenantStripeConnectionWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config/test','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2997
2997
|
* Test Stripe connection for tenant
|
|
2998
2998
|
* Tests the Stripe configuration for a tenant. Requires CATEGORY_ADMIN on the target tenant. Optional siteId or appId (at most one) identify the tenant; if omitted, the request root is used.
|
|
2999
2999
|
* @param {Object} opts Optional parameters
|
|
3000
3000
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3001
3001
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3002
|
-
* @param {String} opts.cachegroup
|
|
3002
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3003
3003
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3004
3004
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3005
|
-
* @param {String} opts.cacheuser
|
|
3005
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3006
3006
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3007
3007
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3008
3008
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3020,10 +3020,10 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
3020
3020
|
* @param {Object} opts Optional parameters
|
|
3021
3021
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3022
3022
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3023
|
-
* @param {String} [cachegroup]
|
|
3023
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3024
3024
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3025
3025
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3026
|
-
* @param {String} [cacheuser]
|
|
3026
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3027
3027
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3028
3028
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3029
3029
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3033,7 +3033,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
3033
3033
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
3034
3034
|
*/},{key:"updateAccountLinkWithHttpInfo",value:function updateAccountLinkWithHttpInfo(accountID,createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'accountID' is set
|
|
3035
3035
|
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling updateAccountLink");}// verify the required parameter 'createStripeAccountInput' is set
|
|
3036
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling updateAccountLink");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3036
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling updateAccountLink");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3037
3037
|
* Creates an Account Link which enables the user to update their Stripe account details
|
|
3038
3038
|
* Creates an Account Link which enables the user to update their Stripe account details
|
|
3039
3039
|
* @param {Number} accountID The accountid to update
|
|
@@ -3041,10 +3041,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
3041
3041
|
* @param {Object} opts Optional parameters
|
|
3042
3042
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3043
3043
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3044
|
-
* @param {String} opts.cachegroup
|
|
3044
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3045
3045
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3046
3046
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3047
|
-
* @param {String} opts.cacheuser
|
|
3047
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3048
3048
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3049
3049
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3050
3050
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3060,10 +3060,10 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
3060
3060
|
* @param {Object} opts Optional parameters
|
|
3061
3061
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3062
3062
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3063
|
-
* @param {String} [cachegroup]
|
|
3063
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3064
3064
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3065
3065
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3066
|
-
* @param {String} [cacheuser]
|
|
3066
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3067
3067
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3068
3068
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3069
3069
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3073,7 +3073,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
3073
3073
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
3074
3074
|
*/},{key:"updateCustomerWithHttpInfo",value:function updateCustomerWithHttpInfo(customerID,createStripeCustomerInput,opts){opts=opts||{};var postBody=createStripeCustomerInput;// verify the required parameter 'customerID' is set
|
|
3075
3075
|
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling updateCustomer");}// verify the required parameter 'createStripeCustomerInput' is set
|
|
3076
|
-
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling updateCustomer");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3076
|
+
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling updateCustomer");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3077
3077
|
* Updates the customer account and returns a client secret to enable user to update their details on Stripe
|
|
3078
3078
|
* Creates a client secret to enable user to update their Stripe details
|
|
3079
3079
|
* @param {Number} customerID The customerid to update
|
|
@@ -3081,10 +3081,10 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
3081
3081
|
* @param {Object} opts Optional parameters
|
|
3082
3082
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3083
3083
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3084
|
-
* @param {String} opts.cachegroup
|
|
3084
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3085
3085
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3086
3086
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3087
|
-
* @param {String} opts.cacheuser
|
|
3087
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3088
3088
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3089
3089
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3090
3090
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3100,10 +3100,10 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
3100
3100
|
* @param {Object} opts Optional parameters
|
|
3101
3101
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3102
3102
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3103
|
-
* @param {String} [cachegroup]
|
|
3103
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3104
3104
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3105
3105
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3106
|
-
* @param {String} [cacheuser]
|
|
3106
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3107
3107
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3108
3108
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3109
3109
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3113,7 +3113,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
3113
3113
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
|
|
3114
3114
|
*/},{key:"updatePriceWithHttpInfo",value:function updatePriceWithHttpInfo(priceId,priceInput,opts){opts=opts||{};var postBody=priceInput;// verify the required parameter 'priceId' is set
|
|
3115
3115
|
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling updatePrice");}// verify the required parameter 'priceInput' is set
|
|
3116
|
-
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3116
|
+
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3117
3117
|
* Updates a price
|
|
3118
3118
|
* Updates an existing price (only active status and metadata can be updated)
|
|
3119
3119
|
* @param {String} priceId The price ID
|
|
@@ -3121,10 +3121,10 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
3121
3121
|
* @param {Object} opts Optional parameters
|
|
3122
3122
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3123
3123
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3124
|
-
* @param {String} opts.cachegroup
|
|
3124
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3125
3125
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3126
3126
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3127
|
-
* @param {String} opts.cacheuser
|
|
3127
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3128
3128
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3129
3129
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3130
3130
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3141,10 +3141,10 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
3141
3141
|
* @param {Object} opts Optional parameters
|
|
3142
3142
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3143
3143
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3144
|
-
* @param {String} [cachegroup]
|
|
3144
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3145
3145
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3146
3146
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3147
|
-
* @param {String} [cacheuser]
|
|
3147
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3148
3148
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3149
3149
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3150
3150
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3155,7 +3155,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
3155
3155
|
*/},{key:"updateStripeInvoiceLineItemWithHttpInfo",value:function updateStripeInvoiceLineItemWithHttpInfo(invoiceId,lineItemId,invoiceLineItemInput,opts){opts=opts||{};var postBody=invoiceLineItemInput;// verify the required parameter 'invoiceId' is set
|
|
3156
3156
|
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling updateStripeInvoiceLineItem");}// verify the required parameter 'lineItemId' is set
|
|
3157
3157
|
if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the required parameter 'lineItemId' when calling updateStripeInvoiceLineItem");}// verify the required parameter 'invoiceLineItemInput' is set
|
|
3158
|
-
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling updateStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','PATCH',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3158
|
+
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling updateStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','PATCH',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3159
3159
|
* Updates a line item quantity on a draft invoice
|
|
3160
3160
|
* Updates the quantity of a line item on a draft invoice. Only draft invoices can be edited.
|
|
3161
3161
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -3164,10 +3164,10 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
3164
3164
|
* @param {Object} opts Optional parameters
|
|
3165
3165
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3166
3166
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3167
|
-
* @param {String} opts.cachegroup
|
|
3167
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3168
3168
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3169
3169
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3170
|
-
* @param {String} opts.cacheuser
|
|
3170
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3171
3171
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3172
3172
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3173
3173
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3182,10 +3182,10 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
3182
3182
|
* @param {Object} opts Optional parameters
|
|
3183
3183
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3184
3184
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3185
|
-
* @param {String} [cachegroup]
|
|
3185
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3186
3186
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3187
3187
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3188
|
-
* @param {String} [cacheuser]
|
|
3188
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3189
3189
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3190
3190
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3191
3191
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3195,17 +3195,17 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
3195
3195
|
* @param {module:model/PaymentMethodInput} [paymentMethodInput] The payment method data
|
|
3196
3196
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
3197
3197
|
*/},{key:"updateStripePaymentMethodWithHttpInfo",value:function updateStripePaymentMethodWithHttpInfo(paymentMethodID,opts){opts=opts||{};var postBody=opts['paymentMethodInput'];// verify the required parameter 'paymentMethodID' is set
|
|
3198
|
-
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3198
|
+
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3199
3199
|
* Adds payment methods for the customer stored in stripe
|
|
3200
3200
|
* Retrieves the payment methods for the customer stored in stripe
|
|
3201
3201
|
* @param {String} paymentMethodID The id of the payment method to update
|
|
3202
3202
|
* @param {Object} opts Optional parameters
|
|
3203
3203
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3204
3204
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3205
|
-
* @param {String} opts.cachegroup
|
|
3205
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3206
3206
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3207
3207
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3208
|
-
* @param {String} opts.cacheuser
|
|
3208
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3209
3209
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3210
3210
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3211
3211
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3222,10 +3222,10 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
3222
3222
|
* @param {Object} opts Optional parameters
|
|
3223
3223
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3224
3224
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3225
|
-
* @param {String} [cachegroup]
|
|
3225
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3226
3226
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3227
3227
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3228
|
-
* @param {String} [cacheuser]
|
|
3228
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3229
3229
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3230
3230
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3231
3231
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3235,7 +3235,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
3235
3235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PricebookResponse} and HTTP response
|
|
3236
3236
|
*/},{key:"updateStripePricebookWithHttpInfo",value:function updateStripePricebookWithHttpInfo(id,pricebookInput,opts){opts=opts||{};var postBody=pricebookInput;// verify the required parameter 'id' is set
|
|
3237
3237
|
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling updateStripePricebook");}// verify the required parameter 'pricebookInput' is set
|
|
3238
|
-
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling updateStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{id}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3238
|
+
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling updateStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{id}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3239
3239
|
* Updates a pricebook
|
|
3240
3240
|
* Updates an existing pricebook
|
|
3241
3241
|
* @param {Number} id The pricebook ID
|
|
@@ -3243,10 +3243,10 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
3243
3243
|
* @param {Object} opts Optional parameters
|
|
3244
3244
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3245
3245
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3246
|
-
* @param {String} opts.cachegroup
|
|
3246
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3247
3247
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3248
3248
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3249
|
-
* @param {String} opts.cacheuser
|
|
3249
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3250
3250
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3251
3251
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3252
3252
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3262,10 +3262,10 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
3262
3262
|
* @param {Object} opts Optional parameters
|
|
3263
3263
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3264
3264
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3265
|
-
* @param {String} [cachegroup]
|
|
3265
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3266
3266
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3267
3267
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3268
|
-
* @param {String} [cacheuser]
|
|
3268
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3269
3269
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3270
3270
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3271
3271
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3275,7 +3275,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
3275
3275
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
3276
3276
|
*/},{key:"updateStripeProductWithHttpInfo",value:function updateStripeProductWithHttpInfo(productId,productInput,opts){opts=opts||{};var postBody=productInput;// verify the required parameter 'productId' is set
|
|
3277
3277
|
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling updateStripeProduct");}// verify the required parameter 'productInput' is set
|
|
3278
|
-
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3278
|
+
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3279
3279
|
* Updates a product
|
|
3280
3280
|
* Updates an existing product
|
|
3281
3281
|
* @param {String} productId The product ID
|
|
@@ -3283,10 +3283,10 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
3283
3283
|
* @param {Object} opts Optional parameters
|
|
3284
3284
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3285
3285
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3286
|
-
* @param {String} opts.cachegroup
|
|
3286
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3287
3287
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3288
3288
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3289
|
-
* @param {String} opts.cacheuser
|
|
3289
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3290
3290
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3291
3291
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3292
3292
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3302,10 +3302,10 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
3302
3302
|
* @param {Object} opts Optional parameters
|
|
3303
3303
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3304
3304
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3305
|
-
* @param {String} [cachegroup]
|
|
3305
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3306
3306
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3307
3307
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3308
|
-
* @param {String} [cacheuser]
|
|
3308
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3309
3309
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3310
3310
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3311
3311
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3315,7 +3315,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
3315
3315
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
3316
3316
|
*/},{key:"updateStripeProductCategoryWithHttpInfo",value:function updateStripeProductCategoryWithHttpInfo(categoryId,productCategoryInput,opts){opts=opts||{};var postBody=productCategoryInput;// verify the required parameter 'categoryId' is set
|
|
3317
3317
|
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling updateStripeProductCategory");}// verify the required parameter 'productCategoryInput' is set
|
|
3318
|
-
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3318
|
+
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3319
3319
|
* Updates a category
|
|
3320
3320
|
* Updates an existing category
|
|
3321
3321
|
* @param {Number} categoryId The category ID
|
|
@@ -3323,10 +3323,10 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
3323
3323
|
* @param {Object} opts Optional parameters
|
|
3324
3324
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3325
3325
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3326
|
-
* @param {String} opts.cachegroup
|
|
3326
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3327
3327
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3328
3328
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3329
|
-
* @param {String} opts.cacheuser
|
|
3329
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3330
3330
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3331
3331
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3332
3332
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3342,10 +3342,10 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
3342
3342
|
* @param {Object} opts Optional parameters
|
|
3343
3343
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3344
3344
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3345
|
-
* @param {String} [cachegroup]
|
|
3345
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3346
3346
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3347
3347
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3348
|
-
* @param {String} [cacheuser]
|
|
3348
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3349
3349
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3350
3350
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3351
3351
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3355,7 +3355,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
3355
3355
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
|
|
3356
3356
|
*/},{key:"updateStripeSubscriptionWithHttpInfo",value:function updateStripeSubscriptionWithHttpInfo(subscriptionId,subscriptionInput,opts){opts=opts||{};var postBody=subscriptionInput;// verify the required parameter 'subscriptionId' is set
|
|
3357
3357
|
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling updateStripeSubscription");}// verify the required parameter 'subscriptionInput' is set
|
|
3358
|
-
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3358
|
+
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3359
3359
|
* Updates a subscription
|
|
3360
3360
|
* Updates an existing subscription
|
|
3361
3361
|
* @param {String} subscriptionId The subscription ID
|
|
@@ -3363,10 +3363,10 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
3363
3363
|
* @param {Object} opts Optional parameters
|
|
3364
3364
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3365
3365
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3366
|
-
* @param {String} opts.cachegroup
|
|
3366
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3367
3367
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3368
3368
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3369
|
-
* @param {String} opts.cacheuser
|
|
3369
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3370
3370
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3371
3371
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3372
3372
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3381,10 +3381,10 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
3381
3381
|
* @param {Object} opts Optional parameters
|
|
3382
3382
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3383
3383
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3384
|
-
* @param {String} [cachegroup]
|
|
3384
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3385
3385
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3386
3386
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3387
|
-
* @param {String} [cacheuser]
|
|
3387
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3388
3388
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3389
3389
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3390
3390
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3395,17 +3395,17 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
3395
3395
|
* @param {Number} [appId] Optional application id. At most one of siteId or appId may be provided.
|
|
3396
3396
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeTenantConfigResponse} and HTTP response
|
|
3397
3397
|
*/},{key:"updateTenantStripeConfigWithHttpInfo",value:function updateTenantStripeConfigWithHttpInfo(stripeTenantConfigRequest,opts){opts=opts||{};var postBody=stripeTenantConfigRequest;// verify the required parameter 'stripeTenantConfigRequest' is set
|
|
3398
|
-
if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){throw new Error("Missing the required parameter 'stripeTenantConfigRequest' when calling updateTenantStripeConfig");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3398
|
+
if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){throw new Error("Missing the required parameter 'stripeTenantConfigRequest' when calling updateTenantStripeConfig");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3399
3399
|
* Update Stripe config for tenant
|
|
3400
3400
|
* Updates the Stripe configuration for a tenant. Requires CATEGORY_ADMIN on the target tenant (site, app, or root). Optional siteId or appId (at most one) identify the tenant; if omitted, the request root is used. All request fields are optional; only provided fields are updated.
|
|
3401
3401
|
* @param {module:model/StripeTenantConfigRequest} stripeTenantConfigRequest Stripe config fields to update (all optional). Request body is required.
|
|
3402
3402
|
* @param {Object} opts Optional parameters
|
|
3403
3403
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3404
3404
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3405
|
-
* @param {String} opts.cachegroup
|
|
3405
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3406
3406
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3407
3407
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3408
|
-
* @param {String} opts.cacheuser
|
|
3408
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3409
3409
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3410
3410
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3411
3411
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3422,10 +3422,10 @@ if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){thro
|
|
|
3422
3422
|
* @param {Object} opts Optional parameters
|
|
3423
3423
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
3424
3424
|
* @param {Number} [cacheduration] Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3425
|
-
* @param {String} [cachegroup]
|
|
3425
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3426
3426
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3427
3427
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3428
|
-
* @param {String} [cacheuser]
|
|
3428
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3429
3429
|
* @param {String} [invalidationkeys] JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3430
3430
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3431
3431
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
@@ -3434,17 +3434,17 @@ if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){thro
|
|
|
3434
3434
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3435
3435
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
3436
3436
|
*/},{key:"voidStripeInvoiceWithHttpInfo",value:function voidStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
3437
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling voidStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':opts['cachegroup'],'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':opts['cacheuser'],'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/void','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3437
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling voidStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/void','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3438
3438
|
* Voids a draft invoice
|
|
3439
3439
|
* Voids a draft invoice (Stripe's only way to cancel an invoice)
|
|
3440
3440
|
* @param {String} invoiceId Stripe invoice ID
|
|
3441
3441
|
* @param {Object} opts Optional parameters
|
|
3442
3442
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3443
3443
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
3444
|
-
* @param {String} opts.cachegroup
|
|
3444
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to. May be provided as repeated query params.
|
|
3445
3445
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3446
3446
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3447
|
-
* @param {String} opts.cacheuser
|
|
3447
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3448
3448
|
* @param {String} opts.invalidationkeys JSON array of cache invalidation descriptors processed by the REST cache filter on mutation requests.
|
|
3449
3449
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3450
3450
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|